sql profile vs Custom SQL profile
Hi,
I was reading the following Metalink Note: Using Sqltxplain to create a 'SQL Profile' to consistently reproduce a good plan (Doc ID 1487302.1) and wondering about types of SQL profile.
Could someone shed light on these types of SQL profile.
types of 'SQL Profile
"There are 2 types of profiles, although currently there are no names to distinguish them
- One that "fixes" the plan and produces exactly the same plan (this would be equivalent to the old 'stored outlines'). This is the type of profile that we will be using in this note.
- One that does not "fix" the plan, but provide some hints such as "scalling factors" that allow the optimizer to produce a new plan if conditions change, like more data. This is typically what the SQL Tuning Advisor provides"
0