scan-optimization

Community

Optimize query scan and filter performance.

AuthorSolidLao
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill optimizes how data is read from and filtered within large tables in database queries, significantly speeding up query execution by reducing unnecessary data processing and I/O.

Core Features & Use Cases

  • Predicate Pushdown: Evaluates filters as early as possible.
  • Late Materialization: Loads only necessary columns for qualifying rows.
  • Selection Vectors: Efficiently handles low-selectivity filters by gathering row indices.
  • SIMD Filtering: Leverages CPU vector instructions for fast, parallel filtering.
  • Use Case: When querying a multi-billion row fact table with a WHERE clause on a specific date range and a few other columns, this skill ensures only the relevant data blocks and columns are accessed, drastically reducing scan time.

Quick Start

Use the scan-optimization skill to optimize a query with a WHERE clause on a large table.

Dependency Matrix

Required Modules

None required

Components

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: scan-optimization
Download link: https://github.com/SolidLao/GenDB/archive/main.zip#scan-optimization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.