Configure SQL Performance Options

Configures parallel query processing and runtime plan choice in InterSystems IRIS.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/sorodriguezz/skills-objectscript --skill configure-sql-performance-options
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Configure SQL Performance Options
Source: https://github.com/sorodriguezz/skills-objectscript/tree/main/skills/configure-sql-performace-options
Command: npx skills add https://github.com/sorodriguezz/skills-objectscript --skill configure-sql-performance-options

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of slow-performing SQL queries by providing tools and techniques to configure and optimize performance settings within the InterSystems IRIS environment.

Core Features & Use Cases

  • Parallel Query Processing: Configure system-wide or per-query parallel execution to leverage multi-processor systems for faster query completion.
  • Runtime Plan Choice (RTPC): Enable dynamic query plan optimization based on runtime data, improving performance for queries with outlier values.
  • Frozen Plans: Manage query execution plans to maintain performance stability across system upgrades or configuration changes.
  • Use Case: A database administrator needs to speed up a critical reporting query that currently takes several minutes to run. By configuring parallel query processing and potentially freezing the optimized plan, they can significantly reduce the report generation time.

Quick Start

Configure system-wide parallel query processing by setting the auto parallel option to enabled.

Frequently Asked Questions about Configure SQL Performance Options

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize SQL query performance in InterSystems IRIS?

SQL query tuning in InterSystems IRIS involves configuring parallel query processing, enabling Runtime Plan Choice for dynamic optimization, and managing query plan caching to improve execution for large datasets.

What is parallel query processing and when do I need it for database optimization?

Parallel query processing leverages multi-processor systems to execute queries concurrently, significantly reducing completion time for complex operations and large datasets. You need it when critical reporting queries take several minutes to run.

How do I enable runtime plan choice for SQL queries with outlier values?

You enable Runtime Plan Choice (RTPC) to allow dynamic query plan optimization based on runtime data. This mechanism improves performance specifically for queries containing outlier values by adjusting execution paths dynamically.

Can I freeze SQL query execution plans during system upgrades in InterSystems IRIS?

Yes, you can manage frozen plans to maintain query execution performance stability across system upgrades or configuration changes. This prevents the optimizer from regenerating less efficient plans during environment updates.

What are the limitations of configuring auto parallel query processing?

Configuring auto parallel query processing is limited by hardware capabilities, requiring multi-processor systems to yield faster query completion. It may not suit simple queries or small datasets where parallelization overhead outweighs benefits.