Coder Social home page Coder Social logo

Add feature reporttsi about cnosdb HOT 1 CLOSED

cnosdb avatar cnosdb commented on May 22, 2024
Add feature reporttsi

from cnosdb.

Comments (1)

IvanGao01 avatar IvanGao01 commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.