added report-disk command (#4444)
* added report-disk command * Update content/enterprise_influxdb/v1.10/tools/influx_inspect.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/enterprise_influxdb/v1.10/tools/influx_inspect.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/enterprise_influxdb/v1.10/tools/influx_inspect.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/enterprise_influxdb/v1.9/tools/influx_inspect.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> * Update content/enterprise_influxdb/v1.9/tools/influx_inspect.md Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>pull/4451/head
parent
572b415590
commit
960849b0de
|
@ -36,6 +36,7 @@ The `influx_inspect` commands are summarized here, with links to detailed inform
|
|||
* [`dumptsmwal`](#dumptsmwal): Dump all data from a WAL file.
|
||||
* [`export`](#export): Exports raw data from a shard in InfluxDB line protocol format.
|
||||
* [`report`](#report): Displays a shard level report.
|
||||
* [`report-disk`](#report-disk): Reports disk usage by shard and measurement.
|
||||
* [`reporttsi`](#reporttsi): Reports on cardinality for measurements and shards.
|
||||
* [`verify`](#verify): Verifies the integrity of TSM files.
|
||||
* [`verify-seriesfile`](#verify-seriesfile): Verifies the integrity of series files.
|
||||
|
@ -455,6 +456,26 @@ The flag to report exact cardinality counts instead of estimates.
|
|||
Default value is `false`.
|
||||
Note: This can use a lot of memory.
|
||||
|
||||
### `report-disk`
|
||||
|
||||
Use the `report-disk` command to review TSM file disk usage per shard and measurement in a specified directory. Useful for capacity planning and identifying which measurement or shard is using the most disk space. The default directory path `~/.influxdb/data/`.
|
||||
|
||||
Calculates the total disk size by database (`db`), retention policy (`rp`), shard (`shard`), tsm file (`tsm_file`), and measurement (`measurement`).
|
||||
|
||||
#### Syntax
|
||||
|
||||
```
|
||||
influx_inspect report-disk [ options ] <data_dir>
|
||||
```
|
||||
|
||||
#### Options
|
||||
|
||||
Optional arguments are in brackets.
|
||||
|
||||
##### [ `-detailed` ]
|
||||
|
||||
Report disk usage by measurement.
|
||||
|
||||
### `reporttsi`
|
||||
|
||||
The report does the following:
|
||||
|
|
|
@ -36,6 +36,7 @@ The `influx_inspect` commands are summarized here, with links to detailed inform
|
|||
* [`dumptsmwal`](#dumptsmwal): Dump all data from a WAL file.
|
||||
* [`export`](#export): Exports raw data from a shard in InfluxDB line protocol format.
|
||||
* [`report`](#report): Displays a shard level report.
|
||||
* [`report-disk`](#report-disk): Reports disk usage by shards and measurements.
|
||||
* [`reporttsi`](#reporttsi): Reports on cardinality for measurements and shards.
|
||||
* [`verify`](#verify): Verifies the integrity of TSM files.
|
||||
* [`verify-seriesfile`](#verify-seriesfile): Verifies the integrity of series files.
|
||||
|
@ -455,6 +456,26 @@ The flag to report exact cardinality counts instead of estimates.
|
|||
Default value is `false`.
|
||||
Note: This can use a lot of memory.
|
||||
|
||||
### `report-disk`
|
||||
|
||||
Use the `report-disk` command to review TSM file disk usage per shard and measurement in a specified directory. Useful for capacity planning and identifying which measurement or shard is using the most disk space. The default directory path `~/.influxdb/data/`.
|
||||
|
||||
Calculates the total disk size by database (`db`), retention policy (`rp`), shard (`shard`), tsm file (`tsm_file`), and measurement (`measurement`).
|
||||
|
||||
#### Syntax
|
||||
|
||||
```
|
||||
influx_inspect report-disk [ options ] <data_dir>
|
||||
```
|
||||
|
||||
#### Options
|
||||
|
||||
Optional arguments are in brackets.
|
||||
|
||||
##### [ `-detailed` ]
|
||||
|
||||
Report disk usage by measurement.
|
||||
|
||||
### `reporttsi`
|
||||
|
||||
The report does the following:
|
||||
|
|
Loading…
Reference in New Issue