Sign in or 

| Platform: | Oracle | App: | Tool: | ||
| DB Ver: | 9.2 | App Ver: | Tool Ver: | ||
| Revision Date: | 22-Feb-2006 | Keywords: | HOWTO, SQL TUNING, CBO | ||
| Goal | |||||
| To get the CBO to find a better execution path | |||||
| Facts | |||||
| Solution | |||||
| Find the SQL query that is causing the problem. Then in your own investigative session execute the following: | |||||
alter session set optimizer_dynamic_sampling=9; Rerun the query. If the performance improves, then include the following hint in the SQL: | |||||
SELECT /*+ dynamic_sampling(x) */ *
FROM ...
where X is a number 0-10
|
consultium |
Latest page update: made by consultium
, Oct 7 2009, 12:59 PM EDT
(about this update
About This Update
9 words added view changes - complete history) |
|
Keyword tags:
CBO
HOWTO
SQL TUNING
More Info: links to this page
|