dbTalk Databases Forums  

statistics on partitioned tables

comp.databases.oracle.server comp.databases.oracle.server


Discuss statistics on partitioned tables in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dba cjb
 
Posts: n/a

Default statistics on partitioned tables - 02-09-2011 , 10:10 AM






oracle 10.2.0.4 enterprise windows 2003 service pack 2

1) Code we use is driven by concept of list of stale objects at
table level

eg dbms_stats.gather_schema_stats ( ....options list stale etc )

2) Is there scope for listing staleness at partition level

Ie if partition 1 goes stale or partition 2 goes stale refresh
stats for partition and possibly table


regards
Chris B

Reply With Quote
  #2  
Old   
John Hurley
 
Posts: n/a

Default Re: statistics on partitioned tables - 02-09-2011 , 12:20 PM






Chris wrote ...

Quote:
oracle 10.2.0.4 enterprise *windows 2003 service pack 2

1) * * * Code we use is driven by concept of list of stale objects at
table level

eg dbms_stats.gather_schema_stats *( ....options list stale etc )

2) * * * Is there scope for listing staleness at partition level

* * * *Ie if partition 1 goes stale or partition 2 goes stale refresh
stats for partition and possibly table
Try some google searches with words like "oracle statistics management
partitioned tables" and you get hits like these ...

http://blogs.oracle.com/optimizer/20..._tables .html

http://oracledoug.com/serendipity/in...es-Part-1.html

Reply With Quote
  #3  
Old   
onedbguru
 
Posts: n/a

Default Re: statistics on partitioned tables - 02-10-2011 , 07:22 PM



On Feb 9, 1:20*pm, John Hurley <hurleyjo... (AT) yahoo (DOT) com> wrote:
Quote:
Chris wrote ...

oracle 10.2.0.4 enterprise *windows 2003 service pack 2

1) * * * Code we use is driven by concept of list of stale objects at
table level

eg dbms_stats.gather_schema_stats *( ....options list stale etc )

2) * * * Is there scope for listing staleness at partition level

* * * *Ie if partition 1 goes stale or partition 2 goes stale refresh
stats for partition and possibly table

Try some google searches with words like "oracle statistics management
partitioned tables" and you get hits like these ...

http://blogs.oracle.com/optimizer/20...tatistics_on_l...

http://oracledoug.com/serendipity/in...562-Statistics...
I have found that if a partition has NO stats, the performance can be
very slow, but just adding ANY stats - even a zero (0) would make it
perform. Each partition was fairly large.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.