Solved

Archive logs generated much frequently ~for every minute

Posted on 2011-09-03
2
499 Views
Last Modified: 2012-05-12
Hi
I recently cloned a prod database and noticed that there is lot of archival generation in the database even though there are no users logged on to the cloned db. There is an archive log generation for every 1 min. At the os level, using top I noticed a process that is consuming 100% of CPU and when I queried v$session, I came to know that it is SMON. When I used log miner on the archive logs, it contained the following output.

SQL> SELECT OPERATION, SQL_UNDO FROM V$LOGMNR_CONTENTS;
COMMIT commit;
START set transaction read write;
UPDATE update "SYS"."UNDO$" set "NAME" = '_SYSSMU20_4045053467$', "USER#
" = '1', "FILE#" = '5', "BLOCK#" = '272', "SCNBAS" = '1308346655'
, "SCNWRP" = '8', "XACTSQN" = '20660', "UNDOSQN" = '6922', "INST#
" = '2', "STATUS$" = '6', "TS#" = '5', "SPARE1" = '2' where "NAME
" = '_SYSSMU20_4045053467$' and "USER#" = '1' and "FILE#" = '5' a
nd "BLOCK#" = '272' and "SCNBAS" = '1308346655' and "SCNWRP" = '8
' and "XACTSQN" = '20660' and "UNDOSQN" = '6922' and "INST#" = '2
' and "STATUS$" = '6' and "TS#" = '5' and "SPARE1" = '2' and ROWI
D = 'AAAAAPAABAAAADhAAU';

COMMIT commit;
START set transaction read write;
................................................
...............................................

and the same thing repeating...

It would be grateful if I can get any kind of help to figure out what is causing the archivelog generation
0
Comment
Question by:ajaybelde
2 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 500 total points
ID: 36480173
As You've cloned from Prod You got Production Undo retention which is set to less then 1 minute (typical) for production,You might want to change it at cloned database to 1 hour and get improve d cpu timer
0
 
LVL 7

Expert Comment

by:Docteur_Z
ID: 36484944
What are your undo parameters on both env ?
Is there any schedule job in DB ?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now