Skip to content
July 2, 2010 / doganay

DBMS_STATS.GATHER_TABLE_STATS

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Hi,

Here is a nice gather_table_stats template, you can manipulate and use it, feel free 🙂

begin
DBMS_STATS.GATHER_TABLE_STATS(
ownname=> ‘DOGANAY’,
estimate_percent=>2,
method_opt => ‘for all indexed columns size auto’,
tabname=> ‘DOGANAY_TABLE’,
degree=>8);
end;
/
try and pray 🙂
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: