Solved

stop 10G Automatic Statistics Generation process manually

Posted on 2006-07-18
7
409 Views
Last Modified: 2012-06-27
Hello everybody,

Does anyo one know how to stop 10G Automatic Statistics Generation process manually(not using EGC)?

thanks,
Mia
0
Comment
Question by:milanushka
  • 3
  • 2
7 Comments
 
LVL 18

Expert Comment

by:rbrooker
ID: 17135358
Hi,

set the parameter STATISTICS_LEVEL to basic in your pfile / spfile.
looking on the net however, this stops a heap of other oracle 10g features.
here is some more information about it : http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10755/initparams208.htm

good luck.

:)
0
 

Author Comment

by:milanushka
ID: 17137996

After setting statistics_level to BASICmy db wouldn't start with error

Cannot set sga_target with statistics_level=BASIC

No luck:(
0
 
LVL 18

Expert Comment

by:rbrooker
ID: 17142389
Hi,

Do you have automatic SGA sizing turned on?  This is one of the "features" of oracle 10g that is affected by disabling automatic stats.

----- FROM ORACLE WEBSITE -----
Setting the STATISTICS_LEVEL parameter to BASIC disables the collection of many of the important statistics required by Oracle Database features and functionality, including:

Automatic Workload Repository (AWR) Snapshots
Automatic Database Diagnostic Monitor (ADDM)
All server-generated alerts
AUTOMATIC SGA MEMORY MANAGEMENT  <---- this would be affecting you starting up the database.
Automatic optimizer statistics collection
Object level statistics
End to End Application Tracing (V$CLIENT_STATS)
Database time distribution statistics (V$SESS_TIME_MODEL and V$SYS_TIME_MODEL)
Service level statistics
Buffer cache advisory
MTTR advisory
Shared pool sizing advisory
Segment level statistics
PGA Target advisory
Timed statistics
Monitoring of statistics
----- -----

me? i would turn automatic stats back on.

:)
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:milanushka
ID: 17145965

 I agree that auto stats should be on. If I could just stop auto schema analysis, I would be in business

Thanks,
Mia
0
 
LVL 18

Expert Comment

by:rbrooker
ID: 17664606
have found the answer in the mean time ...

sqlplus /nolog
connect / as sysdba;

EXECUTE DBMS_SCHEDULER.DISABLE('GATHER_STATS_JOB');

commit;
exit;

:\
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 17695615
PAQed with points refunded (50)

Computer101
EE Admin
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
spx for moving values to new table 5 70
Invalid Identifier Error 3 82
Display multiple images in report 12 105
SQL Server - Check Constraint or NOT NULL? 11 67
I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

912 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

23 Experts available now in Live!

Get 1:1 Help Now