Skip to content
July 2, 2010 / doganay

ARCHIVELOG SIZE STATISTICS

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Hi,

If you want to know what size are your arhivelogs per day, you may use this sql:
select TRUNC(FIRST_TIME), round(SUM((BLOCKS*BLOCK_SIZE)/1024/1024/1024),0) AS TOTAL
FROM gV$ARCHIVED_LOG
WHERE TRUNC(FIRST_TIME) BETWEEN TO_DATE(‘03.06.2010′,’DD.MM.YYYY’) AND TO_DATE(‘03.07.2010′,’DD.MM.YYYY’)
GROUP BY TRUNC(FIRST_TIME)
ORDER BY 2 DESC;
try and pray 🙂
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: