-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify influx_inspect to compute Cloud 2 cardinality #23356
Labels
Comments
4 tasks
davidby-influx
added a commit
that referenced
this issue
May 18, 2022
To ease migrations to Cloud 2 installations from 1.X databases, estimate Cloud 2 cardinality for a datanode (or OSS system). closes #23356
davidby-influx
added a commit
that referenced
this issue
May 23, 2022
To ease migrations to Cloud 2 installations from 1.X databases, estimate Cloud 2 cardinality for a datanode (or OSS system). closes #23356
davidby-influx
added a commit
that referenced
this issue
May 26, 2022
feat: estimate Cloud2 cardinality on 1.X databases To ease migrations to Cloud 2 installations from 1.X databases, estimate Cloud 2 cardinality for a data node (or OSS system). closes #23356
The salient difference between
|
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to assist migrations from 1.X installations, it would be helpful to have a tool to calculate Cloud 2 equivalent cardinality for a 1.X database.
Add a new command
influx_inspect report-db
that will correctly sum C2 cardinality for a 1.X database. This can be run for an OSS instance, or on each data node of an Enterprise cluster.Parameters are:
-db-path <database data directory>
-c <concurrency>
- defaults to 1-exact
uses an exact count instead of a hyperloglog estimator. Exact counts can be memory-intensive on large databases-detailed
prints cardinality for tags and fields as well-rollup <m|r|d|t>
rolls up and prints aggregates. m is measurement, the default, r is aggregated to retention policy, d is aggregated to database, t is fully aggregated to the total.Avoiding
-detailed
and-exact
and using a rollup aggregate liker
,d
, ort
reduces the memory requirements ofinflux-inspect report-db
significantly for large databases.Example output:
The text was updated successfully, but these errors were encountered: