Solved

stop 10G Automatic Statistics Generation process manually

Posted on 2006-07-18
7
408 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
Comment Utility
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
Comment Utility

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
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:milanushka
Comment Utility

 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
Comment Utility
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
Comment Utility
PAQed with points refunded (50)

Computer101
EE Admin
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Read about achieving the basic levels of HRIS security in the workplace.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

763 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

12 Experts available now in Live!

Get 1:1 Help Now