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: determine log space used before a switch ?

Re: determine log space used before a switch ?

From: James Williams <willjamu_at_mindspring.com>
Date: Tue, 08 Apr 2003 23:50:38 GMT
Message-ID: <3e936030.1403967@nntp.mindspring.com>

connect internal    

set echo on
set linesize 150

REM blocks written to current log

SELECT LA.CPODR_BNO
FROM X$KCCCP LA ; REM Blocks size

SELECT LEBSZ
FROM X$KCCLE; REM current redo log usage percentage

SELECT LA.CPODR_BNO "curr blocks" ,(SELECT LA.CPODR_BNO/LE.LESIZ*100 FROM X$KCCLE LE WHERE ROWNUM = 1) "curr redo% used" FROM X$KCCCP LA
WHERE ROWNUM = 1;
-- WHERE CPODR_BNO > 0; On 8 Apr 2003 08:31:00 -0700, beingmeus_at_yahoo.com (Sravan) wrote:

>Hello,
>1) I was wondering it there is a way to find the the actual space used
>in a redolog, before it switches. My redologs are 200 MB.
>
>2) My alert log doesn't report any checkpoint information, is there a
>reason? Did I forget to turn on the magic switch. It does report the
>logswitch activity, though !!!
>
>Thanks
>Kevin
Received on Tue Apr 08 2003 - 18:50:38 CDT

Original text of this message

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