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: V$SQLAREA vs. V$SQLTEXT

RE: V$SQLAREA vs. V$SQLTEXT

From: Orr, Steve <sorr_at_rightnow.com>
Date: Tue, 18 Jun 2002 09:48:28 -0800
Message-ID: <F001.0048076A.20020618094828@fatcity.com>


Well I'm unclear about the inconsistent wording in the docs:

"V$SQLTEXT

This view contains the text of SQL statements belonging to shared SQL cursors in the SGA."

"V$SQLAREA

This view lists statistics on shared SQL area and contains one row per SQL string. It provides statistics on SQL statements that are in memory, parsed, and ready for execution."

-----Original Message-----
Sent: Tuesday, June 18, 2002 11:04 AM
To: Multiple recipients of list ORACLE-L

Did you join these tables by HASH_VALUE to other tables (or to each other) and discover that quirky bug relating to the 32 bit arithmetic?

HASH_VALUE in v$sqltext is signed whereas HASH_VALUE in v$sqlarea is unsigned.

This can cause joins to fail. Check for negative HASH_VALUE in v$sqltext.

http://www.jlcomp.demon.co.uk/lost_sql.html

Good Luck,
Ed

-----Original Message-----
Sent: Tuesday, June 18, 2002 12:21 PM
To: Multiple recipients of list ORACLE-L

Can a statement be in V$SQLAREA and not in V$SQLTEXT at the same time?

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Orr, Steve
  INET: sorr_at_rightnow.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Tue Jun 18 2002 - 12:48:28 CDT

Original text of this message

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