vertica_query_optimization
CommunitySpeed up Vertica queries with plan-driven tuning
Data & Analytics#query optimization#encoding#segmentation#projections#vertica#sql performance tuning#data collector diagnostics
Authorivanshamaev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you reduce slow Vertica query runtimes by diagnosing execution plans and tuning physical design (projections, segmentation, encoding) based on what Vertica actually does.
Core Features & Use Cases
- EXPLAIN-driven diagnosis: Identify performance bottlenecks by interpreting Vertica
EXPLAINtokens (e.g., JOIN type, RESEGMENT, GROUPBY algorithm, sort activity) and by correlating plan profiles with projections. - Projection and physical tuning: Design or adjust projections to match query patterns, including
ORDER BYprefix for sort elimination,SEGMENTED BYkeys for avoiding resegmentation, andENCODINGchoices such asRLEfor low-cardinality sorted columns. - Performance tuning for DML and diagnostics: Improve
INSERT-SELECT, and understandDELETE/UPDATEinternals and operational costs; use Data Collector (dc_*) tables to find slow requests and quantify durations. - Task fit: Works when you must optimize for joins, GROUP BY, ORDER BY, analytic functions, Top-K/LIMIT behavior, predicate selectivity, and when you need to verify changes by re-running
EXPLAIN.
Quick Start
Use this skill to optimize a slow Vertica 11.1 query by running EXPLAIN on the SQL, interpreting the plan (especially JOIN/GROUPBY/RESEGMENT/SORT), then updating the relevant projection design and re-running EXPLAIN to confirm the improvement.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: vertica_query_optimization Download link: https://github.com/ivanshamaev/de-agent-skills/archive/main.zip#vertica-query-optimization 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.