Solved

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

Posted on 2013-06-28
4
288 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 500 total points
ID: 39285101
You can find it using dba_stat*** tables.
0
 
LVL 18

Assisted Solution

by:sventhan
sventhan earned 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

785 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