Solved

Optimize stats oracle 11g

Posted on 2011-02-28
3
673 Views
Last Modified: 2012-05-11
Hello,

How can I optimize stats on oracle 11g?
Can I use dbms_gather_stats, please?

Thanks

bibi
0
Comment
Question by:bibi92
3 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 500 total points
ID: 34996906
what do you mean by "optimize" stats?

You can and should gather statistics using the dbms_stats package.
11g should have a dbms_scheduler job already running to periodically collect stats.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34996916
Yes, you should use dbms_stats.

What stats are you wanting to gather?  Table, schema, index, ???  The choice is up to you.

Do you want to 'estimate' or not?  Again, up to you.

0
 

Author Closing Comment

by:bibi92
ID: 34997123
Thanks bibi
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.

Join & Write a Comment

Suggested Solutions

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
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
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now