- Home
- Skills
- 2025emma
- Vibe Coding Cn
- Timescaledb
timescaledb_skill
- Python
10.3k
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill 2025emma/vibe-coding-cn --skill timescaledb- SKILL.md2.9 KB
Overview
This skill provides practical guidance for developing with TimescaleDB, the PostgreSQL extension optimized for time-series and event data. It highlights core features like hypertables, continuous aggregates, compression, and real-time analytics to help you design scalable, high-performance data pipelines. Use it to get actionable patterns, configuration tips, and example queries for common tasks.
How this skill works
The skill inspects TimescaleDB concepts and APIs and maps them to development and operational tasks, including schema design, hypertable creation, continuous aggregate setup, and compression rules. It surfaces code and CLI patterns, troubleshooting steps, and links to focused reference topics so you can implement features or resolve issues quickly. Use the included reference sections to dive into installation, performance tuning, and hyperfunctions when needed.
When to use it
- Designing time-series schemas or migrating event streams into PostgreSQL
- Creating and managing hypertables and continuous aggregates
- Implementing compression to reduce storage costs and improve query speed
- Tuning queries and indexes for high ingest rates and real-time analytics
- Debugging TimescaleDB extensions, deployment, or configuration issues
Best practices
- Model time-series data with a timestamp column and appropriate partitioning keys before creating hypertables
- Use continuous aggregates to precompute heavy rollups and reduce query latency
- Apply native compression on older chunks to save storage and speed scans while keeping recent data uncompressed for fast writes
- Choose retention policies and automated jobs to manage historical data lifecycle
- Monitor ingest throughput, chunk sizes, and planner statistics to balance performance and resource use
Example use cases
- High-frequency metrics ingestion for observability platforms using hypertables
- IoT sensor data pipeline with compression for long-term storage and continuous aggregates for dashboards
- Financial tick data store with real-time queries and downsampled aggregates
- Event-driven analytics where rollups are materialized continuously to serve SLAs
- Kubernetes deployment recipes for TimescaleDB namespaces and extension lifecycle management
FAQ
No. TimescaleDB is a PostgreSQL extension, so any PostgreSQL client or driver works. Use SQL statements and extension commands to access TimescaleDB features.
When should I compress data?
Compress older, infrequently updated chunks to save storage and improve scan performance. Keep a window of recent chunks uncompressed for low-latency writes and queries.