Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 3.57 KB

README.md

File metadata and controls

23 lines (17 loc) · 3.57 KB

TimescaleDB Toolkit Documentation


The TimescaleDB Toolkit project contains a number of utilities for working with time-series data. This documentation is further broken down by utility or feature in the list below.

A note on tags

Functionality within the TimescaleDB Toolkit repository is intended to be introduced in varying stages of completeness. To clarify which releases a given feature or function can be found in, the following tags are used:

  • Experimental - Denotes functionality that is still under very active development and may have poor performance, not handle corner cases or errors, etc. Experimental APIs will change across releases, and extension-update will drop database objects that depend on experimental features. Do not use them unless you're willing to deal with the object you've created (the view, table, continuous aggregates, function, etc.) being dropped on update. This is particularly important for managed cloud services (like Timescale Cloud) that automate upgrades. Experimental features and functions can be found exclusively in the toolkit_experimental schema.
  • Stable release id - Functionality in this state should be correct and performant. Stable APIs will be found in our releases and should not be broken in future releases. Note that this tag will also be accompanied with the version in which the feature was originally released, such as: Feature Foostable-1.2.
  • Deprecated - It may be necessary to remove stable functionality at some point, for instance if it is being supplanted by newer functionality or if it has deprecated dependencies. Functionality with this tag is expected to be removed in future releases and current users of it should move to alternatives.

Note that tags can be applied at either a feature or function scope. The function tag takes precedence, but defaults to the feature scope if not present. For example, if we have a feature Foo which is tagged stable, we would assume that an untagged function FooCount within that feature would be present in the current beta release. However, if function FooSum were explicitly tagged experimental then we would only expect to find it in the nightly build.

Features

The following links lead to pages for the different features in the TimescaleDB Toolkit repository.

  • ASAP Smoothing experimental - A data smoothing algorithm designed to generate human readable graphs which maintain any erratic data behavior while smoothing away the cyclic noise.

  • Hyperloglog experimental – An approximate COUNT DISTINCT based on hashing that provides reasonable accuracy in constant space. (Methods)

  • LTTB experimental – A downsample method that preserves visual similarity. (Methods)

  • Percentile Approximation - A simple percentile approximation interface [(Methods)], wraps and simplifies the lower level algorithms:

    • T-Digest – A quantile estimate sketch optimized to provide more accurate estimates near the tails (i.e. 0.001 or 0.995) than conventional approaches. (Methods)
    • UddSketch – A quantile estimate sketch which provides a guaranteed maximum relative error. (Methods)