Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

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

RE: Direct SGA Access

From: Cary Millsap <cary.millsap_at_hotsos.com>
Date: Fri, 11 Apr 2003 11:13:37 -0800
Message-ID: <F001.0057FC90.20030411111337@fatcity.com>


I know what you mean. I can't imagine that 100 memcp/sec on a 2GB+ data structure wouldn't soak up a whole CPU.  

Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com

Upcoming events:
- Hotsos Clinic <http://www.hotsos.com/training/clinic101> 101 in London,
Reykjavik, Ottawa, Denver, Sydney
- Visit www.hotsos.com for schedule details...

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

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

Dick,  

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.
http://www.hotsos.com

Upcoming events:
- Hotsos Clinic <http://www.hotsos.com/training/clinic101> 101 in London,
Reykjavik, Ottawa, Denver, Sydney
- Visit www.hotsos.com for schedule details...

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

Raj,  

    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
Raj




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: http://www.orafaq.net
-- 
Author: Cary Millsap
  INET: cary.millsap_at_hotsos.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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 - 14:13:37 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US