find-hypertable-candidates
Use this skill to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables.\n\n**Trigger when user asks to:**\n- Analyze database tables for hypertable conversion potential\n- Identify time-series or event tables
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Use this skill to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables.\n\nTrigger when user asks to:\n- Analyze database tables for hypertable conversion potential\n- Identify time-series or event tables in an existing schema\n- Evaluate if a table would benefit from Timescale/TimescaleDB\n- Audit PostgreSQL tables for migration to Timescale/TimescaleDB/TigerData\n- Score or rank tables for hypertable candidacy\n\n\nKeywords: hypertable candidate, table analysis, migration assessment, Timescale, TimescaleDB, time-series detection, insert-heavy tables, event logs, audit tables\n\nProvides SQL queries to analyze table statistics, index patterns, and query patterns. Includes scoring criteria (8+ points = good candidate) and pattern recognition for IoT, events, transactions, and sequential data.
How to use
- Zainstaluj skill w swoim środowisku Claude/Copilot, wskazując repozytorium timescale/pg-aiguide. 2. Połącz się z bazą PostgreSQL, którą chcesz przeanalizować, lub przygotuj dostęp do jej schematu. 3. Poproś skill o analizę: "Przeanalizuj moje tabele PostgreSQL i wskaż kandydatów do konwersji na hypertables" lub "Które z moich tabel byłyby dobre dla TimescaleDB?". 4. Skill uruchomi zapytania SQL analizujące rozmiar tabel, liczbę wierszy, wzorce indeksów i zapytań, a następnie oceni każdą tabelę według kryteriów punktacji. 5. Przejrzyj wyniki rankingu — tabele z wynikiem 8+ punktów są dobrymi kandydatami do migracji. 6. Dla tabel, które przejdą, użyj towarzyszącego skilla "migrate-postgres-tables-to-hypertables" do konfiguracji i przeprowadzenia migracji.