Merge pull request #826 from influxdata/cli/compact-series-file
Added 'compact-series-file' commandpull/831/head
commit
98651d7d40
content/v2.0/reference/cli/influxd/inspect
|
@ -18,7 +18,8 @@ influxd inspect [subcommand]
|
|||
## Subcommands
|
||||
| Subcommand | Description |
|
||||
|:---------- |:----------- |
|
||||
| [build-tsi](/v2.0/reference/cli/influxd/inspect/build-tsi/) | Rebuild the TSI index and series file. |
|
||||
| [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 |
|
||||
|
|
|
@ -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