Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

TimescaleDB

Postgres for time series - hypertables, columnar compression, continuous aggregates - in a single internal-only node.

2 GiB

1 service, 20 GB disk

$11.50/mo

flat resource

$0.025/h

Usage Billing

What is TimescaleDB?

Time-series data has a way of arriving: metrics, sensor readings, prices, events. TimescaleDB is the answer for teams who want it in Postgres - real SQL, joins against business tables, every Postgres driver and ORM - with the time-series machinery (partitioning, compression, downsampling) handled by the extension.

Hypertables auto-partition by time behind a normal table interface. Columnar compression routinely cuts metrics-shaped data by 90%+. Continuous aggregates keep rollups (per-minute, per-hour) incrementally up to date so dashboards stop re-scanning raw data.

This template runs a single node with the extension preloaded, internal-only - databases never get a public domain - with a 20 GB volume. It exists precisely because managed Postgres offerings (Lyngbak’s included) do not ship the timescaledb extension. One password and your apps connect at timescaledb:5432.

What you get

  • Hypertables: automatic time partitioning behind a plain-table interface
  • Columnar compression - 90%+ typical on metrics-shaped data
  • Continuous aggregates: incrementally maintained rollups
  • Data retention policies: drop old chunks, not rows
  • It is Postgres: every driver, ORM, and BI tool just works
  • Internal-only single node + 20 GB volume

How it runs on Lyngbak

ServiceRolePublic
timescaledbPostgres + timescaledb extension (:5432)no (by design)

Before you deploy

  • POSTGRES_PASSWORD

    password for the app user (openssl rand -base64 24)

Sizing and billing

2 GiB handles serious ingest for a single-team workload; compression keeps the 20 GB volume going far longer than raw Postgres would. Scale RAM with active chunk working set.

Hobby resource$11.50/mo1 vCPU, 1 GiB + 1 GiB RAM add-on, 20 GiB disk incl. add-on, shared CPU
Pro resource$26.50/mo1 vCPU, 2 GiB, 20 GiB disk incl. add-on, dedicated CPU
Usage Billing, shared CPU$0.025/h1 vCPU, 2 GiB reserved. $18/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.047/h1 vCPU, 2 GiB reserved. $34/mo for a full month, billed by the second.

A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 19.53 GiB of volumes cost $0.15 per GiB a month ($2.93/mo) for as long as they exist. One workspace can use both. See pricing

Compared with the managed service

ServicePlanPriceIncludes
Tiger CloudPerformance$30/mopublished floor (hourly-metered compute) + storage ~$0.88/GB-mo post-compression; Timescale Inc. is now TigerData
InfluxDB CloudServerless (usage)Usage-based~$10-15/mo small workload ($0.0025/MB in, ~$1.46/GB-mo stored, $0.012 per 100 queries) - scales with use

Tiger Cloud has a genuinely useful free tier (750 MB/service); self-hosting wins once data is always-on and growing. Prices from each vendor's pricing page, June 2026.

Run it locally first

The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.

Questions

Why not just use the managed Postgres for time series?

You can, until the data grows: vanilla Postgres lacks automatic time partitioning, columnar compression, and incremental rollups, so tables bloat and dashboards slow down. The timescaledb extension is not available in managed Postgres offerings, which is exactly why this template exists.

How does this compare to Timescale (Tiger) Cloud pricing?

Managed Timescale prices compute per hour plus storage, which is excellent for elastic workloads and adds up for always-on ones. This node fits in 2 GiB, on a flat resource or by the second on Usage Billing - and your metrics never leave your project network.

Is TimescaleDB a real InfluxDB alternative?

For most workloads, yes - with the advantage that it is plain SQL in Postgres: joins against your business data, standard drivers, no new query language. InfluxDB still has an edge in ultra-high-cardinality edge collection; for app and infra metrics, hypertables win on ergonomics.

How do applications connect?

From the same Lyngbak project: postgres://app:<password>@timescaledb:5432/app - any Postgres client works. The node is private with no ingress route; if you need external access, tunnel through your apps rather than exposing the database.

How much data fits in 20 GB?

With compression, typically hundreds of millions of metric rows. Add a retention policy (drop_chunks) for raw data you only need recently, keep continuous aggregates forever - the volume can be resized when you genuinely outgrow it.

More in Databases

ClickHouse Cluster

3-node ClickHouse cluster - one shard, three replicas, embedded Keeper. Real replicated OLAP without ZooKeeper pods.

Open the template →

MariaDB

The community MySQL fork, as a single self-hosted node - drop-in compatible.

Open the template →

MariaDB Galera

3-node synchronous multi-primary MySQL-family HA on the official image - every node writes, any node can die.

Open the template →
TimescaleDB: time-series Postgres with Docker Compose | Lyngbak (formerly Miget)