Przejdź do treści
Biblioteka skilli
Dane i analityka · Budowanie i kod

time-series-data

/time-series-data

Przechowuje dane szeregów czasowych z retencją i downsamplingiem, kompresją, obsługą zdarzeń poza kolejnością i trafnym wyborem magazynu, dla metryk, zdarzeń i strumieni z czujników.

Repozytorium
AI-SKILLS ↗
Licencja
MIT
Ostatnia zmiana repozytorium
05.09.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przechowuje dane szeregów czasowych z retencją i downsamplingiem, kompresją, obsługą zdarzeń poza kolejnością i trafnym wyborem magazynu, dla metryk, zdarzeń i strumieni z czujników.

Oryginalny opis (EN)

Store time-series data with retention downsampling, compression, out-of-order handling, and the right store choice. Use when handling metrics, events, or sensor streams that grow relentlessly by time.

Jak działa

  1. Method
  2. Boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 76 linii, 445 słów
Podgląd SKILL.md
---
name: time-series-data
description: Store time-series data with retention downsampling, compression, out-of-order handling, and the right store choice. Use when handling metrics, events, or sensor streams that grow relentlessly by time.
---

# Time-series data

Time-series data (metrics, events, sensor readings) has a defining
shape: append-heavy, time-ordered, immense volume, and value that
decays with age. A general-purpose table handles it badly; the
techniques are all about exploiting the time dimension for storage,
retention, and query.

## Method

1. **Partition by time.** Range-partition on the timestamp
   (daily or hourly by volume: see data-partitioning): so
   queries filtering by time range prune to a few
   partitions, and old data drops by detaching a partition
   (near-instant) instead of deleting billions of rows.
   Time partitioning is the foundational move that makes
   everything else efficient.
2. **Downsample and expire by age.** Recent data at full
   resolution (per-second), older data aggregated
   (per-minute, then per-hour), oldest expired entirely:
   because nobody queries last year at second resolution.
   Automated retention policies (roll up then drop raw)
   keep storage bounded and queries fast (see
   data-retention's tiering, sensor-data-handling for the
   edge side). This aggregate-then-drop is the standard
   time-series lifecycle.
3. **Exploit compression.** Time-series compresses
   extremely well (timestamps are near-regular, values
   change slowly: delta and delta-of-delta encoding, plus
   columnar storage): purpose-built stores achieve 10x+
   ratios. Use the store's native compression; storing
   time-series uncompressed in a general table wastes an
   order of magnitude of disk.
4. **Handle out-of-order and late data.** Readings arrive
   late (network delays, batched device uploads: see
   iot-messaging, sensor-data-handling); the store and
   queries must accept writes into past windows and
   recompute affected rollups (see incremental-processing's
   late-data window). A design assuming strictly-increasing
   timestamps breaks on the first delayed batch.
5. **Choose the right store for the scale.** Purpose-built
   time-series databases (Timescale, InfluxDB,
   Prometheus-class) give partitioning, compression,
   downsampling, and time-oriented query functions out of
   the box; a relational table with manual partitioning
   works at modest scale. Match the store to the volume and
   query needs (see managed-vs-selfhosted): at high ingest
   rates, the specialized store's built-in mechanics beat
   hand-rolling them.
6. **Model for time-range queries and aggregation.** The
   dominant queries are "values over a time range,
   aggregated by interval and grouped by series/tag":
   design tags/dimensions for the group-bys you need (like
   warehouse-modeling's grain, for time), index the time
   plus tag columns (see indexing-strategy), and precompute
   common rollups (continuous aggregates: see
   materialized-views). Point lookups are rare;
   range-scan-and-aggregate is the workload.

## Boundaries

- Time-series stores optimize for append-heavy time-ordered
  data; they are poor for data needing updates, complex
  relations, or transactions (see transactions-isolation):
  do not force relational workloads into them or vice
  versa.
- Metrics/observability time-series (see
  infrastructure-monitoring) and business/analytics
  time-series overlap in technique but differ in tooling
  and retention needs; match the stack to the use.
- Extremely high-cardinality tag combinations blow up many
  time-series stores (each unique series is tracked);
  cardinality management is the specific scaling gotcha to
  design against.

Wersje

W bazie nie ma innych skilli o nazwie time-series-data.

Migawka bazy z 13.11.2026 · wersja paczki 4bfea1161371 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100influxdb
    Wspiera pracę z InfluxDB dla szeregów czasowych: Line Protocol, Flux i InfluxQL, polityki retencji, downsampling i zarządzanie bucketami, dla metryk IoT, telemetrii i danych finansowych.
  • 90time-series-analysis
    Analizuje i prognozuje dane uporządkowane w czasie z uwzględnieniem trendu, sezonowości, autokorelacji i kierunku czasu, dla metryk, sprzedaży i odczytów czujników.
  • 100causal-ts-discovery
    Odkrywa strukturę przyczynową w danych szeregów czasowych biblioteką causal-ts: graf przyczynowy oraz zależności opóźnień i czasowe dla danych z czujników i sekwencji.
  • 100forecasting-multiple-series
    Prognozuje wiele powiązanych szeregów czasowych jednym modelem globalnym, z kodowaniem danych i backtestem dla każdej serii.
  • 100setup-timescaledb-hypertables
    Projektuje schematy tabel TimescaleDB dla danych szeregów czasowych, IoT i logów, z hypertables, kompresją i polityką retencji.
  • 100forecasting-time-series-data
    Prognozuje przyszłe wartości na podstawie historycznych szeregów czasowych, wykrywając trendy, sezonowość i inne wzorce.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.