WARNING - Last redo log file switch interval was 6 minutes. Next interval p

Hello!
I just started monitoring my Oracle via ConSol Nagios script.
Now it show`s a Warning because:
WARNING - Last redo log file switch interval was 6 minutes. Next interval presumably >2 minutes. Second incident in a row.
As I do not know much about Oracle I do not understand that message.
a) What does it mean ?
b) Is it really critical ?
Thanks!

>
I just started monitoring my Oracle via ConSol Nagios script.
Now it show`s a Warning because:
WARNING - Last redo log file switch interval was 6 minutes. Next interval presumably >2 minutes. Second incident in a row.
As I do not know much about Oracle I do not understand that message.
a) What does it mean ?
b) Is it really critical ?
>
First of all: This is not an Oracle Error message. Instead, you have a somewhat arbitrarily threshold set in your non-Oracle monitoring tool. If this happens only once in a while - ignore it or modify the threshold.
Generally, frequent fast logswitches can be the cause of performance problems.
If you have Oracle Enterprise Manager in place and Diagnostic Pack licensed, it would give you a much more qualified statement about your Database performance. Also a recommendation to increase the Logfile size in case.
If you look for a procedure to increase the size of your logfiles:
http://uhesse.wordpress.com/2010/01/20/how-to-change-the-size-of-online-redologs/
Kind regards
Uwe Hesse
http://uhesse.wordpress.com

Similar Messages

  • Bottleneck when switching the redo log files.

    Hello All,
    I am using Oracle 11.2.0.3.
    The application team reported that they are facing slowness at certain time.
    I monitored the database and I found that at some switching of the redo log files (not always) I am facing a slowness at the application level.
    I have 2 threads since my database is RAC, each thread have 3 redo log groups multiplexed to the FRA, with size 300 MB each.
    Is there any way to optimize the switch of redo log files? knowing that my database is running in ARCHIVELOG mode.
    Regards,

    Hello Nikolay,
    Thanks for your input I am sharing with you the below information. I have 2 instances so I will provide the info from each instance
    Instance 1:
    Load Profile              Per Second    Per Transaction   Per Exec   Per Call
    ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------
          DB Time(s):                4.9                0.0       0.00       0.00
           DB CPU(s):                1.1                0.0       0.00       0.00
           Redo size:        3,014,876.2            3,660.4
       Logical reads:           32,619.3               39.6
       Block changes:            7,969.0                9.7
      Physical reads:                0.2                0.0
    Physical writes:              164.0                0.2
          User calls:            7,955.4                9.7
              Parses:              288.9                0.4
         Hard parses:               96.0                0.1
    W/A MB processed:                0.2                0.0
              Logons:                0.9                0.0
            Executes:            2,909.4                3.5
           Rollbacks:                0.0                0.0            
    Instance 2:
    Load Profile              Per Second    Per Transaction   Per Exec   Per Call
    ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------
          DB Time(s):                5.5                0.0       0.00       0.00
           DB CPU(s):                1.4                0.0       0.00       0.00
           Redo size:        3,527,737.9            3,705.7
       Logical reads:           29,916.5               31.4
       Block changes:            8,893.7                9.3
      Physical reads:                0.2                0.0
    Physical writes:              194.0                0.2
          User calls:            7,742.8                8.1
              Parses:              262.7                0.3
         Hard parses:               99.5                0.1
    W/A MB processed:                0.4                0.0
              Logons:                1.0                0.0
            Executes:            2,822.5                3.0
           Rollbacks:                0.0                0.0
        Transactions:              952.0
    Instance 1:
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    DB CPU                                            1,043          21.5
    log file sync                       815,334         915      1   18.9 Commit
    gc buffer busy acquire              323,759         600      2   12.4 Cluster
    gc current block busy               215,132         585      3   12.1 Cluster
    enq: TX - row lock contention        23,284         264     11    5.5 Applicatio
    Instance 2:
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    DB CPU                                            1,340          24.9
    log file sync                       942,962       1,125      1   20.9 Commit
    gc buffer busy acquire              377,812         594      2   11.0 Cluster
    gc current block busy               211,270         488      2    9.1 Cluster
    enq: TX - row lock contention        30,094         299     10    5.5 Applicatio
    Instance 1:
    Operating System Statistics        Snaps: 1016-1017
    -> *TIME statistic values are diffed.
       All others display actual values.  End Value is displayed if different
    -> ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
    Statistic                                  Value        End Value
    AVG_BUSY_TIME                             17,451
    AVG_IDLE_TIME                             81,268
    AVG_IOWAIT_TIME                                1
    AVG_SYS_TIME                               6,854
    AVG_USER_TIME                             10,548
    BUSY_TIME                                420,031
    IDLE_TIME                              1,951,741
    IOWAIT_TIME                                  288
    SYS_TIME                                 165,709
    USER_TIME                                254,322
    LOAD                                           3                6
    OS_CPU_WAIT_TIME                         523,000
    RSRC_MGR_CPU_WAIT_TIME                         0
    VM_IN_BYTES                              311,280
    VM_OUT_BYTES                          75,862,008
    PHYSICAL_MEMORY_BYTES             62,813,896,704
    NUM_CPUS                                      24
    NUM_CPU_CORES                                  6
    NUM_LCPUS                                     24
    NUM_VCPUS                                      6
    GLOBAL_RECEIVE_SIZE_MAX                4,194,304
    GLOBAL_SEND_SIZE_MAX                   4,194,304
    TCP_RECEIVE_SIZE_DEFAULT                  16,384
    TCP_RECEIVE_SIZE_MAX      9.2233720368547758E+18
    TCP_RECEIVE_SIZE_MIN                       4,096
    TCP_SEND_SIZE_DEFAULT                     16,384
    TCP_SEND_SIZE_MAX         9.2233720368547758E+18
    TCP_SEND_SIZE_MIN                          4,096
    Operating System Statistics - Detail  Snaps: 1016-101
    Snap Time           Load    %busy    %user     %sys    %idle  %iowait
    22-Aug 11:33:55      2.7      N/A      N/A      N/A      N/A      N/A
    22-Aug 11:50:23      6.2     17.7     10.7      7.0     82.3      0.0
    Instance 2:
    Operating System Statistics         Snaps: 1016-1017
    -> *TIME statistic values are diffed.
       All others display actual values.  End Value is displayed if different
    -> ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
    Statistic                                  Value        End Value
    AVG_BUSY_TIME                             11,823
    AVG_IDLE_TIME                             86,923
    AVG_IOWAIT_TIME                                0
    AVG_SYS_TIME                               4,791
    AVG_USER_TIME                              6,991
    BUSY_TIME                                475,210
    IDLE_TIME                              3,479,382
    IOWAIT_TIME                                  410
    SYS_TIME                                 193,602
    USER_TIME                                281,608
    LOAD                                           3                6
    OS_CPU_WAIT_TIME                         615,400
    RSRC_MGR_CPU_WAIT_TIME                         0
    VM_IN_BYTES                               16,360
    VM_OUT_BYTES                          72,699,920
    PHYSICAL_MEMORY_BYTES             62,813,896,704
    NUM_CPUS                                      40
    NUM_CPU_CORES                                 10
    NUM_LCPUS                                     40
    NUM_VCPUS                                     10
    GLOBAL_RECEIVE_SIZE_MAX                4,194,304
    GLOBAL_SEND_SIZE_MAX                   4,194,304
    TCP_RECEIVE_SIZE_DEFAULT                  16,384
    TCP_RECEIVE_SIZE_MAX      9.2233720368547758E+18
    TCP_RECEIVE_SIZE_MIN                       4,096
    TCP_SEND_SIZE_DEFAULT                     16,384
    TCP_SEND_SIZE_MAX         9.2233720368547758E+18
    TCP_SEND_SIZE_MIN                          4,096
    Operating System Statistics - Detail Snaps: 1016-101
    Snap Time           Load    %busy    %user     %sys    %idle  %iowait
    22-Aug 11:33:55      2.6      N/A      N/A      N/A      N/A      N/A
    22-Aug 11:50:23      5.6     12.0      7.1      4.9     88.0      0.0
              -------------------------------------------------------------

  • T is frequently switching the redo log files within 5min approx..

    i am facing frequent switching of redo logs within 5minutes
    can you please tell how to resolve
    thanks for help

    Hi,
    I found this:
    More frequent log switches may result in decreased performance. If your redo logs switches so faster Oracle will stop processing until the checkpoint completes successfully. Generally it is recommended to size your redo log file in a way that Oracle performs a log switch every 15 to 30 minutes.
    A recommended approach is to
    Query V$LOG view to determine the current size of the redo log members.
    Record the number of log switches per hour.
    Increase the log file size so that Oracle switches at the recommended rate of one switch per 15 to 30 minutes.
    You can also check messages in the alert log in order to determine how fast Oracle is filling and switching logs. Suppose if your database redo log file size is set to 1MB. It means that Oracle switches the logs every 1 minute. So you will need to increase the size of redo log file to 30MB so that Oracle switches per 30 minutes.
    It is also recommended to ensure that your online redo log files do not switch too often during high activity time. Instead in the period of high activity it should switch less while it should switch enough times during the time of low processing workloads. Many database administrators create PL/SQL programs to ensure that the logs switch every 15 to 30 minutes during times when activity is low.
    Oracle ARCHIVE_LAG_TARGET can also be used to force a log switch after the specified amount of time elapses. The basic purpose of ARCHIVE_LAG_TARGET parameter is to control the amount of data that is lost and effectively increasing the availability of the standby database but many database administrators set ARCHIVE_LAG_TARGET parameter to make sure that the logs switch at regular intervals during lower activity time periods.
    You should also keep in mind that how the size of the online redo log files will affect the instance recovery. Remember the lesser the checkpoints are taken; the longer will be the instance recovery duration. You can decrease the instance recovery time by appropriately setting the LOG_CHECKPOINT_TIMEOUT, LOG_CHECKPOINT_INTERVAL and FAST_START_MTTR_TARGET parameters.

  • Status of online redo log file INVALID warning appears during online backup

    Hi All,
    I have a peculiar problem in one of the SAP ECC 6.0 systems. The daily online backup is getting completed with warnings.
    Please find below the warnings in DB12 logs:
    BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g18m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogB/log_g18m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g50_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g50_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g51_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogB/log_g51_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g52_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g52_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g53_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g53_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g54_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g54_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g55_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g55_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g56_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g56_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g57_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogB/log_g57_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g58_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g58_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g59_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogB/log_g59_m2.dbf' not found
    For the above mentioned alerts I followed the recommendations of SAP Note 491160. I dropped and recreated the mirrorlog files. But the next day again when I checked the backup it finished with warnings. At the database level there is no problem
    SQL> select * from v$logfile;
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            59         ONLINE
    /oracle/AS0/origlogB/log_g59_m1.dbf
    NO
            59         ONLINE
    /oracle/AS0/mirrlogB/log_g59_m2.dbf
    NO
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            58         ONLINE
    /oracle/AS0/origlogA/log_g58_m1.dbf
    NO
            58         ONLINE
    /oracle/AS0/mirrlogA/log_g58_m2.dbf
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    NO
            57         ONLINE
    /oracle/AS0/origlogB/log_g57_m1.dbf
    NO
            57         ONLINE
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    /oracle/AS0/mirrlogB/log_g57_m2.dbf
    NO
            56         ONLINE
    /oracle/AS0/origlogA/log_g56_m1.dbf
    NO
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            56         ONLINE
    /oracle/AS0/mirrlogA/log_g56_m2.dbf
    NO
            55         ONLINE
    /oracle/AS0/origlogA/log_g55_m1.dbf
    NO
            54         ONLINE
    /oracle/AS0/origlogA/log_g54_m1.dbf
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    NO
            54         ONLINE
    /oracle/AS0/mirrlogA/log_g54_m2.dbf
    NO
            53         ONLINE
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    /oracle/AS0/origlogA/log_g53_m1.dbf
    NO
            53         ONLINE
    /oracle/AS0/mirrlogA/log_g53_m2.dbf
    NO
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            52         ONLINE
    /oracle/AS0/origlogA/log_g52_m1.dbf
    NO
            52         ONLINE
    /oracle/AS0/mirrlogA/log_g52_m2.dbf
    NO
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            51         ONLINE
    /oracle/AS0/origlogB/log_g51_m1.dbf
    NO
            51         ONLINE
    /oracle/AS0/mirrlogB/log_g51_m2.dbf
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    NO
            50         ONLINE
    /oracle/AS0/origlogA/log_g50_m1.dbf
    NO
            50         ONLINE
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    /oracle/AS0/mirrlogA/log_g50_m2.dbf
    NO
             8         ONLINE
    /oracle/AS0/origlogB/log_g18m1.dbf
    As you can see from the above output at the database level everything is fine. So why during backup it is giving me warnings in DB12. Any help with this regard will be appreciated.
    Regards
    Mitesh Nair

    Hi Joe,
    My OS is HP-UX. I dont think its a permission problem. Please find below the contents of origlogA and mirrlogA
    predbci2:/oracle/AS0/origlogA#ls -rtl
    total 1433712
    drwxrwxrwx   2 oraas0     dba             96 Oct 15 03:27 cntrl
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 01:50 log_g52_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 03:51 log_g50_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 05:51 log_g54_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 07:52 log_g53_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 09:50 log_g55_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 10:50 log_g56_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 12:41 log_g58_m1.dbf
    predbci2:/oracle/AS0/mirrlogA#ls -rtl
    total 1433728
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 01:50 log_g52_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 03:51 log_g50_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 05:51 log_g54_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 07:52 log_g53_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 09:50 log_g55_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 10:50 log_g56_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 12:41 log_g58_m2.dbf
    Regards
    Mitesh

  • Too much redo log files...

    Hi,
    I have a very light application in Oracle 9.2.0.7 in Linux-32bits that is generating 400 logfiles a day. I can´t find why those logs are being generated!
    The only thing relevant in that application is a big table that serves only for insert command (1000 per hour) for audit reasons. But this table was created with NOLOGGING option.
    Redo Size: 4 groups of 40 Mb each.
    The insert statement uses a sequence to generate a unique key. Is this sequence causing my big logfile generation?
    Thanks,
    Paulo.

    Here is the statspack:
    STATSPACK report for
    DB Name         DB Id    Instance     Inst Num Release     Cluster Host
    DB             378381468 DB                  1 9.2.0.7.0   NO      host
                Snap Id     Snap Time      Sessions Curs/Sess Comment
    Begin Snap:      12 28-Jun-07 11:05:11       26   1,198.7
      End Snap:      13 28-Jun-07 12:05:24       29   1,077.2
       Elapsed:               60.22 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:       512M      Std Block Size:         8K
               Shared Pool Size:       512M          Log Buffer:     5,120K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:            281,252.38              2,073.48
                  Logical reads:             73,113.76                539.02
                  Block changes:              3,133.29                 23.10
                 Physical reads:                  3.24                  0.02
                Physical writes:                 21.39                  0.16
                     User calls:                 26.12                  0.19
                         Parses:                145.64                  1.07
                    Hard parses:                  0.81                  0.01
                          Sorts:                138.33                  1.02
                         Logons:                  0.69                  0.01
                       Executes:                443.27                  3.27
                   Transactions:                135.64
      % Blocks changed per Read:    4.29    Recursive Call %:    98.97
    Rollback per transaction %:    0.13       Rows per Sort:    17.26
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:   99.99       Redo NoWait %:  100.00
                Buffer  Hit   %:  100.00    In-memory Sort %:   99.99
                Library Hit   %:   99.66        Soft Parse %:   99.44
             Execute to Parse %:   67.14         Latch Hit %:   99.93
    Parse CPU to Parse Elapsd %:   55.03     % Non-Parse CPU:   99.22
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   91.06   91.23
        % SQL with executions>1:   44.54   39.78
      % Memory for SQL w/exec>1:   43.09   33.89
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                                     % Total
    Event                                               Waits    Time (s) Ela Time
    CPU time                                                        3,577    84.73
    log file parallel write                           854,726         359     8.51
    row cache lock                                     56,780         104     2.47
    process startup                                       172          91     2.16
    SQL*Net message from dblink                         5,001          22      .53
    Wait Events for DB: DB  Instance: DB  Snaps: 12 -13
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                         Total Wait   wait    Waits
    Event                               Waits   Timeouts   Time (s)   (ms)     /txn
    log file parallel write           854,726          0        359      0      1.7
    row cache lock                     56,780          0        104      2      0.1
    process startup                       172          4         91    530      0.0
    SQL*Net message from dblink         5,001          0         22      4      0.0
    log file sync                       3,015          3         19      6      0.0
    enqueue                               471          1          9     20      0.0
    buffer busy waits                  20,290          0          8      0      0.0
    db file sequential read             3,853          0          6      2      0.0
    SQL*Net more data from dblin       88,584          0          5      0      0.2
    control file parallel write         1,704          0          5      3      0.0
    latch free                          1,404        748          4      3      0.0
    single-task message                   134          0          4     27      0.0
    LGWR wait for redo copy             8,230          1          2      0      0.0
    log file switch completion             60          0          2     32      0.0
    log file sequential read            1,333          0          2      1      0.0
    control file sequential read        4,530          0          1      0      0.0
    db file scattered read                246          0          0      1      0.0
    SQL*Net more data to client         7,292          0          0      0      0.0
    SQL*Net break/reset to clien           72          0          0      1      0.0
    db file parallel write              4,568          0          0      0      0.0
    log file single write                  62          0          0      0      0.0
    async disk IO                       3,410          0          0      0      0.0
    SQL*Net message to dblink           5,001          0          0      0      0.0
    direct path read (lob)                 84          0          0      0      0.0
    direct path read                      318          0          0      0      0.0
    direct path write                     312          0          0      0      0.0
    buffer deadlock                       115        115          0      0      0.0
    SQL*Net message from client        86,475          0     27,758    321      0.2
    jobq slave wait                     4,594      4,532     13,455   2929      0.0
    SQL*Net more data from clien          602          0          1      2      0.0
    SQL*Net message to client          86,481          0          0      0      0.2
    Background Wait Events for DB: DB  Instance: DB  Snaps: 12 -13
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                         Total Wait   wait    Waits
    Event                               Waits   Timeouts   Time (s)   (ms)     /txn
    log file parallel write           854,744          0        359      0      1.7
    control file parallel write         1,704          0          5      3      0.0
    LGWR wait for redo copy             8,230          1          2      0      0.0
    log file sequential read            1,333          0          2      1      0.0
    control file sequential read        1,849          0          1      1      0.0
    db file parallel write              4,567          0          0      0      0.0
    latch free                             74          0          0      0      0.0
    rdbms ipc reply                        65          0          0      0      0.0
    log file single write                  62          0          0      0      0.0
    async disk IO                       3,410          0          0      0      0.0
    db file sequential read                 1          0          0      8      0.0
    buffer busy waits                       5          0          0      0      0.0
    direct path read                      248          0          0      0      0.0
    direct path write                     248          0          0      0      0.0
    rdbms ipc message                 868,357      6,776     30,095     35      1.8
    pmon timer                          1,204      1,204      3,529   2931      0.0
    smon timer                            154          0      3,514  22816      0.0
    Instance Activity Stats for DB: DB  Instance: DB  Snaps: 12 -13
    Statistic                                      Total     per Second    per Trans
    active txn count during cleanout               2,844            0.8          0.0
    background checkpoints completed                  31            0.0          0.0
    background checkpoints started                    31            0.0          0.0
    background timeouts                            7,956            2.2          0.0
    branch node splits                                15            0.0          0.0
    buffer is not pinned count               324,721,116       89,875.8        662.6
    buffer is pinned count                   308,901,876       85,497.3        630.3
    bytes received via SQL*Net from c          8,048,130        2,227.6         16.4
    bytes received via SQL*Net from d        181,575,342       50,256.1        370.5
    bytes sent via SQL*Net to client          33,964,494        9,400.6         69.3
    bytes sent via SQL*Net to dblink             933,170          258.3          1.9
    calls to get snapshot scn: kcmgss          9,900,434        2,740.2         20.2
    calls to kcmgas                              985,222          272.7          2.0
    calls to kcmgcs                               11,669            3.2          0.0
    change write time                              9,910            2.7          0.0
    cleanout - number of ktugct calls             18,903            5.2          0.0
    cleanouts and rollbacks - consist                 33            0.0          0.0
    cleanouts only - consistent read                 932            0.3          0.0
    cluster key scan block gets                  289,955           80.3          0.6
    cluster key scans                            101,840           28.2          0.2
    commit cleanout failures: block l                  0            0.0          0.0
    commit cleanout failures: buffer                 113            0.0          0.0
    commit cleanout failures: callbac                 96            0.0          0.0
    commit cleanout failures: cannot               3,095            0.9          0.0
    commit cleanouts                           1,966,376          544.3          4.0
    commit cleanouts successfully com          1,963,072          543.3          4.0
    commit txn count during cleanout             309,283           85.6          0.6
    consistent changes                         5,245,452        1,451.8         10.7
    consistent gets                          242,967,989       67,248.3        495.8
    consistent gets - examination            135,768,580       37,577.8        277.0
    CPU used by this session                     357,659           99.0          0.7
    CPU used when call started                   344,951           95.5          0.7
    CR blocks created                                768            0.2          0.0
    current blocks converted for CR                    0            0.0          0.0
    cursor authentications                           886            0.3          0.0
    data blocks consistent reads - un              1,760            0.5          0.0
    db block changes                          11,320,580        3,133.3         23.1
    db block gets                             21,192,200        5,865.5         43.2
    DBWR buffers scanned                               0            0.0          0.0
    DBWR checkpoint buffers written               69,649           19.3          0.1
    DBWR checkpoints                                  31            0.0          0.0
    DBWR free buffers found                            0            0.0          0.0
    DBWR lru scans                                     0            0.0          0.0
    DBWR make free requests                            0            0.0          0.0
    DBWR revisited being-written buff                  0            0.0          0.0
    DBWR summed scan depth                             0            0.0          0.0
    DBWR transaction table writes                  2,070            0.6          0.0
    DBWR undo block writes                        44,323           12.3          0.1
    deferred (CURRENT) block cleanout            745,333          206.3          1.5
    dirty buffers inspected                            1            0.0          0.0
    enqueue conversions                            8,193            2.3          0.0
    enqueue deadlocks                                  1            0.0          0.0
    enqueue releases                           2,002,960          554.4          4.1
    enqueue requests                           2,002,963          554.4          4.1
    enqueue timeouts                                   3            0.0          0.0
    enqueue waits                                    451            0.1          0.0
    Instance Activity Stats for DB: DB  Instance: DB  Snaps: 12 -13
    Statistic                                      Total     per Second    per Trans
    exchange deadlocks                               115            0.0          0.0
    execute count                              1,601,528          443.3          3.3
    free buffer inspected                             30            0.0          0.0
    free buffer requested                      1,196,628          331.2          2.4
    hot buffers moved to head of LRU              26,707            7.4          0.1
    immediate (CR) block cleanout app                965            0.3          0.0
    immediate (CURRENT) block cleanou             10,817            3.0          0.0
    index fast full scans (full)                       0            0.0          0.0
    index fetch by key                       131,028,270       36,265.8        267.4
    index scans kdiixs1                       17,868,907        4,945.7         36.5
    leaf node splits                               4,528            1.3          0.0
    leaf node 90-10 splits                         3,017            0.8          0.0
    logons cumulative                              2,499            0.7          0.0
    messages received                            859,631          237.9          1.8
    messages sent                                859,631          237.9          1.8
    no buffer to keep pinned count                21,253            5.9          0.0
    no work - consistent read gets            87,667,752       24,264.5        178.9
    opened cursors cumulative                    528,984          146.4          1.1
    OS Involuntary context switches                    0            0.0          0.0
    OS Page faults                                     0            0.0          0.0
    OS Page reclaims                                   0            0.0          0.0
    OS System time used                                0            0.0          0.0
    OS User time used                                  0            0.0          0.0
    OS Voluntary context switches                      0            0.0          0.0
    parse count (failures)                             7            0.0          0.0
    parse count (hard)                             2,928            0.8          0.0
    parse count (total)                          526,209          145.6          1.1
    parse time cpu                                 2,778            0.8          0.0
    parse time elapsed                             5,048            1.4          0.0
    physical reads                                11,690            3.2          0.0
    physical reads direct                          6,698            1.9          0.0
    physical reads direct (lob)                      102            0.0          0.0
    physical writes                               77,270           21.4          0.2
    physical writes direct                         7,620            2.1          0.0
    physical writes direct (lob)                       0            0.0          0.0
    physical writes non checkpoint                33,360            9.2          0.1
    pinned buffers inspected                           0            0.0          0.0
    prefetched blocks                                799            0.2          0.0
    prefetched blocks aged out before                  0            0.0          0.0
    process last non-idle time                     3,630            1.0          0.0
    recursive calls                            9,053,277        2,505.8         18.5
    recursive cpu usage                          255,973           70.9          0.5
    redo blocks written                        2,572,625          712.1          5.3
    redo buffer allocation retries                    50            0.0          0.0
    redo entries                               3,074,994          851.1          6.3
    redo log space requests                           60            0.0          0.0
    redo log space wait time                         193            0.1          0.0
    redo ordering marks                                0            0.0          0.0
    redo size                              1,016,164,852      281,252.4      2,073.5
    redo synch time                                1,956            0.5          0.0
    redo synch writes                              5,317            1.5          0.0
    redo wastage                             259,689,040       71,876.3        529.9
    redo write time                               37,488           10.4          0.1
    redo writer latching time                        242            0.1          0.0
    redo writes                                  854,744          236.6          1.7
    rollback changes - undo records a              1,098            0.3          0.0
    Instance Activity Stats for DB: DB  Instance: DB  Snaps: 12 -13
    Statistic                                      Total     per Second    per Trans
    rollbacks only - consistent read                 747            0.2          0.0
    rows fetched via callback                117,908,375       32,634.5        240.6
    session connect time                               0            0.0          0.0
    session cursor cache count                        16            0.0          0.0
    session cursor cache hits                    484,372          134.1          1.0
    session logical reads                    264,160,020       73,113.8        539.0
    session pga memory                        16,473,320        4,559.5         33.6
    session pga memory max                    16,914,080        4,681.5         34.5
    session uga memory                    17,216,514,728    4,765,157.7     35,130.3
    session uga memory max                 1,865,036,296      516,201.6      3,805.6
    shared hash latch upgrades - no w         17,251,803        4,774.9         35.2
    shared hash latch upgrades - wait             24,671            6.8          0.1
    sorts (disk)                                      32            0.0          0.0
    sorts (memory)                               499,747          138.3          1.0
    sorts (rows)                               8,626,333        2,387.6         17.6
    SQL*Net roundtrips to/from client             80,069           22.2          0.2
    SQL*Net roundtrips to/from dblink              5,001            1.4          0.0
    summed dirty queue length                          0            0.0          0.0
    switch current to new buffer                       1            0.0          0.0
    table fetch by rowid                     238,882,317       66,117.4        487.4
    table fetch continued row                  4,436,670        1,228.0          9.1
    table scan blocks gotten                   5,066,302        1,402.2         10.3
    table scan rows gotten                   134,679,712       37,276.4        274.8
    table scans (direct read)                          0            0.0          0.0
    table scans (long tables)                        447            0.1          0.0
    table scans (short tables)                   152,382           42.2          0.3
    transaction rollbacks                            530            0.2          0.0
    transaction tables consistent rea                  0            0.0          0.0
    transaction tables consistent rea                  0            0.0          0.0
    user calls                                    94,382           26.1          0.2
    user commits                                 489,423          135.5          1.0
    user rollbacks                                   653            0.2          0.0
    write clones created in backgroun                 11            0.0          0.0
    write clones created in foregroun                878            0.2          0.0
    Tablespace IO Stats for DB: DB  Instance: DB  Snaps: 12 -13
    ->ordered by IOs (Reads + Writes) desc
    Tablespace
                     Av      Av     Av                    Av        Buffer Av Buf
             Reads Reads/s Rd(ms) Blks/Rd       Writes Writes/s      Waits Wt(ms)
    T1_UNDO
                31       0    0.0     1.0       46,535       13        344    0.4
    T1       
                31       0    0.0     1.0       13,754        4      3,657    0.4
    T2     
             3,308       1    0.8     1.1        2,973        1          0    0.0
    T3       
                31       0    0.0     1.0        5,710        2     16,240    0.4
    T4     
               555       0    4.0     1.0          600        0          0    0.0
    SYSTEM
               429       0    3.9     2.5          280        0         49    0.2
    TEMP
               134       0    0.4    48.1          238        0          0    0.0
    T1_16K          
                31       0    0.0     1.0           31        0          0    0.0
    T2_16K     
                31       0    0.0     1.0           31        0          0    0.0
    Buffer Pool Statistics for DB: DB  Instance: DB  Snaps: 12 -13
    -> Standard block size Pools  D: default,  K: keep,  R: recycle
    -> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
                                                               Free    Write  Buffer
         Number of Cache      Buffer    Physical   Physical  Buffer Complete    Busy
    P      Buffers Hit %        Gets       Reads     Writes   Waits    Waits   Waits
    D       49,625 100.0 263,975,320       4,909     69,666       0        0  20,290
    16k      7,056 100.0          30           0          0       0        0       0
    Instance Recovery Stats for DB: DB  Instance: DB  Snaps: 12 -13
    -> B: Begin snapshot,  E: End snapshot
      Targt Estd                                    Log File   Log Ckpt   Log Ckpt
      MTTR  MTTR   Recovery    Actual     Target      Size     Timeout    Interval
       (s)   (s)   Estd IOs  Redo Blks  Redo Blks  Redo Blks  Redo Blks  Redo Blks
    B     0     0                 10518      10000      73728     186265      10000
    E     0     0                 13189      10000      73728     219498      10000
    Buffer Pool Advisory for DB: DB  Instance: DB  End Snap: 13
    -> Only rows with estimated physical reads >0 are displayed
    -> ordered by Block Size, Buffers For Estimate
            Size for  Size      Buffers for  Est Physical          Estimated
    P   Estimate (M) Factr         Estimate   Read Factor     Physical Reads
    D             32    .1            3,970        205.60      4,726,309,734
    D             64    .2            7,940        111.86      2,571,419,284
    D             96    .2           11,910         59.99      1,379,092,849
    D            128    .3           15,880         32.24        741,224,090
    D            160    .4           19,850         16.05        369,050,333
    D            192    .5           23,820          1.28         29,352,221
    D            224    .6           27,790          1.05         24,077,507
    D            256    .6           31,760          1.03         23,723,389
    D            288    .7           35,730          1.02         23,518,434
    D            320    .8           39,700          1.01         23,328,106
    D            352    .9           43,670          1.01         23,193,257
    D            384   1.0           47,640          1.00         23,064,957
    D            400   1.0           49,625          1.00         22,987,576
    D            416   1.0           51,610          1.00         22,927,325
    D            448   1.1           55,580          0.99         22,824,032
    D            480   1.2           59,550          0.99         22,713,509
    D            512   1.3           63,520          0.99         22,649,147
    D            544   1.4           67,490          0.98         22,605,489
    D            576   1.4           71,460          0.98         22,525,897
    D            608   1.5           75,430          0.97         22,407,418
    D            640   1.6           79,400          0.96         22,022,381
    16k           16    .1            1,008          1.00        139,218,299
    16k           32    .3            2,016          1.00        139,211,699
    16k           48    .4            3,024          1.00        139,207,678
    16k           64    .6            4,032          1.00        139,202,581
    16k           80    .7            5,040          1.00        139,198,339
    16k           96    .9            6,048          1.00        139,193,448
    16k          112   1.0            7,056          1.00        139,188,446
    16k          128   1.1            8,064          1.00        139,183,808
    16k          144   1.3            9,072          1.00        139,179,598
    16k          160   1.4           10,080          1.00        139,175,656
    16k          176   1.6           11,088          1.00        139,170,607
    16k          192   1.7           12,096          1.00        139,166,491
    16k          208   1.9           13,104          1.00        139,162,487
    16k          224   2.0           14,112          1.00        139,158,197
    16k          240   2.1           15,120          1.00        139,153,797
    16k          256   2.3           16,128          1.00        139,149,365
    16k          272   2.4           17,136          1.00        139,144,252
    16k          288   2.6           18,144          1.00        139,140,121
    16k          304   2.7           19,152          1.00        139,135,435
    16k          320   2.9           20,160          1.00        139,130,845
    Buffer wait Statistics for DB: DB  Instance: DB  Snaps: 12 -13
    -> ordered by wait time desc, waits desc
                                     Tot Wait    Avg
    Class                    Waits   Time (s) Time (ms)
    data block              19,912          8         0
    undo header                343          0         0
    segment header              34          0         0
    undo block                   1          0         0
    Enqueue activity for DB: DB  Instance: DB  Snaps: 12 -13
    -> Enqueue stats gathered prior to 9i should not be compared with 9i data
    -> ordered by Wait Time desc, Waits desc
                                                            Avg Wt         Wait
    Eq     Requests    Succ Gets Failed Gets       Waits   Time (ms)     Time (s)
    TM      981,781      981,773           0           7      1,365.43           10
    TX      983,944      983,906           0         412           .59            0
    HW        4,645        4,645           0          32           .09            0
    Rollback Segment Stats for DB: DB  Instance: DB  Snaps: 12 -13
    ->A high value for "Pct Waits" suggests more rollback segments may be required
    ->RBS stats may not be accurate between begin and end snaps when using Auto Undo
      managment, as RBS may be dynamically created and dropped as needed
            Trans Table       Pct   Undo Bytes
    RBS No      Gets        Waits     Written        Wraps  Shrinks  Extends
         0          155.0    0.00               0        0        0        0
         1      202,561.0    0.00      31,178,710       40        2        3
         2      191,044.0    0.00      30,067,156       23        2        6
         3      195,891.0    0.00      30,470,548       39        1        3
         4      203,928.0    0.00      31,822,638       38        2        5
         5      196,386.0    0.00  -4,264,350,168       38        1        3
         6      204,125.0    0.00      32,081,200       24        1        7
         7      192,169.0    0.00      33,732,012       45        3        6
         8      195,819.0    0.00      30,503,550       40        2        2
         9      202,905.0    0.00      31,595,438       40        2        4
        10      195,796.0    0.00      30,566,652       29        4        9
    Rollback Segment Storage for DB: DB  Instance: DB  Snaps: 12 -13
    ->Optimal Size should be larger than Avg Active
    RBS No    Segment Size      Avg Active    Optimal Size    Maximum Size
         0         385,024               0                         385,024
         1      12,705,792         944,176                   2,213,732,352
         2      11,657,216       1,548,937                   2,214,715,392
         3      13,754,368         832,465                     243,392,512
         4      13,754,368         946,902                     235,069,440
         5      12,705,792         964,352                   2,195,374,080
         6      20,045,824       1,232,438                   2,416,041,984
         7      12,705,792         977,490                   3,822,182,400
         8      10,608,640         875,068                     243,392,512
         9      11,657,216         878,119                     243,392,512
        10      18,997,248       1,034,104                   2,281,889,792
    Undo Segment Summary for DB: DB  Instance: DB  Snaps: 12 -13
    -> Undo segment block stats:
    -> uS - unexpired Stolen,   uR - unexpired Released,   uU - unexpired reUsed
    -> eS - expired   Stolen,   eR - expired   Released,   eU - expired   reUsed
    Undo           Undo        Num  Max Qry     Max Tx Snapshot Out of uS/uR/uU/
    TS#         Blocks      Trans  Len (s)   Concurcy  Too Old  Space eS/eR/eU
       1         44,441 ##########       47          2        0      0 0/0/0/0/0/0
    Undo Segment Stats for DB: DB  Instance: DB  Snaps: 12 -13
    -> ordered by Time desc
                         Undo      Num Max Qry   Max Tx  Snap   Out of uS/uR/uU/
    End Time           Blocks    Trans Len (s)    Concy Too Old  Space eS/eR/eU
    28-Jun 11:56        7,111 ########      47        1       0      0 0/0/0/0/0/0
    28-Jun 11:46       10,782 ########      18        2       0      0 0/0/0/0/0/0
    28-Jun 11:36        6,170 ########      42        1       0      0 0/0/0/0/0/0
    28-Jun 11:26        4,966 ########      13        1       0      0 0/0/0/0/0/0
    28-Jun 11:16        6,602 ########      40        1       0      0 0/0/0/0/0/0
    28-Jun 11:06        8,810 ########      10        1       0      0 0/0/0/0/0/0
    Latch Activity for DB: DB  Instance: DB  Snaps: 12 -13
    ->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
      willing-to-wait latch get requests
    ->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
    ->"Pct Misses" for both should be very close to 0.0
                                               Pct    Avg   Wait                 Pct
                                  Get          Get   Slps   Time       NoWait NoWait
    Latch                       Requests      Miss  /Miss    (s)     Requests   Miss
    active checkpoint queue           9,585    0.0    0.0      0            0
    alert log latch                     158    0.0             0            0
    archive control                     220    0.0             0            0
    archive process latch               220    0.5    1.0      0            0
    cache buffer handles            264,718    0.0    0.0      0            0
    cache buffers chains        416,051,175    0.0    0.0      4      401,018    0.0
    cache buffers lru chain       1,285,963    0.0    0.0      0    1,206,550    0.0
    channel handle pool latc          4,927    0.0             0            0
    channel operations paren         10,788    0.0             0            0
    checkpoint queue latch          528,319    0.0    0.0      0       69,506    0.0
    child cursor hash table          35,371    0.0             0            0
    Consistent RBA                  854,833    0.0    0.0      0            0
    dml lock allocation           1,963,007    0.9    0.0      0            0
    dummy allocation                  4,995    0.0             0            0
    enqueue hash chains           4,014,593    0.5    0.0      0            0
    enqueues                         94,666    0.0    0.0      0            0
    event group latch                 2,340    0.0             0            0
    FAL request queue                    72    0.0             0            0
    FIB s.o chain latch                 310    0.0             0            0
    FOB s.o list latch                6,769    0.0             0            0
    global tx hash mapping           10,388    0.0             0            0
    hash table column usage              16    0.0             0          479    0.0
    job workq parent latch                0                    0          316    0.0
    job_queue_processes para            116    0.0             0            0
    ktm global data                     200    0.0             0            0
    lgwr LWN SCN                    855,008    0.0    0.0      0            0
    library cache                 5,836,900    0.4    0.0      0        8,926    0.6
    library cache load lock             468    0.0             0            0
    library cache pin             3,510,695    0.0    0.0      0            0
    library cache pin alloca      1,402,523    0.0    0.0      0            0
    list of block allocation          6,115    0.0             0            0
    loader state object free            620    0.0             0            0
    message pool operations             262    0.0             0            0
    messages                      2,664,950    0.4    0.0      0            0
    mostly latch-free SCN           856,000    0.1    0.0      0            0
    multiblock read objects           3,184    0.0             0            0
    ncodef allocation latch              57    0.0             0            0
    object stats modificatio              8    0.0             0            0
    post/wait queue                   6,183    0.0             0        3,082    0.0
    process allocation                4,677    0.0             0        2,340    0.0
    process group creation            4,677    0.0             0            0
    redo allocation               4,784,936    0.5    0.0      0            0
    redo copy                             0                    0    3,081,261    0.3
    redo writing                  2,576,299    0.0    0.2      0            0
    row cache enqueue latch       3,017,144    0.0    0.0      0            0
    row cache objects             5,049,552    0.8    0.0      0           92    0.0
    sequence cache                  984,824    0.0    0.1      0            0
    session allocation              110,417    0.0    0.0      0            0
    session idle bit                205,319    0.0             0            0
    session switching                    57    0.0             0            0
    Latch Activity for DB: DB  Instance: DB  Snaps: 12 -13
    ->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
      willing-to-wait latch get requests
    ->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
    ->"Pct Misses" for both should be very close to 0.0
                                               Pct    Avg   Wait                 Pct
                                  Get          Get   Slps   Time       NoWait NoWait
    Latch                       Requests      Miss  /Miss    (s)     Requests   Miss
    session timer                     1,204    0.0             0            0
    shared pool                   2,409,725    0.1    0.1      0            0
    simulator hash latch          7,439,429    0.0    0.0      0            0
    simulator lru latch                 202    0.0             0      128,961    0.2
    sort extent pool                  1,053    0.0             0            0
    SQL memory manager worka             67    0.0             0            0
    temp lob duration state             187    0.0             0            0
    transaction allocation            7,290    0.0             0            0
    transaction branch alloc          5,668    0.0             0            0
    undo global data              3,002,808    0.4    0.0      0            0
    user lock                         8,642    0.0             0            0
    Latch Sleep breakdown for DB: DB  Instance: DB  Snaps: 12 -13
    -> ordered by misses desc
                                          Get                            Spin &
    Latch Name                       Requests      Misses      Sleeps Sleeps 1->4
    cache buffers chains          416,051,175     197,296         750 196776/298/2
                                                                      15/7/0
    row cache objects               5,049,552      42,368          38 42330/38/0/0
                                                                      /0
    redo allocation                 4,784,936      24,766          77 24697/61/8/0
                                                                      /0
    library cache                   5,836,900      23,477         276 23207/264/6/
                                                                      0/0
    enqueue hash chains             4,014,593      21,061          26 21035/26/0/0
                                                                      /0
    dml lock allocation             1,963,007      17,887          16 17872/14/1/0
                                                                      /0
    undo global data                3,002,808      12,350           8 12342/8/0/0/
                                                                      0
    messages                        2,664,950      10,131           5 10126/5/0/0/
                                                                      0
    shared pool                     2,409,725       1,362         189 1175/185/2/0
                                                                      /0
    row cache enqueue latch         3,017,144         470           7 463/7/0/0/0
    mostly latch-free SCN             856,000         434           1 433/1/0/0/0
    library cache pin               3,510,695         345           4 341/4/0/0/0
    sequence cache                    984,824          53           4 49/4/0/0/0
    library cache pin allocati      1,402,523          35           1 34/1/0/0/0
    redo writing                    2,576,299           5           1 4/1/0/0/0
    archive process latch                 220           1           1 0/1/0/0/0
    Latch Miss Sources for DB: DB  Instance: DB  Snaps: 12 -13
    -> only latches with sleeps are shown
    -> ordered by name, sleeps desc
                                                         NoWait              Waiter
    Latch Name               Where                       Misses     Sleeps   Sleeps
    archive process latch    kcrrpa                           0          1        0
    cache buffers chains     kcbgtcr: fast path               0        346      188
    cache buffers chains     kcbgtcr: kslbegin excl           0        163      239
    cache buffers chains     kcbrls: kslbegin                 0         86      170
    cache buffers chains     kcbget: pin buffer               0         53       49
    cache buffers chains     kcbgcur: kslbegin                0         44       20
    cache buffers chains     kcbnlc                           0         38       22
    cache buffers chains     kcbget: exchange                 0          8       16
    cache buffers chains     kcbchg: kslbegin: call CR        0          3       21
    cache buffers chains     kcbget: exchange rls             0          3        2
    cache buffers chains     kcbnew                           0          3        0
    cache buffers chains     kcbbxsv                          0          2        0
    cache buffers chains     kcbchg: kslbegin: bufs not       0          1       23
    dml lock allocation      ktaiam                           0         13        1
    dml lock allocation      ktaidm                           0          3       15
    enqueue hash chains      ksqgtl3                          0         22        2
    enqueue hash chains      ksqrcl                           0          4       24
    library cache            kglic                            0         55        4
    library cache            kglhdgn: child:                  0         42       86
    library cache            kglobpn: child:                  0         26       32
    library cache            kglpndl: child: after proc       0         14        0
    library cache            kglpndl: child: before pro       0         13       73
    library cache            kglpin: child: heap proces       0         12       29
    library cache            kgllkdl: child: cleanup          0         11        4
    library cache            kglupc: child                    0          4        7
    library cache            kgldti: 2child                   0          2        4
    library cache            kglpnp: child                    0          1        4
    library cache pin        kglpnal: child: alloc spac       0          3        3
    library cache pin        kglpndl                          0          1        1
    library cache pin alloca kglpnal                          0          1        0
    messages                 ksaamb: after wakeup             0          3        2
    messages                 ksarcv                           0          2        2
    mostly latch-free SCN    kcslcu3                          0          1        1
    redo allocation          kcrfwr                           0         74        8
    redo allocation          kcrfwi: more space               0    

  • How to recover from one corrupted redo log file in NOARCHIVE mode?

    Oracle 10.2.1.
    The redo log file was corrupted and Oracle can't work.
    When I use STARTUP mount, I got no error msg.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 1652555776 bytes
    Fixed Size 1251680 bytes
    Variable Size 301991584 bytes
    Database Buffers 1342177280 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    But I have some applications which are depended on Oracle can't be started.
    So, I tried STARTUP open. But I got error msg.
    SQL> startup open
    ORACLE instance started.
    Total System Global Area 1652555776 bytes
    Fixed Size 1251680 bytes
    Variable Size 301991584 bytes
    Database Buffers 1342177280 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    ORA-00368: checksum error in redo log block
    ORA-00353: log corruption near block 497019 change 42069302 time 11/07/2007
    23:43:09
    ORA-00312: online log 4 thread 1:
    'G:\ORACLE\PRODUCT\10.2.0\ORADATA\NMDATA\REDO04.LOG'
    So, how can I restore and recover my database?
    If use RMAN, how to do that?
    Any help will be appreciated.
    Thanks.

    Hi, Yingkuan,
    Thanks for the helps.
    Actually, I have 10 redo log files exists. All of them are here.
    I tried your suggestion:
    alter database clear unarchived logfile group 4;
    The error msg I got is the same as before:
    SQL> alter database clear unarchived logfile group 4;
    alter database clear unarchived logfile group 4
    ERROR at line 1:
    ORA-01624: log 4 needed for crash recovery of instance nmdata (thread 1)
    ORA-00312: online log 4 thread 1:
    'G:\ORACLE\PRODUCT\10.2.0\ORADATA\NMDATA\REDO04.LOG'
    Compared to losing all the data, it is OK for me lose some of them.
    I have more than 1 TB data stored and 99.9% of them are raster images.
    The loading of these data were the headache. If I can save them, I can bear the lost.
    I want to grasp the last straw.
    But I don't know how set the parameter: allowresetlogs_corruption
    I got the error msg:
    SQL> set allowresetlogs_corruption=true;
    SP2-0735: unknown SET option beginning "_allow_res..."
    I have run the command:
    Recover database until cancel
    Alter database open resetlogs
    The error msg I got is the following:
    SQL> recover database until cancel
    ORA-00279: change 41902930 generated at 11/05/2007 22:01:48 needed for thread 1
    ORA-00289: suggestion :
    D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\NMDATA\ARCHIVELOG\2007_11_09\O1_MF_
    1_1274_%U_.ARC
    ORA-00280: change 41902930 for thread 1 is in sequence #1274
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\NMDATA\SYSTEM01.DBF'
    ORA-01112: media recovery not started
    SQL>
    From the log file, I got the following:
    ALTER DATABASE RECOVER database until cancel
    Fri Nov 09 00:12:48 2007
    Media Recovery Start
    parallel recovery started with 2 processes
    ORA-279 signalled during: ALTER DATABASE RECOVER database until cancel ...
    Fri Nov 09 00:13:20 2007
    ALTER DATABASE RECOVER CANCEL
    Fri Nov 09 00:13:21 2007
    ORA-1547 signalled during: ALTER DATABASE RECOVER CANCEL ...
    Fri Nov 09 00:13:21 2007
    ALTER DATABASE RECOVER CANCEL
    ORA-1112 signalled during: ALTER DATABASE RECOVER CANCEL ...
    Thank you very much. and I am looking forward to your followup input.

  • Dataguard lost both Primary redo log and standby redo log files

    Hi,
    I am new to data guard, i came acorss a scenario where we loose both primary redo log file and standby redo log files.
    Can someone please help me understand how to recover from this situation.
    Thanks!

    >loose both primary redo log file and standby redo log files
    We have to be very clear.
    There are (set A) online redo log files  and (set B) standby redo log files at (location 1) Primary and (location 2) Standby.
    The standby redo log files, depending on the configuration, aren't strictly mandatory.  The standby can be applying redo without online redo log files present as well, depending on how it was setup.
    So, the question is  : Did you lose online redo log files at the primary ?  Didn't the primary shutdown itself then ? If so, you have to do an incomplete recovery at the primary OR switch over to the standby (which may or may not have received the last transaction, depending on how it was configured and operating)   OR restore from the standby (again, with possible loss of transactions) to the primary.
    Hemant K Chitale

  • Log file switch (checkpoint incomplete)

    hello,
    Lately, I have a lot of update/delete work on my OLTP production database. Generally this database is heavy loaded with much inserts especially at the daytime so I do my work at nights :) However, this work cause some contention. I have run AWR raport and I see "log file switch (checkpoint incomplete)" on a second place in wait events. I have a six redo log groups, each file 400MB, redo log buffer 12MB, mttr 0, checkpoint interval 0 and checkpoint timeout 1800 so checkpoints are usually "made by" log switches. Normally I have 2-5 switches per hour, but when I am doing my work it's abut 15-20 switches/hour. Can I speed it up by resizing redo files or by adding more groups ? I don't have test environment to test it so I am wondering if somone has experiense with that?
    thanks
    10gr2, linux

    Hi Helter,
    i have expirienced the same problem only with smaller log files and 3 groups, the solution you suggested helped me solve the issue, eversince i don't have any "checkpoint incomplete" error masaages in the alert log file.
    i have enlarged each group to be 100 mb (initially was 50 mb) and added 2 more groups.
    hope this solution will help you too.
    dBarak

  • Hoping for a quick response : EXP and Archived REDO log files

    I apologize in advance if this question has been asked and answered 100 times. I admit I didn't search, I don't have time. I'm leaving on vacation tomorrow, and I need to know if I'm correct about something to do with backup / restore.
    we have 10g R2 running a single instance on a single server. The application vendor has "embedded" oracle with their application. The vendor's backup is a batch file using EXP - thus:
    exp system/xpwdxx@db full=y file=D:\Orant\admin\db\EXP\db_full.dmp log=D:\Orant\admin\db\EXP\db_full.txt direct=y compress=y
    This command is executed nightly at midnight. The files are then backed up by our nightly backup to offsite storage media.
    Te database is running in autoarchive mode. The problem is, the archived redo files filled the drive they were being stored on, and it is the drive the database is on. I used OS commands to move 136G of archived redo logs onto other storage media to free the drive.
    My question: Since the EXP runs at midnight, when there is likely NO activity, do I need to run in AutoArchive Mode? From what I have read, you cannot even apply archived redo log files to this type of backup strategy (IMP) Is that true? We are ok losing changes since our last EXP. I have read a lot of stuff about restoring consistent vs. inconsistent, and just need to know: If my disk fails, and I have to start with a clean install of Oracle and nothing else, can I IMP this EXP and get back up and running as of the last EXP? Or do I need the autoarchived redo log files back to July 2009 (136G of them).
    Hoping for a quick response
    Best Regards, and thanks in advance
    Bruce Davis

    Bruce Davis wrote:
    Amardeep Sidhu
    Thank you for your quick reply. I am reading in the other responses that since I am using EXP without consistent=y, I might not even have a backup. The application vendor said that with this dmp file they can restore us to the most recent backup. I don't really care for this strategy as it is untested. I asked them to verify that they could restore us and they said they tested the dmp file and it was OK.
    Thank you for taking the time to reply.
    Best Regards
    BruceThe dump file is probably ok in the sense it is not corrupted and can be used in an imp operation. That doesn't mean the data in it is transactionally consistent. And to use it at all, you have to have a database up and running. If the database is physically corrupted, you'll have to rebuild a new database from scratch before you can even think about using your dmp file.
    Vendors never understand databases. I once had a vendor tell me that Oracle's performance would be intolerable if there were more than 5 concurrent connections. Well, maybe in HIS product ..... Discussions terminated quickly after he made that statement.

  • Oracle 10g R2 Database Redo Log Files

    I had 3 redo log files, each of size 50 MB. i added 3 more redo log files, each of size 250 MB.
    Database is running in archive mode, files are generating with different sizes like 44 MB and 240 MB, i need to know is this harm for database or not?
    to make all archive redo log files generation of equal size what should i do?
    Please guide

    Waheed,
    When the redo log switch willbe happening,oracle would be asking archiver to log that into the archive file.So in case you have any parameters set to make the switch happen at certain time,depending on the activity of teh database,the archive file size may vary.There is no harm wit the different sizes of the files.What matters is the transaction informaiton contained in them not their size.
    to make all archive redo log files generation of equal size what should i do?
    As mentioned by Syed, you can make the switch happen at a defined interval which will not ensure but still will be a step to make the archive files of the same size.But I shall say you should bother more about making sure that the files are available rather than their size.
    Aman....

  • Sizing the redo log files using optimal_logfile_size view.

    Regards
    I have a specific question regarding logfile size. I have deployed a test database and i was exploring certain aspects with regards to selecting optimal size of redo logs for performance tuning using optimal_logfile_size view from v$instance_recovery. My main goal is to reduce the redo bytes required for instance recovery. Currently i have not been able to optimize the redo log file size. Here are the steps i followed:-
    In order to use the advisory from v$instance_recovery i had to set fast_start_mttr_target parameter which is by default not set so i did these steps:-
    1)SQL> sho parameter fast_start_mttr_target;
    NAME TYPE VALUE
    fast_start_mttr_target               integer                           0
    2) Setting the fast_start_mttr_target requires nullifying following deferred parameters :-
    SQL> show parameter log_checkpoint;
    NAME TYPE VALUE
    log_checkpoint_interval integer 0
    log_checkpoint_timeout integer 1800
    log_checkpoints_to_alert boolean FALSE
    SQL> select ISSES_MODIFIABLE,ISSYS_MODIFIABLE,ISINSTANCE_MODIFIABLE,ISMODIFIED from v$parameter where name like'log_checkpoint_timeout';
    ISSES_MODIFIABL ISSYS_MODIFIABLE ISINSTANCE_MODI ISMODIFIED
    FALSE IMMEDIATE TRUE FALSE
    SQL> alter system set log_checkpoint_timeout=0 scope=both;
    System altered.
    SQL> show parameter log_checkpoint_timeout;
    NAME TYPE VALUE
    log_checkpoint_timeout               integer                           0
    3) Now setting fast_start_mttr_target
    SQL> select ISSES_MODIFIABLE,ISSYS_MODIFIABLE,ISINSTANCE_MODIFIABLE,ISMODIFIED from v$parameter where name like'fast_start_mttr_target';
    ISSES_MODIFIABL ISSYS_MODIFIABLE ISINSTANCE_MODI ISMODIFIED
    FALSE IMMEDIATE TRUE FALSE
    Setting the fast_mttr_target to 1200 = 20 minutes of checkpoint switching according to Oracle recommendation
    Querying the v$instance_recovery view
    4) SQL> select ACTUAL_REDO_BLKS,TARGET_REDO_BLKS,TARGET_MTTR,ESTIMATED_MTTR, OPTIMAL_LOGFILE_SIZE,CKPT_BLOCK_WRITES from v$instance_recovery;
    ACTUAL_REDO_BLKS TARGET_REDO_BLKS TARGET_MTTR ESTIMATED_MTTR OPTIMAL_LOGFILE_SIZE CKPT_BLOCK_WRITES
    276 165888 *93* 59 361 16040
    Here Target Mttr was 93 so i set the fast_mttr_target to 120
    SQL> alter system set fast_start_mttr_target=120 scope=both;
    System altered.
    Now the logfile size suggested by v$instance_recovery is 290 Mb
    SQL> select ACTUAL_REDO_BLKS,TARGET_REDO_BLKS,TARGET_MTTR,ESTIMATED_MTTR, OPTIMAL_LOGFILE_SIZE,CKPT_BLOCK_WRITES from v$instance_recovery;
    ACTUAL_REDO_BLKS TARGET_REDO_BLKS TARGET_MTTR ESTIMATED_MTTR OPTIMAL_LOGFILE_SIZE CKPT_BLOCK_WRITES
    59 165888 93 59 290 16080
    After altering the logfile size to 290 as show below by v$log view :-
    SQL> select GROUP#,THREAD#,SEQUENCE#,BYTES from v$log;
    GROUP# THREAD# SEQUENCE# BYTES
    1 1 24 304087040
    2 1 0 304087040
    3 1 0 304087040
    4 1 0 304087040
    5 ) After altering the size i have observed the anomaly as redo log blocks to be applied for recovery has increased from *59 to 696* also now v$instance_recovery view is now suggesting the logfile size of *276 mb*. Have i misunderstood something
    SQL> select ACTUAL_REDO_BLKS,TARGET_REDO_BLKS,TARGET_MTTR,ESTIMATED_MTTR, OPTIMAL_LOGFILE_SIZE,CKPT_BLOCK_WRITES from v$instance_recovery;
    ACTUAL_REDO_BLKS TARGET_REDO_BLKS TARGET_MTTR ESTIMATED_MTTR OPTIMAL_LOGFILE_SIZE CKPT_BLOCK_WRITES
    *696* 646947 120 59 *276* 18474
    Please clarify the above output i am unable to optimize the logfile size and have not been able to achieve the goal of reducing the redo log blocks to be applied for recovery, any help is appreciated in this regard.

    sunny_123 wrote:
    Sir oracle says that fast_start_mttr target can be set to 3600 = 1hour. As suggested by following oracle document
    http://docs.oracle.com/cd/B10500_01/server.920/a96533/instreco.htm
    I set mine value to 1200 = 20 minutes. Later i adjusted it to 120=2 minutes as Target_mttr suggested it to be around 100 (if fast_mttr_target value is too high or too low effective value is contained in target_mttr of v$instance_recovery)Just to add, you are reading the documentation of 9.2 and a lot has changed since then. For example, in 9.2 the parameter FSMTTR was introduced and explicitly required to be set and monitored by the DBA for teh additional checkpoint writes which might get caused by it. Since 10g onwards this parameter has been made automatically maintained by Oracle. Also it's been long that 9i has been desupported followed by 10g so it's better that you start reading the latest documentation of 11g and if not that, at least of 10.2.
    Aman....

  • Log file switch (checkpoint not complete)

    HI,
    I am using Oracle 9.2 on rhel
    IN the statspack report I am getting one of the event I.e log file switch (checkpoint not complete).Statspack duration is about 1.5 hrs...any suggestion
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:   99.97       Redo NoWait %:     98.31
                Buffer  Hit   %:   95.84    In-memory Sort %:    100.00
                Library Hit   %:   99.57        Soft Parse %:     98.51
             Execute to Parse %:   72.70         Latch Hit %:     99.71
    Parse CPU to Parse Elapsd %:   53.15     % Non-Parse CPU:     99.10
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   93.66   93.74
        % SQL with executions>1:   60.41   60.94
      % Memory for SQL w/exec>1:   60.89   61.66
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                                     % Total
    Event                                               Waits    Time (s) Ela Time
    log file switch (checkpoint incomplete)            35,936      35,100    42.81
    enqueue                                             6,144      16,684    20.35
    buffer busy waits                                  17,190      13,346    16.28
    wait for a undo record                             51,967       4,931     6.01
    ARCH wait on SENDREQ                                  877       4,813     5.87
              -------------------------------------------------------------

    Please find the whole stats[pack report
    {code}
    STATSPACK report for
    DB Name DB Id Instance Inst Num Release Cluster Host
    ICAI 1504443695 icai 1 9.2.0.8.0 NO icaidb.icai.
    org
    Snap Id Snap Time Sessions Curs/Sess Comment
    Begin Snap: 70 04-Aug-10 14:27:14 162 34.7
    End Snap: 73 04-Aug-10 15:30:43 254 55.4
    Elapsed: 63.48 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
    Buffer Cache: 4,928M Std Block Size: 8K
    Shared Pool Size: 1,312M Log Buffer: 1,024K
    Load Profile
    ~~~~~~~~~~~~ Per Second Per Transaction
    Redo size: 96,260.76 53,769.94
    Logical reads: 13,998.20 7,819.20
    Block changes: 1,227.83 685.85
    Physical reads: 592.13 330.76
    Physical writes: 19.93 11.13
    User calls: 313.12 174.91
    Parses: 31.41 17.55
    Hard parses: 0.47 0.26
    Sorts: 11.61 6.49
    Logons: 0.11 0.06
    Executes: 115.04 64.26
    Transactions: 1.79
    % Blocks changed per Read: 8.77 Recursive Call %: 26.28
    Rollback per transaction %: 5.43 Rows per Sort: 472.17
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %: 99.97 Redo NoWait %: 98.31
    Buffer Hit %: 95.84 In-memory Sort %: 100.00
    Library Hit %: 99.57 Soft Parse %: 98.51
    Execute to Parse %: 72.70 Latch Hit %: 99.71
    Parse CPU to Parse Elapsd %: 53.15 % Non-Parse CPU: 99.10
    Shared Pool Statistics Begin End
    Memory Usage %: 93.66 93.74
    % SQL with executions>1: 60.41 60.94
    % Memory for SQL w/exec>1: 60.89 61.66
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    log file switch (checkpoint incomplete) 35,936 35,100 42.81
    enqueue 6,144 16,684 20.35
    buffer busy waits 17,190 13,346 16.28
    wait for a undo record 51,967 4,931 6.01
    ARCH wait on SENDREQ 877 4,813 5.87
    Wait Events for DB: ICAI Instance: icai Snaps: 70 -73
    -> s - second
    -> cs - centisecond - 100th of a second
    -> ms - millisecond - 1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    log file switch (checkpoint 35,936 35,886 35,100 977 5.3
    enqueue 6,144 5,660 16,684 2716 0.9
    buffer busy waits 17,190 5,325 13,346 776 2.5
    wait for a undo record 51,967 49,137 4,931 95 7.6
    ARCH wait on SENDREQ 877 0 4,813 5489 0.1
    log file switch (archiving n 3,705 3,653 3,600 972 0.5
    db file sequential read 600,718 0 621 1 88.1
    log file sync 6,826 140 561 82 1.0
    log file parallel write 7,052 0 421 60 1.0
    log buffer space 1,361 16 230 169 0.2
    db file scattered read 289,115 0 212 1 42.4
    switch logfile command 116 23 160 1377 0.0
    wait for stopper event to be 1,924 1,111 123 64 0.3
    control file parallel write 1,355 0 63 46 0.2
    PX Deq: Txn Recovery Start 1,253 0 36 29 0.2
    SQL*Net break/reset to clien 560 0 20 36 0.1
    local write wait 18 15 17 918 0.0
    log file switch completion 21 7 9 442 0.0
    control file sequential read 237,021 0 6 0 34.8
    log file sequential read 437 0 6 13 0.1
    BFILE get length 297 0 2 7 0.0
    latch free 485 67 2 4 0.1
    BFILE read 1,023 0 1 1 0.2
    log file single write 18 0 0 16 0.0
    SQL*Net more data to client 13,785 0 0 0 2.0
    process startup 10 0 0 9 0.0
    control file single write 10 0 0 4 0.0
    row cache lock 34 0 0 0 0.0
    db file single write 1 0 0 14 0.0
    LGWR wait for redo copy 89 0 0 0 0.0
    PX Deq: Signal ACK 3 0 0 4 0.0
    PX Deq: Join ACK 5 0 0 1 0.0
    BFILE open 106 0 0 0 0.0
    db file parallel read 25 0 0 0 0.0
    async disk IO 1,383 0 0 0 0.2
    db file parallel write 255 0 0 0 0.0
    BFILE internal seek 1,023 0 0 0 0.2
    direct path read 843 0 0 0 0.1
    BFILE closure 106 0 0 0 0.0
    undo segment extension 844 844 0 0 0.1
    direct path write 96 0 0 0 0.0
    SQL*Net message from client 1,188,764 0 445,926 375 174.3
    virtual circuit status 125 125 3,660 29277 0.0
    wakeup time manager 86 86 2,451 28506 0.0
    PX Idle Wait 755 750 1,466 1941 0.1
    jobq slave wait 60 60 176 2930 0.0
    SQL*Net more data from clien 3,035 0 1 0 0.4
    SQL*Net message to client 1,188,882 0 1 0 174.3
    Wait Events for DB: ICAI Instance: icai Snaps: 70 -73
    -> s - second
    -> cs - centisecond - 100th of a second
    -> ms - millisecond - 1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    Background Wait Events for DB: ICAI Instance: icai Snaps: 70 -73
    -> ordered by wait time desc, waits desc (idle events last)
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    ARCH wait on SENDREQ 877 0 4,813 5489 0.1
    buffer busy waits 2,164 1,176 1,184 547 0.3
    log file parallel write 7,052 0 421 60 1.0
    wait for stopper event to be 1,924 1,111 123 64 0.3
    control file parallel write 1,301 0 57 44 0.2
    enqueue 393 0 10 26 0.1
    control file sequential read 234,452 0 6 0 34.4
    log file sequential read 431 0 6 13 0.1
    db file scattered read 124 0 1 10 0.0
    log buffer space 40 0 1 13 0.0
    log file single write 15 0 0 20 0.0
    db file sequential read 20 0 0 9 0.0
    process startup 7 0 0 8 0.0
    latch free 19 3 0 2 0.0
    LGWR wait for redo copy 89 0 0 0 0.0
    PX Deq: Signal ACK 3 0 0 4 0.0
    PX Deq: Join ACK 5 0 0 1 0.0
    db file parallel write 255 0 0 0 0.0
    async disk IO 793 0 0 0 0.1
    rdbms ipc reply 1 0 0 0 0.0
    direct path read 88 0 0 0 0.0
    direct path write 88 0 0 0 0.0
    rdbms ipc message 50,357 3,296 16,467 327 7.4
    pmon timer 1,271 1,251 3,653 2874 0.2
    smon timer 64 0 2,302 35963 0.0
    SQL ordered by Gets for DB: ICAI Instance: icai Snaps: 70 -73
    -> End Buffer Gets Threshold: 10000
    -> Note that resources reported for PL/SQL includes the resources used by
    all SQL statements called within the PL/SQL code. As individual SQL
    statements are also reported, it is possible and valid for the summed
    total % to exceed 100
    CPU Elapsd
    Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
    5,652,833 456 12,396.6 10.6 20.04 1062.67 285625578
    SELECT /*+ INDEX(OT_DAK_ENTRY_DETL IDM_DED_NAME) */DEH_TXN_CODE
    ,DEH_NO FROM OT_DAK_ENTRY_HEAD,OT_DAK_ENTRY_DETL WHERE DEH_SY
    S_ID = DED_DEH_SYS_ID AND TRUNC(DEH_APPLICATION_DT) = :b1 AND
    DED_DAK_CODE = :b2 AND DED_NAME LIKE LTRIM(RTRIM(:b3)) || '%'
    AND NVL(DED_INSTR_NO,'XXXXXX') = NVL(:b4,'XXXXXX') AND TRUNC(
    5,096,348 189 26,964.8 9.6 23.64 23.25 1772835295
    select decode(level,1,'',2,' ',3,' ',4,' ',5,'
    ', ' ') || decode(:1,'ENG',menu_option_desc,menu_opt
    ion_desc_bl) "OPTION", menu_parent_id "PARENT", menu_action_type
    "TYPE",menu_action "ACTION", decode(level,1,'',2,' ',3,' ',4,'
    ',5,' ', ' ') ||decode(menu_action_type, 'M', '+', 'o'
    4,894,185 96 50,981.1 9.2 7.89 10.11 23088203
    INSERT INTO OT_MEM_FEE_COL_DETL(MFCD_FEE_TYPE,MFCD_CONDON_FEE_YN
    ,MFCD_EXCESS_USED_YN,MFCD_CONDN_CODE,MFCD_PM_CODE,MFCD_CURR_CODE
    ,MFCD_INSTR_NO,MFCD_INSTR_DT,MFCD_AMT,MFCD_BANK_CODE,MFCD_INSTR_
    TYPE,MFCD_BRANCH,MFCD_COLLECTION,MFCD_FM_DT,MFCD_TO_DT,MFCD_RES_
    CODE,MFCD_CR_UID,MFCD_CR_DT,MFCD_UPD_UID,MFCD_UPD_DT,MFCD_CONDON
    4,885,684 152 32,142.7 9.2 7.64 8.87 1007886847
    SELECT MIN(MFCH_NO) FROM OT_MEM_FEE_COL_HEAD, OT_MEM_FEE_COL_DET
    L WHERE MFCH_SYS_ID = MFCD_MFCH_SYS_ID AND MFCH_REF_NO = :B4 AND
    MFCH_REF_TXN_CODE = :B3 AND MFCD_INSTR_NO = :B2 AND MFCD_BANK_C
    ODE = :B1 AND MFCD_AMT > 0
    2,680,356 446 6,009.8 5.0 95.57 125.49 197211170
    SELECT /*+ INDEX(OT_STUDENT_FEE_COL_IPCC_HEAD OT_STUDENT_FEE_COL
    IPCCHEAD_UK01) */SFCH_SYS_ID,SFCH_DT,DECODE(NVL(SSTN_SRN,SFCH
    TEMPREF_NO),SSTN_SRN, NULL ,SFCH_TEMP_REF_NO) SFCH_TEMP_REF_NO
    ,NVL(SFCH_STUD_SRN,SSTN_SRN) SFCH_STUD_SRN,SFCH_COURSE_CODE,SFCH
    SCHEMECODE,SFCH_EXMP_STUD_YN,SFCH_EXMP_STUD_REASON,DEH_APPLICA
    2,288,204 1 2,288,204.0 4.3 54.31 59.36 3103356680
    DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate;
    broken BOOLEAN := FALSE; BEGIN BEGIN /*Quest SOO PPCM job */ qu
    est_ppcm_snapshot_pkg.take_snapshot; END; :mydate := next_date;
    IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
    2,253,877 1 2,253,877.0 4.2 52.70 56.21 579012758
    DELETE FROM QUEST_PPCM_SQL_TEXT TXT WHERE INSTANCE_ID >= 0 AND N
    OT EXISTS (SELECT 1 FROM QUEST_PPCM_SQL_SNAPSHOT SNAP WHERE SNAP
    .SNAPSHOT_ID > 0 AND SNAP.INSTANCE_ID= TXT.INSTANCE_ID AND SNAP.
    SQL_ID = TXT.SQL_ID)
    1,656,006 24 69,000.3 3.1 10.00 24.26 4081782417
    SELECT PISH_COURSE_CODE FROM OV_STU_PAYINSLIP_IPCC_DTL WHERE
    PISH_BANK_CODE = :b1 AND PISH_NO BETWEEN :b2 AND :b3 AND PISD_
    CURR_CODE = :b4 AND PISH_REGION_CODE = :b5 ORDER BY 1
    SQL ordered by Gets for DB: ICAI Instance: icai Snaps: 70 -73
    -> End Buffer Gets Threshold: 10000
    -> Note that resources reported for PL/SQL includes the resources used by
    all SQL statements called within the PL/SQL code. As individual SQL
    statements are also reported, it is possible and valid for the summed
    total % to exceed 100
    CPU Elapsd
    Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
    1,567,946 12 130,662.2 2.9 21.99 47.39 1585476974
    SELECT NVL(TO_CHAR(A.DEH_APPLICATION_DT,'DD/MM/RRRR'), NULL ),NV
    L(TO_CHAR(A.DEH_DT,'DD/MM/RRRR'), NULL ) FROM OT_DAK_ENTRY_HEA
    D A,OT_DAK_ENTRY_DETL B,OT_FIRM_NAME_APPR_HEAD C WHERE A.DEH_SY
    S_ID = B.DED_DEH_SYS_ID AND B.DED_DAK_SYS_ID = C.FNAH_DED_SYS_I
    D AND C.FNAH_SYS_ID = (SELECT MAX(B.FNAH_SYS_ID) FROM OT_FIR
    1,216,226 4 304,056.5 2.3 9.90 54.25 937031003
    SELECT TRIM(STUD_SRN)
    Q1_REGNO, TR
    IM(STUD_TEMP_REF_NO)
    Q1_TEMPNO, STUD_TITLE
    1,138,801 178 6,397.8 2.1 18.13 1009.80 1617597
    SELECT SRN,ACTIVITYDESCRIPTION,STATUS,DOCUMENTNO,DOCUMENTDATE FR
    OM OV_ART_TRANS_STATUS WHERE (SRN=:1) order by DOCUMENTDATE
    1,029,221 230 4,474.9 1.9 20.27 20.76 1838125769
    SELECT MRH_DT,MRH_FIRST_NAME,MRH_MIDDLE_NAME,MRH_SUR_NAME,MRH_ST
    ATUS FROM OM_MEM_REG_HEAD WHERE DECODE(:b1,1,MRH_MRN,MRH_MFCH
    TEMPREF_NO) = :b2
    778,949 52 14,979.8 1.5 20.32 21.85 4142254844
    SELECT LTRIM(RTRIM(DECODE(TIT_NAME,'MR.','CA.','MS.','CA.','MRS.
    ','CA.') || ' ' || MRH_FIRST_NAME || ' ' || MRH_MIDDLE_NAME
    || ' ' || MRH_SUR_NAME || ' ' || DECODE(MRH_APPR_UID, NULL ,
    NULL ,DECODE(MRH_MEM_STATUS,2, NULL ,DECODE(MRH_FELLOW_STATUS_YN
    ,'Y','FCA','ACA'))) || DECODE(MRH_RESI_STATUS,'A','
    755,893 517 1,462.1 1.4 90.43 89.07 1033584013
    SELECT DECODE(MFCD_FEE_TYPE,'M08',1,'M05',2,'M06',3,'M09',4,'M10
    ',5,'M11',6,'M12',7,'M07',8,'M13',9,'M14',10,'M15',11,'M04',12,'
    M03',13,'M02',14,'M01',15,'M21',16,'M22',17,'M23',18,'EXCESS',19
    ,20) FEE_SEQ,MFCD_FEE_TYPE FEE_TYPE,SUM(MFCD_AMT) AMOUNT FROM
    OT_MEM_FEE_COL_HEAD,OT_MEM_FEE_COL_DETL WHERE MFCH_SYS_ID = MFC
    751,010 1,090 689.0 1.4 28.61 31.41 1734754400
    SELECT ROWID,PIIPD_ICAI_EXAM_APPEARED,PIIPD_REG_NO,PIIPD_MTH,PII
    PD_YR,PIIPD_ROLL_NO,PIIPD_EXT_EXAM_APPEARED,PIIPD_EXAM_CODE_1,PI
    IPD_SUBJ_CODE_1,PIIPD_GROUP_1,PIIPD_ROLL_NO_1,PIIPD_LAST_PAPER_D
    T_1,PIIPD_EXAM_CODE_2,PIIPD_SUBJ_CODE_2,PIIPD_GROUP_2,PIIPD_ROLL
    SQL ordered by Reads for DB: ICAI Instance: icai Snaps: 70 -73
    -> End Disk Reads Threshold: 1000
    CPU Elapsd
    Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
    227,513 2 113,756.5 10.1 22.04 79.36 2837394537
    SELECT STUD_SRN,STUD_FIRST_NAME,STUD_MIDDLE_NAME,STUD_MAIDEN_NAM
    E,STUD_SURNAME,STUD_FATHER_NAME,STUD_BIRTH_DT,STUD_COMM_CODE,STU
    D_SEX,STUD_HANDICAPPED_YN,STUD_HANDICAPPED_REASON,STUD_LANG_CODE
    ,STUD_NATIONALITY_CODE,STUD_EMAIL,STUD_PERMNT_ADDR_LINE_1,STUD_P
    ERMNT_ADDR_LINE_2,STUD_PERMNT_ADDR_LINE_3,STUD_PERMNT_ADDR_LINE_
    220,939 12 18,411.6 9.8 21.99 47.39 1585476974
    SELECT NVL(TO_CHAR(A.DEH_APPLICATION_DT,'DD/MM/RRRR'), NULL ),NV
    L(TO_CHAR(A.DEH_DT,'DD/MM/RRRR'), NULL ) FROM OT_DAK_ENTRY_HEA
    D A,OT_DAK_ENTRY_DETL B,OT_FIRM_NAME_APPR_HEAD C WHERE A.DEH_SY
    S_ID = B.DED_DEH_SYS_ID AND B.DED_DAK_SYS_ID = C.FNAH_DED_SYS_I
    D AND C.FNAH_SYS_ID = (SELECT MAX(B.FNAH_SYS_ID) FROM OT_FIR
    198,343 2 99,171.5 8.8 5.82 46.25 1414719916
    UPDATE OM_MEM_REG_HEAD SET MRH_MRN=:b1 WHERE MRH_SYS_ID = :b2
    198,343 2 99,171.5 8.8 5.81 46.10 1414796677
    UPDATE OT_DAK_ACTV_HISTORY SET DAH_REG_NO = :B1 WHERE DAH_REG_NO
    = :B3 AND TRUNC(DAH_ACTV_ED_DT ) <= TRUNC(:B2 ) AND DAH_ACTV_ST
    ATUS = 'C'
    173,892 2 86,946.0 7.7 13.85 16.34 3262067067
    SELECT STUD_SRN,STUD_FIRST_NAME,STUD_MIDDLE_NAME,STUD_MAIDEN_NAM
    E,STUD_SURNAME,STUD_FATHER_NAME,STUD_BIRTH_DT,STUD_COMM_CODE,STU
    D_SEX,STUD_HANDICAPPED_YN,STUD_HANDICAPPED_REASON,STUD_LANG_CODE
    ,STUD_NATIONALITY_CODE,STUD_EMAIL,STUD_PERMNT_ADDR_LINE_1,STUD_P
    ERMNT_ADDR_LINE_2,STUD_PERMNT_ADDR_LINE_3,STUD_PERMNT_ADDR_LINE_
    112,038 9 12,448.7 5.0 9.23 10.14 2058267852
    SELECT ROWID,STUD_DT,STUD_TXN_CODE,STUD_NO,STUD_AMD_NO,STUD_REF_
    FROM,STUD_REF_TXN_CODE,STUD_REF_NO,STUD_TEMP_REF_NO,STUD_SRN,STU
    D_TITLE,STUD_STATUS,STUD_FIRST_NAME,STUD_MIDDLE_NAME,STUD_SURNAM
    E,STUD_MAIDEN_NAME,STUD_NAME_STATUS,STUD_FATHER_NAME,STUD_NATION
    ALITY_CODE,STUD_NATION_PROOF_ENCL_YN,STUD_SEX,STUD_HANDICAPPED_Y
    102,583 1 102,583.0 4.5 4.51 285.99 802587273
    SELECT ROWID,DEH_DT,DEH_TXN_CODE,DEH_NO,DEH_AMD_NO,DEH_REF_FROM,
    DEH_REF_TXN_CODE,DEH_REF_NO,DEH_REF_SYS_ID,DEH_REGION_CODE,DEH_A
    PPLICATION_DT,DEH_DOC_STATUS,DEH_STATUS,DEH_PRINT_STATUS,DEH_CLO
    STATUS,DEHSYS_ID,DEH_COMP_CODE,DEH_ACNT_YR,DEH_AMD_DT,DEH_AMD_
    UID,DEH_AMD_RES_CODE,DEH_REF_FROM_NUM,DEH_CR_UID,DEH_CR_DT,DEH_U
    98,825 3 32,941.7 4.4 6.70 6.66 2078892348
    /*SELECT STUD_SRN
    Q1_RE
    GNO, O_GET_OLD_REG_NO(STUD_SRN, :BP_COURSE) OLD_NO, TIT_NAME||'
    '||STUD_FIRST_NAME||' '||STUD_MIDDLE_NAME||' '||STUD_SURNAME
    Q1_NAME, LTRIM(RTRIM(A.STUD_CORRES_ADDR_LINE_1 ))||DECO
    96,187 2 48,093.5 4.3 10.78 16.53 3301514821
    SELECT MFCD_PAYIN_SLIP_NO MFCD_PAYIN_SLIP_NO
    , DECODE(MFCD_BANK_CODE ,'ICI',1,2) ICI_FIRST
    , DECODE(MFCD_INSTR_TYPE,'S',1,'L
    SQL ordered by Reads for DB: ICAI Instance: icai Snaps: 70 -73
    -> End Disk Reads Threshold: 1000
    CPU Elapsd
    Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
    ',2,'O',3,4) TYPE_FIRST , MFCD_PAYIN_SLIP_DT , FM_BANK
    .BANK_NAME , BAD_ADDR1 ADD1
    80,683 4 20,170.8 3.6 9.90 54.25 937031003
    SELECT TRIM(STUD_SRN)
    Q1_REGNO, TR
    IM(STUD_TEMP_REF_NO)
    Q1_TEMPNO, STUD_TITLE
    77,972 8 9,746.5 3.5 8.92 8.84 2241526944
    SELECT ROWID,STUD_DT,STUD_TXN_CODE,STUD_NO,STUD_AMD_NO,STUD_REF_
    FROM,STUD_REF_TXN_CODE,STUD_REF_NO,STUD_TEMP_REF_NO,STUD_SRN,STU
    D_TITLE,STUD_STATUS,STUD_FIRST_NAME,STUD_MIDDLE_NAME,STUD_SURNAM
    E,STUD_MAIDEN_NAME,STUD_NAME_STATUS,STUD_FATHER_NAME,STUD_NATION
    ALITY_CODE,STUD_NATION_PROOF_ENCL_YN,STUD_SEX,STUD_HANDICAPPED_Y
    75,667 3 25,222.3 3.4 3.34 25.09 3345305231
    SELECT DISTINCT SFCH_STUD_SRN FROM OT_STUDENT_FEE_COL_HEAD A,O
    T_STUDENT_FEE_COL_DETL B WHERE B.SFCD_SFCH_SYS_ID = A.SFCH_SYS_
    ID AND B.SFCD_INSTR_BANK_CODE = :b1 AND B.SFCD_INSTR_NO = :b2
    72,658 52 1,397.3 3.2 20.32 21.85 4142254844
    SELECT LTRIM(RTRIM(DECODE(TIT_NAME,'MR.','CA.','MS.','CA.','MRS.
    ','CA.') || ' ' || MRH_FIRST_NAME || ' ' || MRH_MIDDLE_NAME
    || ' ' || MRH_SUR_NAME || ' ' || DECODE(MRH_APPR_UID, NULL ,
    NULL ,DECODE(MRH_MEM_STATUS,2, NULL ,DECODE(MRH_FELLOW_STATUS_YN
    ,'Y','FCA','ACA'))) || DECODE(MRH_RESI_STATUS,'A','
    48,619 3 16,206.3 2.2 4.19 4.11 496772197
    SELECT ROWID,STUD_DT,STUD_TXN_CODE,STUD_NO,STUD_AMD_NO,STUD_REF_
    FROM,STUD_REF_TXN_CODE,STUD_REF_NO,STUD_TEMP_REF_NO,STUD_SRN,STU
    D_TITLE,STUD_STATUS,STUD_FIRST_NAME,STUD_MIDDLE_NAME,STUD_SURNAM
    E,STUD_MAIDEN_NAME,STUD_NAME_STATUS,STUD_FATHER_NAME,STUD_NATION
    ALITY_CODE,STUD_NATION_PROOF_ENCL_YN,STUD_SEX,STUD_HANDICAPPED_Y
    48,063 230 209.0 2.1 20.27 20.76 1838125769
    SELECT MRH_DT,MRH_FIRST_NAME,MRH_MIDDLE_NAME,MRH_SUR_NAME,MRH_ST
    ATUS FROM OM_MEM_REG_HEAD WHERE DECODE(:b1,1,MRH_MRN,MRH_MFCH
    SQL ordered by Executions for DB: ICAI Instance: icai Snaps: 70 -73
    -> End Executions Threshold: 100
    CPU per Elap per
    Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
    38,614 38,614 1.0 0.00 0.00 1741347688
    SELECT SYSDATE FROM SYS.DUAL
    12,490 12,488 1.0 0.00 0.00 2614155871
    SELECT DECODE(:b1,'L',DECODE(:b2,'ENG',STATUS_NAME,STATUS_BL_NAM
    E),DECODE(:b2,'ENG',STATUS_SHORT_NAME,STATUS_BL_SHORT_NAME)) STA
    TUS_DESC,STATUS_FRZ_FLAG_NUM FROM OM_STATUS WHERE STATUS_CODE
    = :b4
    8,629 8,628 1.0 0.00 0.00 1644340447
    SELECT DECODE(:b1,'L',DECODE(:b2,'ENG',FEE_TYPE_NAME,FEE_TYPE_BL
    NAME),DECODE(:b2,'ENG',FEETYPE_SHORT_NAME,FEE_TYPE_BL_SHORT_NA
    ME)) FEE_NAME,FEE_TYPE_FRZ_FLAG_NUM FROM OM_FEE_TYPE WHERE FE
    E_TYPE_CODE = :b4
    7,275 7,272 1.0 0.00 0.34 3716207873
    update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,
    order$=:6,cache=:7,highwater=:8,audit$=:9,flags=:10 where obj#=:
    1
    6,293 6,283 1.0 0.00 0.00 2804237544
    SELECT DECODE(:b1,'L',DECODE(:b2,'ENG',CITY_NAME,CITY_BL_NAME),D
    ECODE(:b2,'ENG',CITY_SHORT_NAME,CITY_BL_SHORT_NAME)) CITY_NAME,C
    ITY_TALUK_CODE,CITY_DIST_CODE,CITY_STATE_CODE,CITY_REGION_CODE,C
    ITY_FRZ_FLAG_NUM FROM OM_CITY WHERE CITY_CODE = :b4
    6,221 6,221 1.0 0.00 0.00 484036617
    SELECT DAH_SYS_ID.NEXTVAL FROM DUAL
    6,221 6,221 1.0 0.00 0.00 2945494810
    SELECT COUNT(DAH_SYS_ID) FROM OT_DAK_ACTV_HISTORY WHERE DAH_ACTV
    TYPE = :B2 AND DAHTXN_SYS_ID = :B1
    5,979 5,979 1.0 0.00 0.00 35936114
    SELECT STUD_DOC_STATUS FROM OM_STUDENT_HEAD WHERE STUD_SYS_ID
    = :b1
    4,637 4,637 1.0 0.00 0.00 1237293873
    SELECT DECODE(:b1,'L',DECODE(:b2,'ENG',COU_NAME,COU_BL_NAME),DEC
    ODE(:b2,'ENG',COU_SHORT_NAME,COU_BL_SHORT_NAME)) COU_NAME,COU_FR
    Z_FLAG_NUM FROM OM_COUNTRY WHERE COU_CODE = :b4
    4,404 1,276 0.3 0.00 0.00 1829426463
    SELECT NVL(TAU_FROM_VALUE,0), NVL(TAU_TO_VALUE,0) FROM IM_TXN_AU
    TH_USER WHERE TAU_TA_TYPE = :B3 AND TAU_TXN_CODE = :B2 AND TAU_A
    UTH_UID = :B1
    4,220 4,220 1.0 0.00 0.00 1006906503
    UPDATE OT_DAK_ACTV_HISTORY SET DAH_ACTV_ED_DT = :B3 , DAH_ACTV_S
    TATUS = 'C' WHERE DAH_ACTV_TYPE = :B2 AND DAH_TXN_SYS_ID = :B1
    3,874 66 0.0 0.00 0.00 4284733339
    SELECT TIT_NAME ||' '|| AR_FIRST_NAME||' '||AR_MIDDLE_NAME||' '|
    |AR_SUR_NAME FROM OT_ARTICLE_REGISTRATION, OM_TITLE WHERE TRIM(A
    SQL ordered by Executions for DB: ICAI Instance: icai Snaps: 70 -73
    -> End Executions Threshold: 100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

  • Accidently Deleted Online Redo Log Files

    Dear friends
    Just to give a try, I deleted online redo log files from the disk after clearn shutdown (In Test Environment Not A Production Database), then i started the dabase, I know we need atleast two online redo files for database to work properly. now my point of question is how can i create new online redo files ?
    I have 2 redo logfile groups each with one member. In group 2 i have added new member for the deleted one using add logfile member ....... to group 2. but when i try todo the same to add logfile member to group1 I am not abale to do so. because its saying that this is the current logfile member. then I tried manual log switching to use next logfile member but database is not allowing as the database is just mounted not opened. plsease if any body helps me out to sort out this problem it will be a great help.
    Anandkumar S.M
    Oracle DBA
    rC6Exv3

    hello ur instruction u have is some what bit rite. but i was not able to solve the problem
    finally i solved the problem with these commands after database is mounted
    recover database until cancel Enter
    then I select the cancel option when it provide the user with the options
    after cancelling the recover i issued the following command
    alter database open resetlogs;
    this method sorted out my problem
    anyway very very thanks for ur root hints from where i got the Idea to recover online redo logfiles
    Thank u very much

  • RAC 10.2.0.4, event gc cr block busy & log file switch

    hello everybody,
    i would like to know if there is any dependencies between gc cr block busy and log switch in the one node of the rac cluster.
    i had a select and its completion time lasted 12 secs instead of 1, the start time of the select is the start time of the log switch on the node.
    But when i looked into the active session history the session which was standing for that select had been waiting gc cr block busy instead log file switch completion.
    While looking to the Google resources i ve noticed that "The gc current block busy and gc cr block busy wait events indicate that the
    remote instance received the block after a remote instance processing delay.
    In most cases, this is due to a log flush".
    I would be really greatfull if anybody would be able to locate the initial dependancy i ve mantioned and explain the cause of the issue as i can not quite get why the selection took so long.
    Thank you in advance!

    Did you told "log file switch"?
    you mean log file switch (checkpoint incomplete) or log file switch (archiving needed) or log file switch/archive or log file switch (clearing log file) or log file switch completion or log switch/archive
    however a instance can wait ... if you find high values about waiting, you may tune your database.
    please show us
    - Top 5 Wait Events
    SQL> alter session set nls_date_format='YYYY/MM/DD HH24:MI:SS';
    SQL> select name, completion_time from V$ARCHIVED_LOG order by completion_time ;
    Check How often do you switch logfile to archive log? ... Every switch log file... you may find "log file switch" waiting
    I see... you no high DML activitiy.
    But Please check High segment + object and query on AWR report... (example: Segments by Physical Writes )
    just investigate
    Good Luck

  • Log file switch (archiving needed)

    Hi,
    My database is on windows 2003, 10.2.0.4, recently I have been getting the following wait events on a regular basis, LOG FILE SWITCH (ARCHIVING NEEDED)...My redo files are 50MB with 5 groups...I have changed the log_archive_max_process from 2 to 3, but still the problem persists...can anyone help me regarding the same?As to what other changes can be done?and this happens only during the time of BOD and EOD.
    Thanks,
    AJ

    Hi Jonathan,
    Thanks for the reply, I am not worried abt the archiving thing for the time being,as my database was working absolutely fine before the new query that was added in the Begin of Day process. So I am trying to tweak the query.
    Folllowing is the procedure which gets called during the Begin of Day:
    CREATE OR REPLACE procedure Lms_Pr_Bod_Update_Tmp (p_import_type in number)
    as
    v_update_script varchar2(2000);
    v_upper_start_tag varchar2(10); -- san_22-apr-2009
    v_upper_end_tag varchar2(10); -- san_22-apr-2009
    begin
    declare
    cursor cur_update_tmp is
    select -- this query is for all of lov type of data
    a.destination_column_name, a.column_to_update , b.mapped_lov_syscode lov_syscode,
    c.destination_table_name,'LOV_DATA_SYSCODE' select_attribute,'LMS_LOV_DATA_MAP' select_table,
    'SOURCE_UNIQUE_ID' where_condition,'LOV_SYSCODE' lov_condition,'LOV' att_type
    from lms_import_column_info a
    inner join lms_attribute_master b
    on a.attribute_syscode = b.attribute_syscode
    and (a.column_to_update is not null or trim(a.column_to_update) = '')
    inner join lms_import_type_master c
    on a.import_type_syscode = c.import_type_syscode
    where a.import_type_syscode = p_import_type
    and b.mapped_lov_syscode is not null
    union all
    select -- this query is for all of dummy attribute
    a.destination_column_name, a.column_to_update , 1 lov_syscode,
    d.destination_table_name,c.attribute_name_internal select_attribute,
    case
    when b.applicable_for = 'INS' then 'LMS_ENTITY_INSTRUMENT'
    when b.applicable_for = 'ACC' then 'LMS_ENTITY_ACCOUNT'
    end case,
    b.attribute_name_internal where_condition,'1' lov_condition,'DUMMY' att_type
    from lms_import_column_info a
    inner join lms_attribute_master b
    on a.attribute_syscode = b.attribute_syscode
    and (a.column_to_update is not null and trim(a.column_to_update) <> ' ')
    and b.attribute_type = 'DUM' and dummy_column_type = 'FILT'
    inner join lms_attribute_master c
    on b.dummy_mapped_attribute_pk = c.attribute_syscode
    inner join lms_import_type_master d
    on a.import_type_syscode = d.import_type_syscode
    where a.import_type_syscode = p_import_type;
    begin
    v_upper_start_tag := 'UPPER('; -- san_22-apr-2009
    v_upper_end_tag := ')';          -- san_22-apr-2009
    for cr_update_tmp in cur_update_tmp loop
    if p_import_type = 4 and cr_update_tmp.column_to_update IN ('INSTRUMENT_SYSCODE','ACCOUNT_SYSCODE')
    and Upper(cr_update_tmp.destination_table_name) = 'LMS_ENTITY_TRANSACTION_TMP' then
    v_upper_start_tag := ''; -- san_22-apr-2009
    v_upper_end_tag := ''; -- san_22-apr-2009
    end if;
    v_update_script := 'UPDATE ' || cr_update_tmp.destination_table_name || ' A SET ' || ' A.' || cr_update_tmp.column_to_update || ' =
    (select ' || CR_UPDATE_TMP.SELECT_ATTRIBUTE || ' from ' || CR_UPDATE_TMP.SELECT_TABLE || '
    where ' || V_UPPER_START_TAG || CR_UPDATE_TMP.WHERE_CONDITION || V_UPPER_END_TAG || '=' || V_UPPER_START_TAG || CR_UPDATE_TMP.DESTINATION_COLUMN_NAME || V_UPPER_END_TAG ||
    ' AND ' || cr_update_tmp.lov_condition || ' = ' || cr_update_tmp.lov_syscode || ')';
    v_upper_start_tag := 'UPPER('; v_upper_end_tag := ')';
    execute immediate (v_update_script);
    end loop;
    end;
    end;
    Following is the flow of the query:
    1. A temporary table is created where in the updates can be made.
    2. Rows are inserted into ths table from the source table
    3. Updates are performed on this table
    4. Updates are then copied to the source table
    5. This procedure is alled twice, so before getting called for the second time, table is truncated.
    Thanks,
    AJ

Maybe you are looking for

  • Unable to load one script (Iphone revision issue)

    Hi, I'm unable to load one of my scripts through any browser or the desktop app, although I still can through the Iphone app. I believe it stopped working correctly after I made a comment on my Iphone. I was logged in on my comp and tried to make a c

  • Mac Air and Apple TV, before I buy question

    Hello, This is a before I buy Apple TV question. 1. Can I control iTunes and movies in my Mac Air to view on my Samsung TV which will have Apple TV connected to it? In other words, I want to sometimes be able to "DJ" my music or launch movies directl

  • Report where Purchase Orders have been changed

    Hi, I am looking for a report which shows me all the purchase orders in which the prices have been changed by the supplier. Does a report like this exist? Thanks for your help!

  • Sound not working in Flash Builder. Help please.

    So, here's my situation. I keep trying to put an mp3 in Flash Builder to try and make sounds happen, but each time I do it only plays the beginning of it and stops midway through. My music is working at 44100 Hz with a 32 bit rate (tried changing it

  • Spell checking (iOS4) only available in English?

    I can't seem to get the spell checking feature enabled. My language is Danish. Any knowledge on this topic?