Comments (1)
report-tsi
The report does the following:
Calculates the total exact series cardinality in the database.
Segments that cardinality by measurement, and emits those cardinality values.
Emits total exact cardinality for each shard in the database.
Segments for each shard the exact cardinality for each measurement in the shard.
Optionally limits the results in each shard to the “top n”.
The report-tsi command is primarily useful when there has been a change in cardinality and it’s not clear which measurement is responsible for this change, and further, when that change happened. Estimating an accurate cardinality breakdown for each measurement and for each shard will help answer those questions.
Syntax
cnosdb_inspect report-tsi --db-path [ options ]
Options
Optional arguments are in brackets.
--db-path
The path to the database.
[ --top ]
Limits the results to the top specified number within each shard.
Performance
The report-tsi command uses simple slice/maps to store low cardinality measurements, which saves on the cost of initializing bitmaps. For high cardinality measurements the tool uses roaring bitmaps, which means we don’t need to store all series IDs on the heap while running the tool. Conversion from low-cardinality to high-cardinality representations is done automatically while the tool runs.
from cnosdb.
Related Issues (20)
- [Bug] test_reselect_new_leader failed
- Creating an external table in the format of `ndjson` is invalid
- [BUG][COPY INTO] "Too many open files" occasionally appears when exporting HOT 5
- [DISCUSS]Is the current way of handling "division by zero calculation" reasonable?
- [BUG]Computing and storage separate deployment "show datanodes" don't show query node. HOT 1
- Error creating `placement_policy` using `singleton` mode
- [BUG][function][count]Calculate the number of tags, cnosdb process panic HOT 1
- [BUG]The data node "Unreachable" cannot be restored to "healthy" after
- [Bug][Doc] The information in the Infrastructure Storage Separation section of the documentation is outdated.
- query and insert very slow HOT 2
- [BUG]Container version 2.4 is upgraded to community-2024-02-19 data is incompatible HOT 2
- [bug]have wrong when using the `make build` command HOT 5
- [BUG]TSM file xxx size less than index offset xxx HOT 1
- [Doc][Bug]The official configuration document states that "cache" refers to the channel capacity size without units.
- [Doc][Bug] inconsistencies between the cluster in the configuration file and the actual community edition configuration
- [BUG] A role can be assigned read and write permissions to a non-existent db. HOT 1
- [BUG] The numbers of vnodeids found in usageschema and show vnode are inconsistent HOT 1
- tenant、database、owner meaningful confusion,Please use it in a standardized manner
- change del_tsf/add_tsf to enum in VersionEdit HOT 2
- [Bug] SQL insert failed with string value contains char `;` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cnosdb.