pg-analytics-duckdb
CommunityDuckDB analytics routing for PostgreSQL 18.
Data & Analytics#analytics#duckdb#group_by#pg_duckdb#force_duckdb_execution#acquired-connection#postgresql-18
AuthorPremModhaOfficial
Version1.0.0
Installs0
System Documentation
What problem does it solve?
DAL workloads with GROUP BY and time-series analytics can be slow on PostgreSQL; this skill routes such queries to DuckDB via the pg_duckdb extension in PostgreSQL 18 to accelerate analytics while preserving transactional session isolation.
Core Features & Use Cases
- DuckDB-enabled analytics routing: automatically sends aggregation queries to DuckDB for faster compute.
- Acquired connection pattern: uses a dedicated connection per tenant to avoid polluting the shared pool's session state.
- Dockerized setup guidance: includes steps to enable pg_duckdb in PostgreSQL 18 and run with a DuckDB-backed database.
- Use Case: dashboards performing daily aggregates on large datasets can be served with reduced latency.
Quick Start
Configure the data-access-layer to route analytics queries to DuckDB behind pg_duckdb and run a sample aggregation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pg-analytics-duckdb Download link: https://github.com/PremModhaOfficial/motadata-ai-pipeline/archive/main.zip#pg-analytics-duckdb Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.