SkillsLib.ai

Databricks SQL & Pipeline Optimizer

Optimize Databricks SQL queries and pipeline performance

2.7(3 reviews)
10+ downloads
Updated Nov 2026

What You Can Do

You can analyze and optimize your Databricks SQL queries and data pipelines to dramatically improve performance and reduce compute costs. This skill identifies bottlenecks, suggests architectural improvements, and generates actionable optimization strategies backed by execution plan analysis and cost-benefit calculations.

Features

SQL query analysis

Parse execution plans and identify inefficient operations, missing indexes, and shuffle operations

Pipeline performance profiling

Analyze multi-stage data pipelines for bottlenecks, skewed partitions, and resource contention

Cost optimization recommendations

Calculate compute cost savings from specific optimizations (caching, partitioning, file format changes)

Execution plan visualization

Break down complex query plans with clear explanations of each operation and its cost

Databricks configuration tuning

Recommend cluster settings, auto-scaling policies, and SQL warehouse configurations

Multi-stage optimization workflows

Design end-to-end pipeline improvements considering data volume, frequency, and dependencies

Performance benchmarking framework

Generate before/after test plans with specific metrics to measure improvement

Best practices checklist

Verify your queries and pipelines against Databricks performance and cost best practices

Example Output

Optimized Query Example

Original query: 45 seconds, $0.82 cost

code
SELECT customer_id, COUNT(*) 
FROM events 
WHERE event_date > '2024-01-01' 
GROUP BY customer_id

Optimized query: 8 seconds, $0.14 cost

code
SELECT customer_id, COUNT(*) 
FROM events_partitioned 
WHERE event_date > '2024-01-01' 
GROUP BY customer_id

Improvements: Partitioning on event_date, Parquet format, eliminated unnecessary columns

Cost Reduction Plan

  • Change: Enable Delta cache for fact table (5-minute retention)
  • Impact: 60% faster joins, save ~$400/month
  • Implementation: 10 lines of SQL configuration
  • ROI: 5x within first week

What's Included

  • SKILL.md: Complete skill with analysis workflows and optimization strategies
  • SQL Optimization Checklist: Line-by-line query review covering joins, partitioning, caching, and aggregation patterns
  • Pipeline Analysis Worksheet: Template for decomposing multi-stage pipelines and identifying opportunities
  • Performance Testing Framework: Before/after testing template with metrics and cost calculation
  • Databricks Configuration Guide: Recommended cluster sizes, auto-scaling, and SQL warehouse tiers by workload
  • Query Plan Decoder: Decision tree for interpreting execution plans and translating findings to code

Who It's For

  • Data Engineers — Optimize ETL pipelines and improve SLA compliance
  • Analytics Engineers — Speed up dimensional modeling and fact table queries
  • Database Administrators — Tune clusters and resource allocation
  • Data Analysts — Reduce execution time for ad-hoc exploration and dashboards
  • Performance Engineers — Identify and resolve workload bottlenecks across production systems

Best For

  • SQL Query Optimization — Rewrite slow queries using execution plan analysis
  • Pipeline Performance Tuning — Diagnose and fix multi-stage ETL bottlenecks
  • Cost Reduction Analysis — Calculate ROI of optimizations (downsizing, file format, caching)
  • Migration Planning — Assess and optimize legacy data warehouse workloads
  • SLA Performance Improvement — Meet latency and throughput targets through targeted optimization

You might also like

Texture Profile Analysis Framework for Sensory Scientists
$40
Texture3.6(20)
Texture Profile Analysis Framework for Sensory Scientists

You can design and execute professional texture profiling studies that decompose complex mouthfeel characteristics into measurable, reproducible dimensions. This framework guides you through panelist training with calibrated reference scales, standardized texture vocabulary, data collection protocols, and translation of sensory results into actionable product specifications that R&D and quality control can implement and monitor.

Allergen Cross-Contamination Risk Assessment
$40
Allergen Cross-Contamination Risk Assessment

You can conduct rigorous allergen risk assessments that map allergen flow paths through facility design, equipment shared-use patterns, and personnel movement. This skill quantifies cross-contamination probability at each control point, prioritizes intervention investments based on risk severity, and produces audit-ready documentation demonstrating due diligence to regulators and third-party auditors.

FDA Compliance Audit Assistant
$35
FDA Compliance Audit Assistant

Conduct comprehensive internal audits aligned with FDA FSMA requirements and HACCP principles across seven critical compliance domains. You'll identify and document compliance gaps in facility operations, documentation, personnel training, and supplier controls—mirroring the structure and rigor of actual FDA inspections. Generate detailed findings reports with remediation priorities and defensible corrective action plans that demonstrate systematic controls to FDA investigators.

Sensory Flavor Profile Development & Optimization
$35
Flavor3.6(27)
Sensory Flavor Profile Development & Optimization

You can transform raw sensory data and consumer feedback into standardized flavor architectures that drive formulation decisions. This skill systematizes descriptive analysis results, models how ingredient combinations create emergent flavor characteristics, and translates preference data into actionable formulation adjustments. You'll create evidence-based flavor briefs that align R&D and marketing stakeholder expectations while documenting flavor architecture for regulatory compliance.

FDA Compliance Audit Coordinator
$35
FDA Compliance Audit Coordinator

You can conduct structured internal compliance audits across FSMA-regulated facilities, generate FDA inspection preparation protocols, and systematically identify documentation gaps in food safety management systems. The skill transforms regulatory requirements into actionable audit checklists and produces gap analysis reports that prioritize remediation before FDA investigators arrive.

Food Processing Optimization Analyzer
$35
Processing4.2(35)
Food Processing Optimization Analyzer

You can input your current processing parameters (temperature, time, moisture, pH, and other critical control points) alongside performance metrics, and Claude will benchmark them against industry standards, identify which variables most influence your outcomes, and generate hypothesis-driven optimization recommendations. The skill helps you create reproducible protocols that reduce batch-to-batch variability while maintaining food safety compliance and regulatory requirements.

Nutritional Formulation Analyzer
$30
Nutrition3.6(33)
Nutritional Formulation Analyzer

You can rapidly assess ingredient lists for nutritional completeness, calculate protein quality scores (DIAAS, PDCAAS), evaluate nutrient-nutrient interactions, identify fortification opportunities, and generate compliant nutrition labels. The skill helps you optimize formulations against USDA, FDA, EFSA, and Codex Alimentarius standards before lab testing, saving time and resources in product development.

Databricks Query Optimization & Pipeline Debugging
$35
Databricks Query Optimization & Pipeline Debugging

You can optimize Databricks SQL queries for performance, debug pipeline failures with root-cause analysis, and recommend cluster configurations. Claude analyzes execution plans, identifies bottlenecks, and provides concrete refactoring suggestions to reduce query runtime and lower infrastructure costs.

$35.00