Time series database
A time series database (TSDB) is a type of database designed to store and query data that is recorded over time, such as sensor readings, server metrics, stock prices, or application logs with timestamps. It organizes data by time so that common operations—like retrieving recent values, computing trends, or aggregating
-
What is a time series database?
A time series database (TSDB) is a type of database designed to store and query data that is recorded over time, such as sensor readings, server metrics, stock prices, or application logs with timestamps. It organizes data by time so that common operations—like retrieving recent values, computing trends, or aggregating over windows (e.g., per minute or per hour)—are efficient.
-
Key features and how it’s used
TSDBs typically support high write throughput, compression for time-stamped data, and fast time-based queries. Many include built-in functions for aggregation (average, sum, min/max), downsampling (storing lower-resolution summaries), and retention policies (automatically keeping detailed data for a limited period). They’re often used in monitoring and observability stacks, where continuous measurements must be analyzed quickly and reliably.
-
Common query patterns
Typical queries include: (1) fetching a range of data between two timestamps, (2) grouping by time intervals (e.g., “last 5 minutes”), (3) filtering by tags or dimensions (e.g., host, region, device), and (4) calculating derived metrics (rates, percentiles, moving averages). Some TSDBs also support alerting rules based on thresholds or anomaly detection workflows.
Client endpoint
Generated pages, sitemap entries and statistics are isolated for peakedatabase.com.