Skip to content

Commit

Permalink
Update skipscan.md (#3781)
Browse files Browse the repository at this point in the history
Note for the explanation of Skip Scan selection criteria.

Signed-off-by: Anishtimescale <[email protected]>
Co-authored-by: Iain Cox <[email protected]>
  • Loading branch information
Anishtimescale and billy-the-fish committed Feb 4, 2025
1 parent d330d9e commit 5633407
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions use-timescale/query-data/skipscan.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ ordered index.
For benchmarking information on how SkipScan compares to regular `DISTINCT`
queries, see the [SkipScan blog post][blog-skipscan].

<Highlight type="note">
Skip scan is based on the ratio of distinct tuples to total tuples. If the number of distinct tuples is close to the total number of tuples, skip scan is unlikely to be chosen due to its higher estimated cost.
</Highlight>

## Use SkipScan queries

SkipScan is included in TimescaleDB&nbsp;2.2.1 and later. This section describes
Expand Down

0 comments on commit 5633407

Please sign in to comment.