How to use LogMiner to locate Archive Logs Flow [url=http://www.oraclepoint.com]JJVZq97bnOraclePointKOuWkjcaV[/url]
R. Wang [url=http://www.oraclepoint.com]dRkqMKdIUOraclePoint7OjUXsqxY[/url]
[url=http://www.oraclepoint.com]ot1S5ECRpOraclePointmtG8NXi4k[/url]
Keywords: logminer, STATSPACK, Archive log files
Environment: Oracle 9iR2 and Solaris 5.9
[url=http://www.oraclepoint.com]tXtDT8moVOraclePointUVJt03jRx[/url]
Circumstance: Without introduction of new jobs, we monitored rapid disk occupancy in very short period. The circumstance we encountered is that a new archive log file (18MB) is created every minute. And, the disk occupancy is rapidly increased as shown below.
[url=http://www.oraclepoint.com]oUET8xZ5AOraclePointxd5XMRHPk[/url]
-rw-r----- 1 oracle dba 18873856 Jul 24 20:38 PROD_0001_0000045102.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:39 PROD_0001_0000045103.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:40 PROD_0001_0000045104.arc
[url=http://www.oraclepoint.com]F3PaNkj7jOraclePointcf2PJMUdJ[/url]
-rw-r----- 1 oracle dba 18873856 Jul 24 20:41 PROD_0001_0000045105.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:41 PROD_0001_0000045106.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:43 PROD_0001_0000045107.arc
[url=http://www.oraclepoint.com]H4EIqhCEtOraclePointTL04Q3JrF[/url]
-rw-r----- 1 oracle dba 18873856 Jul 24 20:43 PROD_0001_0000045108.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:45 PROD_0001_0000045109.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:45 PROD_0001_0000045110.arc
[url=http://www.oraclepoint.com]tRBTthL0rOraclePointXTKhaElju[/url]
-rw-r----- 1 oracle dba 18873856 Jul 24 20:46 PROD_0001_0000045111.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:47 PROD_0001_0000045112.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:49 PROD_0001_0000045113.arc
[url=http://www.oraclepoint.com]Jlz45B3yROraclePointv801rQ2BA[/url]
-rw-r----- 1 oracle dba 18873856 Jul 24 20:50 PROD_0001_0000045114.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:51 PROD_0001_0000045115.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:52 PROD_0001_0000045116.arc
[url=http://www.oraclepoint.com]ZMAGkTRHuOraclePointVtTG456wz[/url]
-rw-r----- 1 oracle dba 18873856 Jul 24 20:53 PROD_0001_0000045117.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:54 PROD_0001_0000045118.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:56 PROD_0001_0000045119.arc
[url=http://www.oraclepoint.com]7pnOalOQTOraclePointeIUfhhfoH[/url]
-rw-r----- 1 oracle dba 18873856 Jul 24 20:56 PROD_0001_0000045120.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:57 PROD_0001_0000045121.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 20:58 PROD_0001_0000045122.arc
[url=http://www.oraclepoint.com]z6PjR03X3OraclePointxTpnPUQev[/url]
-rw-r----- 1 oracle dba 18873856 Jul 24 20:59 PROD_0001_0000045123.arc
-rw-r----- 1 oracle dba 18873856 Jul 24 21:00 PROD_0001_0000045124.arc
[url=http://www.oraclepoint.com]3sBMNKgssOraclePointEOWLDRbmi[/url]
Steps of Diagnosis 1.Checking on Memory, CPU, I/O
[url=http://www.oraclepoint.com]bf7TTP97fOraclePointTN0EFrFR5[/url]
With checking on memory, CPU and I/O, we failed to find any abnormal process that excessively consumes resource of database and OS.
[url=http://www.oraclepoint.com]Qyn932UE5OraclePointmghL8CHQV[/url]
Note: For reference on “Monitor Oracle Resouce Consumption in Unix”, please refer to the article in “oracle metalink” with Note: 148466.1.
2.Using Logminer to locate targeted archive log files
[url=http://www.oraclepoint.com]XPS3if2mkOraclePointis3d0rG8k[/url]
Then, we would like to look at what does the database do by examining archive log files created with Logminer.
[url=http://www.oraclepoint.com]8So35KZGHOraclePointcOYylnGeM[/url]
Before start using Logminer, please make sure of that you
•Log in with sys account with sysdba role
[url=http://www.oraclepoint.com]lVyM5hFXgOraclePointwedWbwAUq[/url]
•Never escape from the current session because the data viewing of logminer will not be available at other sessions.
The steps to use Logminer are depicted as following in details.
[url=http://www.oraclepoint.com]LtxTMBrAmOraclePointUGGgrcV4W[/url]
Continue...............
[url=http://www.oraclepoint.com]49uZvO4HqOraclePointpIAWUuJn7[/url]
See complete article in PDF as attachment. [url=http://www.oraclepoint.com]KU7xpD4MvOraclePointWiotbnd1Z[/url]