- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Possible to monitor shared pool in Oracle?
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
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
тАО03-29-2004 12:52 AM
тАО03-29-2004 12:52 AM
Mgmt Svr:
Oracle 8.1.7.4 OVO 7.19 NNM 6.2 HPUX 11.0
MC/SG 11.09
We have had several ORA-04031 issues and we would like to somehow monitor the Oracle "shared pool" so we can be alerted before we have any problems. Can this be done in a script?
ORA-04031: unable to allocate 4200 bytes of shared memory ("shared
pool","DATABASE","sga heap","state objects")
10 points to any good answer.
TIA, Gino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2004 01:31 AM
тАО03-29-2004 01:31 AM
SolutionTake a look at metalink.oracle.com Note:174555.1
UNIX: Determining the Size of an Oracle Process
From the OS point of view :
ipcs -a
glance ...
From the Oracle point of view :
rem -----------------------------------------------------------------------
rem Filename: sga_free.sql
rem Purpose: Reports free memory available in the SGA
rem Author: Frank Naude, Oracle FAQ
rem -----------------------------------------------------------------------
select name,
trunc(sgasize/(1024*1024)) "Allocated (M)",
trunc(bytes/1024) "Free (K)",
round(bytes/sgasize*100, 2) "% Free"
from (select sum(bytes) sgasize from sys.v_$sgastat) s, sys.v_$sgastat f
where f.name = 'free memory'
/
If you question was about the automation of the ORA error in the alert.log, check attached script.
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2004 02:53 AM
тАО03-29-2004 02:53 AM
Re: Possible to monitor shared pool in Oracle?
got the pb myself a few month ago.
I replied in a previous thread on the subject.
cf . thread :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=479267
Usually, the 2 main possibilities are :
- shared memory is fragmented or
- shared meory is too small
(or a combination of these 2 !)
The SQL script has been a good help for us
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2004 02:58 AM
тАО03-29-2004 02:58 AM
Re: Possible to monitor shared pool in Oracle?
did not realise that thread was yours !
if you cron the SQL script and check for a limit on "Percentage Utilized" before you send an automatic email.
just a suggestion.
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2004 05:11 PM
тАО03-29-2004 05:11 PM
Re: Possible to monitor shared pool in Oracle?
Aside from increase sharepool.
Pining large package and using MTS (shared server) will help a lot on this issue.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2004 06:59 PM
тАО03-29-2004 06:59 PM
Re: Possible to monitor shared pool in Oracle?
Maybe that your sql are not using bind variable statements at all.
Did you check your statspack report?
regards
Yogeeraj