Advent of 2025, Day 16 – SQL Server 2025 – Optional parameter plan optimization (OPPO)
Read OriginalThis technical article details the Optional Parameter Plan Optimization (OPPO) feature in Microsoft SQL Server 2025. OPPO addresses a specific Parameter Sensitive Plan (PSP) problem, particularly for queries using patterns like 'WHERE column = @param OR @param IS NULL'. It explains how OPPO, enabled by default, helps avoid inefficient table scans and excessive memory grants by enabling adaptive plan optimization for dynamic search conditions.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser