Solved

Archive logs generated much frequently ~for every minute

Posted on 2011-09-03
2
588 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

624 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