Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Direct SGA Access

RE: Direct SGA Access

From: Gogala, Mladen <>
Date: Fri, 11 Apr 2003 08:19:11 -0800
Message-ID: <>

The other solution would be to redefine a second. I am still inclined to consider a bigger box
before trying to shmat an SGA of a database.

-----Original Message-----
Sent: Friday, April 11, 2003 11:54 AM
To: Multiple recipients of list ORACLE-L


To answer your question about motive, the reason someone might want to is that unless you can poll the V$ structures 100 times per second, you miss important event occurrences. It's impossible to do this with SQL. Not difficult. Impossible.  

One test that'll be documented in my book in a few months is a query upon a 50-row V$SESSION fixed view. Our 800MHz Linux server can only do about 65 queries/second. And that's just one of about 30 fixed views that would need to be queried. And that's just with 50 sessions going (not the hundreds that most people have).  

Cary Millsap
Hotsos Enterprises, Ltd. <>

Upcoming events:
- Hotsos <> Clinic 101 in London,
Reykjavik, Ottawa, Denver, Sydney
- Visit <> for schedule details...

-----Original Message-----
Sent: Thursday, April 10, 2003 4:59 PM
To: Multiple recipients of list ORACLE-L  


    Why are you trying to access the SGA? There are plenty of dynamic performance views to extract data from & messing with the SGA may cause your DB to crash.  

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-----Original Message-----
Sent: Thursday, April 10, 2003 5:39 PM
To: Multiple recipients of list ORACLE-L

Has anyone been able to make direct SGA access work for 64 bit databases? My C knowledge is as good as my lisp knowledge, i.e. just about zero.

I tried playing with the xksuse.c, but all it does is dumps core ...

If anyone has done this successfully, could you please let me know what needs to be changed in the code?

Thanks in advance

Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. QOTD: Any clod can have facts, having an opinion is an art !
Please see the official ORACLE-L FAQ:
Author: Gogala, Mladen

Fat City Network Services    -- 858-538-5051
San Diego, California        -- Mailing list and web hosting services
To REMOVE yourself from this mailing list, send an E-Mail message
to: (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Apr 11 2003 - 11:19:11 CDT

Original text of this message