Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL tuning help
check out the status in v$sess
Regards,
Sathyanarayanan
|--------+----------------------->
| | "Sergei" |
| | <sergei_at_netfl|
| | ip.com> |
| | |
| | 27/11/2002 |
| | 00:24 |
| | Please |
| | respond to |
| | ORACLE-L |
| | |
|--------+-----------------------> >------------------------------------------------------| | | | To: Multiple recipients of list ORACLE-L | | <ORACLE-L_at_fatcity.com> | | cc: (bcc: Sathyanaryanan K/VGIL) | | Subject: SQL tuning help | >------------------------------------------------------|
Hello everybody,
I have the following query that runs every week.
UPDATE tmp_brian_metareward1 tmp
SET offers_seen = (SELECT count(f.fastcash_id) FROM
metareward.fastcash f
WHERE f.subsite_id = tmp.subsite_id and attempt >= trunc(sysdate-1) and attempt < trunc(sysdate) group by tmp.subsite_id);
This week it began to hang and I can't figure out why. No changes were made to a database. Please advise me on how I can tune it, which hints to add, or anything else I can do.
Thank you
Sergei
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Sergei INET: sergei_at_netflip.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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Sathyanaryanan_K/VGIL_at_vguard.satyam.net.in 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 Tue Nov 26 2002 - 23:08:39 CST