Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: QUERY?
Seema
Have you run an explain plan? Your query will likely do a full-table scan of both tables. Are theylarge?
Dennis Williams
DBA, 40%OCP
Lifetouch, Inc.
dwilliams_at_lifetouch.com
-----Original Message-----
Sent: Thursday, October 24, 2002 11:40 AM
To: Multiple recipients of list ORACLE-L
Hi
Can some one suggest whats wrong in this query?The same query run fine on
development db but not running on production?
select count(a.xxx_id)
from gorp_cats_stats_view a ,
static_pages b
where b.xxx_id = a.xxx_id and b.words like '%test%' and a.main not like '%test%' and a.url not like '%test%'
order by a.url
Thx
-Seema
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Seema Singh
INET: oracledbam_at_hotmail.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting servicesto: 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).
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting servicesto: 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 Thu Oct 24 2002 - 12:48:58 CDT
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message