How to use LogMiner to locate Archive Logs Flow [url=http://www.oraclepoint.com]g3ON0BTiBOraclePointo7X4lsDQp[/url]
R. Wang [url=http://www.oraclepoint.com]w62GhXMwIOraclePoint1r8OOzdbz[/url]
[url=http://www.oraclepoint.com]evYgZV5T7OraclePointmWNSJJJQr[/url]
Keywords: logminer, STATSPACK, Archive log files
Environment: Oracle 9iR2 and Solaris 5.9
[url=http://www.oraclepoint.com]hcdqTLnhZOraclePointdA2SfmqBC[/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]B7V9jsM23OraclePointVBICjkgP4[/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]r4bHXc9p8OraclePointlW0nY69Xe[/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]rjVj5Xr87OraclePointSdLLLFnSc[/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]FQID3eCf4OraclePoint9eQdLzzvu[/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]McrIuLU7XOraclePointajp3p7Asy[/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]fvTZtypM0OraclePointfBuQNN9W9[/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]Jr5hHeM0JOraclePointJA29gmS6V[/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]GliFGj1XxOraclePointDVKBf27C0[/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]aP9jY0aWfOraclePointDobZuC81J[/url]
Steps of Diagnosis 1.Checking on Memory, CPU, I/O
[url=http://www.oraclepoint.com]hrgUu2fwWOraclePointWtYVJnUtC[/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]UKY1NDRmxOraclePointTjodGV0bG[/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]174NTmlpwOraclePointP0fRUpqK3[/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]tcfhvELPLOraclePointhOmnFjhS3[/url]
Before start using Logminer, please make sure of that you
•Log in with sys account with sysdba role
[url=http://www.oraclepoint.com]J5h6Khbb2OraclePointGIC02eeZQ[/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]ilfuItXwzOraclePoint7UHzdCXZM[/url]
Continue...............
[url=http://www.oraclepoint.com]52nw8wz7oOraclePointTbDj0pFux[/url]
See complete article in PDF as attachment. [url=http://www.oraclepoint.com]zHkoE5w4YOraclePointyQyALpo9n[/url]