Knowledge Base: Queries

  • Look up all available timeseries

    Summary

    You want to look up all available timeseries in your QuasarDB cluster. QuasarDB allows for this by attaching tags to your timeseries upon creation and using the same tag to look them up at a later time.

    Solution

    To look up all available timeseries in your QuasarDB cluster, you are recommended to assign all of them the same tag. For example, when you attach the tag "store" to all your timeseries, you effectively create an index of all your timeseries. As an added benefit, it allows you to run queries and aggregates across all your timeseries, as described in

  • Aggregation of multiple timeseries

    Summary

    QuasarDB allows for aggregations of data stored in multiple timeseries in a single query by making use of Tags. This allows for concise and high-performance execution of aggregations. This article explains how to set up your data model in such a way to support this, and how to write queries that make use of this.

    Tags and Timeseries

    QuasarDB uses a concept called "Tags" for efficient indexing and querying of stored entities. Because timeseries in QuasarDB are just another entry type, we can leverage this for timeseries by providing tags upon construction.

    Note - tags apply to entire timeseries,