influxdb3 manage cleanup-parquet
Use influxdb3 manage cleanup-parquet to permanently remove Parquet-era data that a completed storage engine upgrade (Parquet-to-PachaTree) left behind.
Any node in the cluster accepts the request, but the compactor node executes the cleanup.
This deletes data permanently
- Parquet files superseded by the PachaTree migration are deleted.
- The operation is irreversible.
- After cleanup,
influxdb3 manage downgrade-to-parquetis no longer possible.
Run with --dry-run first to see what a real cleanup would delete.
Usage
influxdb3 manage cleanup-parquet [OPTIONS]Options
| Option | Description | Default | Environment variable | |
|---|---|---|---|---|
--dry-run | Report what would be deleted without deleting anything | |||
--yes | Skip the confirmation prompt. Conflicts with --dry-run | |||
--wait | Poll every 5 seconds until the cleanup completes or fails. Exits non-zero on failure | |||
--status-only | Print the status of the current or last cleanup, then exit. Conflicts with --dry-run, --yes, and --wait | |||
-H | --host <HOST_URL> | InfluxDB 3 Enterprise server URL | http://127.0.0.1:8181 | INFLUXDB3_HOST_URL |
--token <AUTH_TOKEN> | Authentication token | INFLUXDB3_AUTH_TOKEN | ||
--tls-ca <CA_CERT> | Path to a custom TLS certificate authority | INFLUXDB3_TLS_CA | ||
--tls-no-verify | Disable TLS certificate verification | INFLUXDB3_TLS_NO_VERIFY | ||
-h | --help | Print help information |
Examples
Preview what a cleanup would delete
influxdb3 manage cleanup-parquet \
--host http://localhost:8181 \
--token AUTH_TOKEN \
--dry-runRun a cleanup and wait for it to finish
influxdb3 manage cleanup-parquet \
--host http://localhost:8181 \
--token AUTH_TOKEN \
--yes \
--waitCheck the status of the current or last cleanup
influxdb3 manage cleanup-parquet \
--host http://localhost:8181 \
--token AUTH_TOKEN \
--status-onlyWas this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB 3 Enterprise and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support. Customers using a trial license can email trial@influxdata.com for assistance.