Toolverse
All skills

migrate-postgres-tables-to-hypertables

by timescale

Use this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation.\n\n**Trigger when user asks to:**\n- Migrate or convert PostgreSQL tables to hypertables\n- Execute hypertable migration with minimal

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
timescale
Category
Backend
Views
2

About this skill

Use this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation.\n\nTrigger when user asks to:\n- Migrate or convert PostgreSQL tables to hypertables\n- Execute hypertable migration with minimal downtime\n- Plan blue-green migration for large tables\n- Validate hypertable migration success\n- Configure compression after migration\n\nPrerequisites: Tables already identified as candidates (use find-hypertable-candidates first if needed)\n\nKeywords: migrate to hypertable, convert table, Timescale, TimescaleDB, blue-green migration, in-place conversion, create_hypertable, migration validation, compression setup\n\nStep-by-step migration planning including: partition column selection, chunk interval calculation, PK/constraint handling, migration execution (in-place vs blue-green), and performance validation queries.

How to use

  1. Upewnij się, że masz już zidentyfikowane tabele kandydujące do konwersji na hypertabele. Jeśli nie, użyj najpierw skilla find-hypertable-candidates, aby znaleźć odpowiednie tabele w Twojej bazie PostgreSQL.

  2. Uruchom skill migrate-postgres-tables-to-hypertables i podaj nazwę tabeli, którą chcesz migrować. Skill przeanalizuje strukturę tabeli i zaproponuje optymalną kolumnę do partycjonowania (zazwyczaj timestamp, timestamptz, date lub sekwencyjny integer).

  3. Przejrzyj rekomendacje dotyczące interwału chunków i obsługi kluczy głównych oraz ograniczeń. Skill wygeneruje plan migracji dostosowany do rozmiaru i charakteru Twoich danych.

  4. Wybierz strategię migracji: konwersję in-place dla mniejszych tabel lub migrację blue-green dla dużych tabel, aby zminimalizować czas przestoju. Skill dostarczy gotowe komendy SQL do wykonania wybranej strategii.

  5. Wykonaj wygenerowane zapytania SQL w Twojej bazie danych. Skill utworzy hypertabelę z optymalną konfiguracją i automatycznie skonfiguruje kompresję danych.

  6. Uruchom zapytania walidacyjne wydajności dostarczone przez skill, aby potwierdzić sukces migracji i sprawdzić poprawę wydajności zapytań na nowej hypertabeli.

Related skills

humanizer

by davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive \

Backend
2873

video-downloader

by ComposioHQ

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

Backend
50173

sql-optimization-patterns

by wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

Backend
40163

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

himalaya

by openclaw

CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).

Backend
35108