RE: V$SQLAREA vs. V$SQLTEXT

2002-06-18 Thread Mark Leith

Not sure - but could it be that if the statement fits entirely in to the
V$sqlarea.sql_text field (varchar2(1000))?

-Original Message-
Sent: 18 June 2002 17:21
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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mark Leith
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



RE: V$SQLAREA vs. V$SQLTEXT

2002-06-18 Thread Sherman, Edward

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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).


* * * * * Freedom of Information Act Notice * * * * * 
The information in this email is subject to the record protection mandated
by 5 United States Code 552 (b) (4) and relevant judicial opinions.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Sherman, Edward
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).



RE: V$SQLAREA vs. V$SQLTEXT

2002-06-18 Thread Orr, Steve

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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).