Solved

stop 10G Automatic Statistics Generation process manually

Posted on 2006-07-18
7
412 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

685 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