- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: adjusting SGA size in Oracle Databases
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 05:32 AM
тАО09-15-2003 05:32 AM
adjusting SGA size in Oracle Databases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 05:43 AM
тАО09-15-2003 05:43 AM
Re: adjusting SGA size in Oracle Databases
You can use glance if you have a license, or this series of sr scripts that collect information in the background.
See attachment.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 06:21 AM
тАО09-15-2003 06:21 AM
Re: adjusting SGA size in Oracle Databases
I put it in a tar file and compressed it
Can you help me make sense of it?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 06:31 AM
тАО09-15-2003 06:31 AM
Re: adjusting SGA size in Oracle Databases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 06:57 AM
тАО09-15-2003 06:57 AM
Re: adjusting SGA size in Oracle Databases
Do the files have to be ascii?
what about tar or compressed
in the meantime - here is the current sga for one database
SQL> show sga
Total System Global Area 814946792 bytes
Fixed Size 104936 bytes
Variable Size 240345088 bytes
Database Buffers 573440000 bytes
Redo Buffers 1056768 bytes
They are all the same right now - there are 6 databases running on the one machine with 4GB memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 07:08 AM
тАО09-15-2003 07:08 AM
Re: adjusting SGA size in Oracle Databases
Also tune your shared pool size. Check attachment
Rgds,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 11:14 AM
тАО09-15-2003 11:14 AM
Re: adjusting SGA size in Oracle Databases
I'd strongly encourage you to run Oracle's STATSPACK. Start now, before the split. Statspack can use heuristics to estimate the effect of SGA changes: If you double then you'd save x% IO. If you'd halve then it would likely cost you x% IO. See an example below where the SGA was overconfigured with 8GB buffers and statspack suggest that 1GB would be plenty, only increasing misses a little (this was later confirmed).
Running that report now will a) get you aquainted with its output b) will give you perhpas a better starting point that you currently have. Maybe 800MB was small, maybe it was oversized. c) will give you a system wide reference to calibrate the cost/benefit of that split.
My hunch would be to start with 1/3 for the app, and 2/3 for the data, but obviously this is just a WAG and you milage will vary.
Btw... Why are they considering that split? Surely this was well thought through with plusses and minusses nively lined up in a report probably based on a representative experiment? Surely from that investigation it becomes immediatly clear where to start the new initial sizes! Surely this split is not just done 'for yuks' and well thought through right?! ( ;^).
fwiw,
Hein.
----- sample statspack for oversized db-buffer -----
Buffer Pool Advisory for DB: XXX Instance: xxx End Snap: 6
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate
Size for Size Buffers for Est Physical Estimated
P Estimate (M) Factr Estimate Read Factor Physical Reads
--- ------------ ----- ---------------- ------------- ------------------
D 800 .1 99,250 1.66 851,175
D 1,600 .2 198,500 1.01 519,230
D 2,400 .3 297,750 1.01 517,651
D 3,200 .4 397,000 1.01 517,458
:
D 8,000 1.0 992,500 1.00 513,720
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 11:44 AM
тАО09-15-2003 11:44 AM
Re: adjusting SGA size in Oracle Databases
No - not doing it for yucks!
Actually we do a lot of development adding new plants to our system and we need to "refresh" our test systems with a copy of production data on a regular basis - simply purging the data and then doing an import of production data can take 18 or more hours - days if we have problems! We can't just "clone" the entire production system either, since the application system tables are quite different in development and production - if fact we have 3 different "flavors" of our development database - each can require a refresh. With the data in its own database, we will be able to "clone" just the data using our symmetrix and BCVs in under an hour - much better!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 04:01 AM
тАО09-17-2003 04:01 AM
Re: adjusting SGA size in Oracle Databases
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2003 07:10 AM
тАО09-17-2003 07:10 AM
Re: adjusting SGA size in Oracle Databases
The contents of the statspack report depends on the LEVEL used for the snaps. We have been using level 7 lately as that gives activity reports by object. At that level the pool estimate sections are also reported as per partial example in my earlier reply. I don't recall setting anything else (in init.ora?).
We use a trivial script to help with snap + comment:
echo "execute statspack.snap(7,0,'\"$1\"');\n" | sqlplus -s perfstat/perfstat
fwiw,
Hein.