Databases · Senior · Question 42 of 75

How would you model time-series data, like metrics every second from 10,000 devices, in PostgreSQL?

Explanation

Time partitions make retention a cheap DROP. Continuous aggregates or materialized rollups keep dashboards fast.

Further reading

Problem with a question

Databases · Senior · question 42

Test yourself

Take the Databases · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz