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: Why does my insert creates so many logs?

RE: Why does my insert creates so many logs?

From: Fink, Dan <Dan.Fink_at_mdx.com>
Date: Thu, 19 Sep 2002 12:23:30 -0800
Message-ID: <F001.004D4431.20020919122330@fatcity.com>


This might sound like an exercise in pointlessness but here goes...

Are you sure you are generating the redo?

Use the following to get the sid of the sessions generating redo and then track back to the session/process/statement info. I realize that the query does not exactly query redo, but I have always found that the correlation between block_changes + consistent_changes and redo entries matches up. If there are others who can point out the fallacy of my thinking, I await enlightenment. (No jokes about changing _spin_count please...)

select sid, (block_changes + consistent_changes) from v$sess_io
where (block_changes + consistent_changes) > 5000 /* insert a reasonable value here */
order by 2 desc;

       SID (BLOCK_CHANGES+CONSISTENT_CHANGES)

---------- ----------------------------------
         8                             175079
         5                                308

Dan Fink
-----Original Message-----
Sent: Thursday, September 19, 2002 12:24 PM To: Multiple recipients of list ORACLE-L

All the indices are dropped and the PK is disabled. I agree that there are some changes to be done in the data disctinary tables, but the amount of archived logs - about 90M per minute looked too high to me


Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gurelei
  INET: gurelei_at_yahoo.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: Fink, Dan
  INET: Dan.Fink_at_mdx.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 Thu Sep 19 2002 - 15:23:30 CDT

Original text of this message

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