[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to know that the statistics of a table where gathered with this two method?

Posted on 2013-06-28
4
Medium Priority
?
296 Views
Last Modified: 2013-08-15
How to know that the statistics of a table where gathered with this two method?

DBMS_STATS.GATHER_TABLE_STATS(
ownname => <table owner>
,tabname =><table_name>
,estimate_percent => NULL
,block_sample => FALSE
,degree => DBMS_STATS.AUTO_DEGREE
,cascade => TRUE

And:

DBMS_STATS.GATHER_TABLE_STATS(
ownname =><table owner>
,tabname => <table_name>
,estimate_percent => NULL
,block_sample => FALSE
,method_opt => ''FOR ALL INDEXED COLUMNS''
,degree => DBMS_STATS.AUTO_DEGREE
,cascade => FALSE
0
Comment
Question by:LindaC
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
sventhan earned 2000 total points
ID: 39285101
You can find it using dba_stat*** tables.
0
 
LVL 18

Assisted Solution

by:sventhan
sventhan earned 2000 total points
ID: 39285105
Its dba_tab_statistics view. There are few other STAT views you could query as well.
0
 
LVL 8

Author Comment

by:LindaC
ID: 39285263
It doesn't tell me.  Only it has rows but I can't know if both methods where executed.
0
 
LVL 8

Author Closing Comment

by:LindaC
ID: 39410898
Thank you.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month19 days, 23 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question