Merge pull request #826 from influxdata/cli/compact-series-file
Added 'compact-series-file' commandpull/831/head
commit
98651d7d40
|
@ -16,18 +16,19 @@ influxd inspect [subcommand]
|
|||
```
|
||||
|
||||
## Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| [build-tsi](/v2.0/reference/cli/influxd/inspect/build-tsi/) | Rebuild the TSI index and series file. |
|
||||
| [dump-tsi](/v2.0/reference/cli/influxd/inspect/dump-tsi/) | Output low level TSI information |
|
||||
| [dumpwal](/v2.0/reference/cli/influxd/inspect/dumpwal/) | Output TSM data from WAL files |
|
||||
| [export-blocks](/v2.0/reference/cli/influxd/inspect/export-blocks/) | Export block data |
|
||||
| [export-index](/v2.0/reference/cli/influxd/inspect/export-index/) | Export TSI index data |
|
||||
| [report-tsi](/v2.0/reference/cli/influxd/inspect/report-tsi/) | Report the cardinality of TSI files |
|
||||
| [report-tsm](/v2.0/reference/cli/influxd/inspect/report-tsm/) | Run TSM report |
|
||||
| [verify-seriesfile](/v2.0/reference/cli/influxd/inspect/verify-seriesfile/) | Verify the integrity of series files |
|
||||
| [verify-tsm](/v2.0/reference/cli/influxd/inspect/verify-tsm/) | Check the consistency of TSM files |
|
||||
| [verify-wal](/v2.0/reference/cli/influxd/inspect/verify-wal/) | Check for corrupt WAL files |
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| [build-tsi](/v2.0/reference/cli/influxd/inspect/build-tsi/) | Rebuild the TSI index and series file |
|
||||
| [compact-series-file](/v2.0/reference/cli/influxd/inspect/compact-series-file) | Compact the series file |
|
||||
| [dump-tsi](/v2.0/reference/cli/influxd/inspect/dump-tsi/) | Output low level TSI information |
|
||||
| [dumpwal](/v2.0/reference/cli/influxd/inspect/dumpwal/) | Output TSM data from WAL files |
|
||||
| [export-blocks](/v2.0/reference/cli/influxd/inspect/export-blocks/) | Export block data |
|
||||
| [export-index](/v2.0/reference/cli/influxd/inspect/export-index/) | Export TSI index data |
|
||||
| [report-tsi](/v2.0/reference/cli/influxd/inspect/report-tsi/) | Report the cardinality of TSI files |
|
||||
| [report-tsm](/v2.0/reference/cli/influxd/inspect/report-tsm/) | Run TSM report |
|
||||
| [verify-seriesfile](/v2.0/reference/cli/influxd/inspect/verify-seriesfile/) | Verify the integrity of series files |
|
||||
| [verify-tsm](/v2.0/reference/cli/influxd/inspect/verify-tsm/) | Check the consistency of TSM files |
|
||||
| [verify-wal](/v2.0/reference/cli/influxd/inspect/verify-wal/) | Check for corrupt WAL files |
|
||||
|
||||
## Flags
|
||||
| Flag | Description |
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
title: influxd inspect compact-series-file
|
||||
description: >
|
||||
The `influxd inspect compact-series-file` command compacts the series file by
|
||||
removing deleted series.
|
||||
v2.0/tags: [inspect]
|
||||
menu:
|
||||
v2_0_ref:
|
||||
parent: influxd inspect
|
||||
weight: 301
|
||||
---
|
||||
|
||||
The `influxd inspect compact-series-file` command compacts the [series file](/v2.0/reference/glossary/#series-file)
|
||||
by removing deleted series.
|
||||
|
||||
## Usage
|
||||
```sh
|
||||
influxd inspect compact-series-file [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
| Flag | Description | Input Type |
|
||||
|:---- |:----------- |:----------:|
|
||||
| `--concurrency` | Number of workers to dedicate to compaction (default = `GOMAXPROCS`, max `8`) | integer |
|
||||
| `-h`, `--help` | Help for the `compact-series-file` command | |
|
||||
| `--sfile-path` | Path to the series file directory (default: `~/.influxdbv2/engine/_series`) | string |
|
||||
| `--tsi-path` | Path to the TSI index directory (default: `~/.influxdbv2/engine/index`) | string |
|
Loading…
Reference in New Issue