Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Creating Histograms
> I think someone explained you may not always get same plan. One
> reason is CBO still looks at table HWM. But it's still worth doing.
CBO doesn't look at table's real HWM when optimizing a query, it uses the stats from the point in time when they were gathered. When stats (including system stats), optimizer parameters (including *_area_sizes) and real values in predicates stay constant, then the execution plan should stay the same for a given query, unless you encounter some bugs...
Tanel.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Sat Jul 24 2004 - 06:26:33 CDT
![]() |
![]() |