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 >> How to calculate SGA size in Oracle 9i?

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: How to calculate SGA size in Oracle 9i?
 anderl  Posted: Jan 24, 2007 05:52:28 AM

 Total Post: 7
 Joined: Jan, 2007






 Hallo, i have to increase the perfomance of a 9i databse.
First of all i want to check out the SGA size.
There 90 % inserts on the database and only 10 % data reading.
Thanks for any help

 Jayanta
Posted: Jan 24, 2007 12:00:10 PM  

 Total Post: 479
 Joined: Feb, 2006






 
sga is sized by sga_max_size initialization parameter.
u can use show sga command to view sga memory allocations.
regards
jayanta

 anderl
Posted: Jan 25, 2007 04:33:56 AM  

 Total Post: 7
 Joined: Jan, 2007






 
Hallo jayanta

thank your for your answer, but i think it's a misunderstanding.
I know how to "show sga", i wanted to know how to get the best SGA size for the system i described.

regards
anderl

 Vigyan
Posted: Jan 25, 2007 06:35:47 AM  

 Total Post: 386
 Joined: May, 2001






 
You can generate AWR report by using awrrpt.sql script from $ORACLE_HOME/rdbms/admin to see how your database is performing. Based on the memory allocation, you can decide if you need more SGA.

Vigyan


 anderl
Posted: Jan 25, 2007 08:19:27 AM  

 Total Post: 7
 Joined: Jan, 2007






 
Hi Vigyan,

i can't find the awrrpt.sql script in $ORACLE_HOME/rdbms/admin ???

anderl


 kh
Posted: Jan 25, 2007 12:36:47 PM  

 Total Post: 3
 Joined: Jan, 2007






 
oracle 9i...you can use statspack to get the statistics you need.

1. oracle_home\rdbms\admin\spcreate
2. execute statspack.snap
3. oracle_home\rdbms\admin\spreport

**replace the oracle_home with ur own oracle home.

hope it can help you.

 anderl
Posted: Jan 26, 2007 05:50:37 AM  

 Total Post: 7
 Joined: Jan, 2007






 
hi kh,
thank you, it works !
anderl


 Vigyan
Posted: Jan 26, 2007 07:01:24 AM  

 Total Post: 386
 Joined: May, 2001






 
Sorry, I didn't notice 9i. AWR report is available from 10g onward.

For 9i, please use statstpack.

Thanks,
Vigyan


 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 Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi333
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






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