Skip to content

Choosing the Right Storage Solution

Learn how to select the appropriate database for your time-series workload

Tiger Data 101 → TimescaleDB | Section: Working with Time-Series Data | ⏱ Time: ~2 min

You should consider a specialized time-series database when:

  • High write volume: Thousands to millions of writes per second
  • Append-only pattern: Data rarely or never updates once written
  • Large dataset: Terabytes to petabytes of data
  • Time-range queries: Most queries filter by time ranges, not entity IDs
  • Retention policies: You need automatic data lifecycle management (compression, downsampling, deletion)
  • Real-time analytics: You need fast aggregations over recent data
  • Small dataset: Gigabytes to low terabytes
  • Frequent updates: Data changes often after initial write
  • Entity lookups: Most queries search by ID or key, not time ranges
  • Complex transactions: You need ACID guarantees across multiple tables
  • Relational structure: Your data is highly normalized with many foreign keys
Note

Remember: TimescaleDB is a PostgreSQL extension, so you can use both storage patterns in the same database. Relational tables for your user and order data, hypertables for your metrics and events.


TimescaleDB is purpose-built for time-series data:

AspectStandard PostgreSQLTimescaleDB
Write throughputGood for moderate loadOptimized for millions/sec
StorageRow-basedRow and columnar (compression)
Time-range queriesSlower (full-table scans)Fast (time-partitioned chunks)
Lifecycle managementManualAutomatic policies
CompressionNot built-inNative columnstore compression
AggregationsResource-intensiveContinuous aggregates

Here's a simple decision tree to help you choose:

Do you have time-ordered data with high write volume?
├─ NO → Use standard PostgreSQL/MySQL
└─ YES
└─ Is it mostly append-only?
├─ NO → Use standard PostgreSQL/MySQL
└─ YES
└─ Do you need automatic lifecycle management?
├─ NO → Time-series storage can help, but not critical
└─ YES → Use TimescaleDB or a specialized TSDB

You've now mastered the fundamentals of time-series data! Next, you'll learn how TimescaleDB is built and the three core features that make it powerful:

  • Hypertables: Automatic time-based partitioning
  • Hypercore: Columnar storage and compression
  • Continuous Aggregates: Pre-computed rollups for fast queries

Test your understanding of time-series data concepts with this quiz. You'll get immediate feedback and resource recommendations for any questions you miss.

Knowledge Check

Question 1 of 4

A. Which of the following is NOT a characteristic of time-series data?