Skip to content
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

Wrong Total Number of Series #31

Closed
avifreshthink opened this issue Sep 13, 2019 · 1 comment
Closed

Wrong Total Number of Series #31

avifreshthink opened this issue Sep 13, 2019 · 1 comment

Comments

@avifreshthink
Copy link

avifreshthink commented Sep 13, 2019

./inch -host http://localhost:8086 -t 2,2,3,3,3,3,3,3,3,3 -user abc -password abc-m 200 -p 1000000 -f 20

This should generate Total series: 5248800. But it is generating only 1312200.Show series cardinality on stress, Command is used.

@cmd-influx
Copy link

Your command will generate 26,244 series (223... as above).

The -t flag specifies the number of tags and the cardinality by using a comma-separated list of integers. For example, the value "100,20,4" means that 3 tag keys should be used. The first one has 100 values, the second one has 20 values, and the last one has 4 values. inch will insert a series for each combination of these values so the total number of series can be computed by multiplying the values (100 * 20 * 4).

As documented, a series is a retention policy, set of tags and a measure.

The fields specified in your command will not contribute to the series count.

Please drop database stress between each inch run. This will allow you to see the exact series counts. Without the drop between runs, series counts and cardinality will vary based on the commands you use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants