Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: most expeditious way to update a large number of rows

Re: most expeditious way to update a large number of rows

From: Brian Peasland <dba_at_nospam.peasland.net>
Date: Mon, 16 Oct 2006 21:30:05 GMT
Message-ID: <J78zqB.201@igsrsparc2.er.usgs.gov>


> Ok, help me understand. Approximately how much "redo" will my update
> generate? I'm modifiying a single varchar(19) field in every row
> (671,000 rows). Block size is 8kB.
>
> Thanks,
> Myles
>

You can verify this yourself. In your session, issue the following query:

SELECT value
FROM v$mystat m, v$statname s
WHERE m.statistic#=s.statistic#

   AND s.name='redo size';

Then run your UPDATE statement. Next, run the above query again. The difference between the two numbers should serve as a pretty good approximation.

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Mon Oct 16 2006 - 16:30:05 CDT

Original text of this message

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