Quantcast
Channel: www.oaktable.net - Execution plans
Viewing all articles
Browse latest Browse all 133

Hacking Profiles

$
0
0

Saturday’s posting about setting cursor_sharing to force reminded me about one of the critical limitations of SQL Profiles (which is one of those little reason why you shouldn’t be hacking SQL Profiles as a substitute for SQL Plan Baselines). Here’s a demo (taking advantage of some code that I think Kerry Osborne published several years ago) of creating an SQL Profile from the current execution plan of a simple statement – first we create some data and find the sql_id and child_number for a simple query:

read more


Viewing all articles
Browse latest Browse all 133

Trending Articles