Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
General Database Discussions
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Oct 27, 2012 1:08 PM by
keeping stats up to date for partitioned tables
Oct 27, 2012 1:08 PM
Oracle version 10.2.0.4
I have a partioned table. I would like to keep stats up-to-date.
Can I just run a single command to update table stats, indexes and partitions please?
exec dbms_stats.gather_table_stats(user, 'TABLE', cascade=>true)
or I also need to run exec dbms_stats.gather_table_stats(user, 'TABLE', granularity=>partition)
Edited by: 902986 on 27-Oct-2012 11:06
Edited by: 902986 on 27-Oct-2012 11:07
This content has been marked as final.
Show 0 replies