Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Performance & Tuning >> Tuning of Oracle 9i RAC

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Tuning of Oracle 9i RAC
 emx  Posted: Nov 03, 2007 11:03:17 AM

 Total Post: 5
 Joined: Nov, 2007






 Hello all.

I have been tasked with the optimization & tuning of a large Oracle RAC (8 servers on HP/9000).

The goal is to improve the performance of our database. This database is used for the Prepaid system of a medium-sized GSM mobile network. It has been installed with default parameters, which probably worked fine in the beginning but now that we have reached 4.5 million subscribers we notice a decline in performance.

The thing is, I don't know where to start... I have read this forum and other sources of information, and the task seem daunting!

I have started looking at the rollback segments, am thinking of putting the Undo Management to AUTO, as a start. We're getting rollback segments errors, snapshot too old.

I also want to check the various memory sizes. Any help with this on 9i? I heard that in 10 it can be done automatically, but in 9i I still have to do it manually. Anyone has pointers on this?

I am also hearing about StatPack. Is it part of the Oracle software loaded on our UNIX servers? Or is it an add-on? Could this help me with my tuning needs? I guess I should read more on it.

Thanks for any hints on getting me started.








 Mohammed Taj
Posted: Nov 03, 2007 11:11:55 AM  

 Total Post: 694
 Joined: Jul, 2007






 
I have started looking at the rollback segments, am thinking of putting the Undo Management to AUTO, as a start. We're getting rollback segments errors, snapshot too old.

You should keep undo management mode "AUTO" and for snapshot too old error you have to set "undo_retention" parameter properly to skip this error.

what is current value for undo_retention ?
default is 900 second means 15 minutes.

I also want to check the various memory sizes. Any help with this on 9i? I heard that in 10 it can be done automatically, but in 9i I still have to do it manually. Anyone has pointers on this?
Yes, it is correct we can use automatic memory mgmt option in 10g.
but for oracle 9i can you post your SGA value.
1. db cache size
2. shared pool size
3. pga size


I am also hearing about StatPack. Is it part of the Oracle software loaded on our UNIX servers? Or is it an add-on? Could this help me with my tuning needs? I guess I should read more on it.

Stats pack is part of Oracle DB Server.
you have to configure perfstat user for generate stats pack report.
go through below link for how to generate stats pack report
http://dbataj.blogspot.com/2007/05/statspack.html

send me your stats pack report at star_taj@yahoo.com

anyother question ?


 emx
Posted: Nov 03, 2007 11:21:35 AM  

 Total Post: 5
 Joined: Nov, 2007






 
Thanks for the hints. I will go through the StatPack procedure and post my results.


 emx
Posted: Nov 06, 2007 06:12:42 AM  

 Total Post: 5
 Joined: Nov, 2007






 
Trying install STATSPACK starts well but then ends up with:

If this script is automatically called from spcreate (which is
the supported method), all STATSPACK segments will be created in
the PERFSTAT user's default tablespace.

Using PERFSTAT tablespace to store Statspack objects

... Creating STATS$SNAPSHOT_ID Sequence
create sequence STATS$SNAPSHOT_ID
*
ERROR at line 1:
ORA-00955: name is already used by an existing object


Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Partitioning and Real Application Clusters options
JServer Release 9.2.0.8.0 - Production
oracle@twsmp1:/home/oracle>

 emx
Posted: Nov 06, 2007 07:35:46 AM  

 Total Post: 5
 Joined: Nov, 2007






 
The errors above did not prevent me from running things according to Taj's procedure.

I submitted the generated report to http://www.statspackanalyzer.com and it gave me some recommendations (sometimes conflicting) for improving DB performance.


 emx
Posted: Nov 06, 2007 07:38:16 AM  

 Total Post: 5
 Joined: Nov, 2007






 
Here are my current memory parameters for our cluster:

twsmp1:/uorabin/app/oracle/product/9.2/dbs#grep size initSMS.ora
*.db_block_size=4096
*.java_pool_size=150M
*.large_pool_size=1000000
*.max_dump_file_size='10240'
*.shared_pool_reserved_size=10000000
*.shared_pool_size=512M
*.sga_max_size=4500M
*.db_cache_size=4000M
*.sort_area_retained_size=65536
*.sort_area_size=65536


 Mohammed Taj
Posted: Nov 06, 2007 08:02:53 AM  

 Total Post: 694
 Joined: Jul, 2007






 
If you successfully generated statspack report then please send to me at star_taj@yahoo.com.
i will check and give you custom recommendation.

 moni
Posted: Jul 04, 2008 08:56:59 AM  

 Total Post: 4
 Joined: Jul, 2008






 
You got this error because when you were trying to run the scripts earlier at that time it was not successfully installed. Its because of that problem perfstat user is created and some tables is also created. The use of spcreate script is to create the perfstat user and tables inside that user's schema. Please drop that user using this command DROP USER PERFSTAT CASCADE and then run the script again. Make sure you should have your temporary tablespace empty before running this script.
Hope this will help you.
Moni

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar814
  Mohammed Taj694
  Jayanta Sur479
  Vigyan Kaushik386
  positive fanatic361
  Gitesh Trivedi322
  Gopu Gopi239
  neeraj sharma228
  Ramesh Jois226
  snehalatha p169






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software