Time-Series Data with TimescaleDB
Intermediate · 35 minutes · 100 points
Learn how to work with time-series data using TimescaleDB, a PostgreSQL extension optimized for time-series workloads. You will install TimescaleDB, create hypertables, ingest time-series data, and run time-series specific queries including time_bucket aggregations and gap-filling.
What you’ll learn
- Start and configure a TimescaleDB instance with a dedicated database
- Create a regular PostgreSQL table and convert it into a TimescaleDB hypertable
- Ingest time-series sensor data and query it using time_bucket aggregations
- Use TimescaleDB continuous aggregates and gap-filling functions for advanced analytics
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: timescale/timescaledb:latest-pg14
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: timescaledb, postgresql, time-series, hypertable, continuous-aggregates, iot, analytics, sql
Create a free account to start this lab.