Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

stop 10G Automatic Statistics Generation process manually

Posted on 2006-07-18
7
Medium Priority
?
420 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
6 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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

877 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