TimescaleDB Optimizations TimescaleDB has a number of optimizations to improve performance of query execution. Skip scan optimize queries involving DISTINCT Gapfill supports gapfilling time-series using LOCF and interpolation