Redo log problem

Hello,
I had 12 log groups with 2 member in each group, size og 60mb.
I was adding new groups with larger members and deleting old groups .
I droped 10 old groups and i after some time while querying v$log , I found that those 2 old groups are constantly either in status current or active. so i cant drop them, I was getting ora message which says that i cant drop that group because its needed for instance recovery.
I tryied forcing log switch, i am getting message log switch succesfuly completed, but it wont help, they were still active or current.Like those 2 old groups are in some endles loop.
Please, I would be very greatful for any suggestions on this issue, that is how to get those groups in inactive status so i could drop them.
thx

I droped 10 old groups and i after some time while querying v$log , I found that those 2 old groups are constantly either in status current or active. so i cant drop them,Create other groups before droppping these two last. You cannot have less than two redolog group.
Anyway, 12 redolog group seems to me much, have you really need so much ?
Nicolas.

Similar Messages

  • Physical standby database standby redo log problem

    Hello
    We have a physical standby database , I've created some standby redo log files but my problem is that they aren't used,
    their status in v$stanby_log view is UNASSIGNED
    and I see this message (ORA-16086: standby database does not contain available standby log files) in primary database alert_log file
    while when I run "alter system switch logfile" in the primary database it transfer redo logs to the physsical standby database
    and archive log file will be created in standby database
    I've even recreated the standby redo log files and I added new ones to them but the problem wasn't solved
    Do you know what is problem ?
    elect group#,THREAD#,BYTES,STATUS from V$STANDBY_LOG;
    group#     THREAD#      BYTES       STATUS
    1                   0                   524288000                   UNASSIGNED                  
    2                   0                   524288000                   UNASSIGNED                  
    3                   0                   524288000                   UNASSIGNED                  
    8                   0                   524288000                   UNASSIGNED                  
    9                   0                   524288000                   UNASSIGNED                  
    10                   0                   524288000                   UNASSIGNED                  
    select group#,THREAD#,BYTES,MEMBERS,STATUS from v$log;
    group#                    THREAD#                    BYTES                    MEMBERS                    STATUS
    4                   1                   524288000                   2                   CLEARING                  
    7                   1                   524288000                   2                   CLEARING_CURRENT                  
    6                   1                   524288000                   2                   CLEARING                  
    5                   1                   524288000                   2                   CLEARING                  
    thanks

    Hello Anurag
    Thank you for your reply
    I have found some issue in the standby database alert_log too , in the standby database alert_log it has been written:
    RFS[782]: Assigned to RFS process 3919
    RFS[782]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM AVAILABILITY mode
    Standby controlfile consistent with primary
    Primary database is in MAXIMUM AVAILABILITY mode
    Standby controlfile consistent with primary
    RFS[782]: No standby redo logfiles selected (reason:6)
    Sun Jan 31 13:59:43 2010
    Errors in file /u01/app/oracle/admin/tehrep/udump/tehrep_rfs_3919.trc:
    ORA-16086: standby database does not contain available standby log files
    Sun Jan 31 13:59:48 2010
    RFS[781]: Archived Log: '/disks/sda/tehrep/archivelogs/1_6516_670414641.dbf'
    Sun Jan 31 13:59:50 2010
    and the context "/u01/app/oracle/admin/tehrep/udump/tehrep_rfs_3919.trc"  is below :
    +/u01/app/oracle/admin/tehrep/udump/tehrep_rfs_3919.trc+
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1
    System name:    Linux
    Node name:      linserver2.com
    Release:        2.6.9-42.ELsmp
    Version:        #1 SMP Wed Jul 12 23:27:17 EDT 2006
    Machine:        i686
    Instance name: tehrep
    Redo thread mounted by this instance: 1
    Oracle process number: 58
    Unix process pid: 3919, image: [email protected]
    *** SERVICE NAME:() 2010-01-31 13:59:43.865
    *** SESSION ID:(109.1225) 2010-01-31 13:59:43.865
    KCRRFLAS
    KCRRSNPS
    No space in recovery area for active standby redo logs
    The primary database is operating in MAXIMUM PROTECTION
    or MAXIMUM AVAILABILITY mode, and the standby database
    does not contain adequate disk space in the recovery area
    to safely archive the contents of the standby redo logfiles.
    ORA-16086: standby database does not contain available standby log files
    when I saw this line "No space in recovery area for active standby redo logs" I thought that STANDBY_ARCHIVE_DEST parameter points where that there is no enough space , but when I consider I found out that points a directory on disk a "sda" that has enough space , I don't know what that means
    by the way, at below I've written a section of the primary database alert_log context and "lgwr" trace file around Sun Jan 31 13:30:34 2010
    alert_log :
    ORA-16086: standby database does not contain available standby log files
    Sun Jan 31 13:30:34 2010
    LGWR: Failed to archive log 7 thread 1 sequence 6512 (16086)
    Thread 1 advanced to log sequence 6512
    Current log# 7 seq# 6512 mem# 0: /disks/sdb/tehrep/redo71.log
    Current log# 7 seq# 6512 mem# 1: /disks/sdd/tehrep/redo72.log
    LNSc started with pid=53, OS id=11451
    Sun Jan 31 13:36:34 2010
    Errors in file /u01/app/oracle/admin/tehrep/bdump/tehrep_lgwr_3692.trc:
    ORA-16086: standby database does not contain available standby log files
    Sun Jan 31 13:36:34 2010
    LGWR: Failed to archive log 5 thread 1 sequence 6513 (16086)
    Thread 1 advanced to log sequence 6513
    Current log# 5 seq# 6513 mem# 0: /disks/sdb/tehrep/redo51.log
    Current log# 5 seq# 6513 mem# 1: /disks/sdd/tehrep/redo52.log
    */u01/app/oracle/admin/tehrep/bdump/tehrep_lgwr_3692.trc file :*
    Error 16086 creating standby archive log file at host '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=linserver2.com
    +)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=tehrep_XPT.com)(INSTANCE_NAME=tehrep)(SERVER=dedicated)))'+
    *** 2010-01-31 13:30:34.712 60679 kcrr.c
    LGWR: Attempting destination LOG_ARCHIVE_DEST_3 network reconnect (16086)
    *** 2010-01-31 13:30:34.712 60679 kcrr.c
    LGWR: Destination LOG_ARCHIVE_DEST_3 network reconnect abandoned
    ORA-16086: standby database does not contain available standby log files
    *** 2010-01-31 13:30:34.712 60679 kcrr.c
    LGWR: Error 16086 creating archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=linserver2.com)(PORT=1521
    +)))(CONNECT_DATA=(SERVICE_NAME=tehrep_XPT.com)(INSTANCE_NAME=tehrep)(SERVER=dedicated)))'+
    *** 2010-01-31 13:30:34.712 58941 kcrr.c
    kcrrfail: dest:3 err:16086 force:0 blast:1
    Receiving message from LNSc
    *** 2010-01-31 13:30:34.718 55444 kcrr.c
    Making upidhs request to LNSc (ocis 0x0xb648db48). Begin time is <01/31/2010 13:30:30> and NET_TIMEOUT <180> seconds
    NetServer pid:11196
    *** 2010-01-31 13:30:38.718 55616 kcrr.c
    upidhs done status 0
    *** 2010-01-31 13:36:31.062
    LGWR: Archivelog for thread 1 sequence 6513 will NOT be compressed
    *** 2010-01-31 13:36:31.062 53681 kcrr.c
    +Initializing NetServer[LNSc] for dest=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=linserver2.com)(PORT=1521)))(CO+
    NNECT_DATA=(SERVICE_NAME=tehrep_XPT.com)(INSTANCE_NAME=tehrep)(SERVER=dedicated))) mode SYNC
    LNSc is not running anymore.
    New SYNC LNSc needs to be started
    Waiting for subscriber count on LGWR-LNSc channel to go to zero
    Subscriber count went to zero - time now is <01/31/2010 13:36:31>
    Starting LNSc ...
    Waiting for LNSc to initialize itself
    *** 2010-01-31 13:36:34.116 53972 kcrr.c
    +Netserver LNSc [pid 11451] for mode SYNC has been initialized+
    Performing a channel reset to ignore previous responses
    +Successfully started LNSc [pid 11451] for dest (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=linserver2.com)(PORT=1+
    +521)))(CONNECT_DATA=(SERVICE_NAME=tehrep_XPT.com)(INSTANCE_NAME=tehrep)(SERVER=dedicated))) mode SYNC ocis=0x0xb648db48+
    *** 2010-01-31 13:36:34.116 54475 kcrr.c
    +Making upiahm request to LNSc [pid 11451]: Begin Time is <01/31/2010 13:36:31>. NET_TIMEOUT = <180> seconds+
    Waiting for LNSc to respond to upiahm
    *** 2010-01-31 13:36:34.266 54639 kcrr.c
    upiahm connect done status is 0
    Receiving message from LNSc
    Receiving message from LNSc
    Destination LOG_ARCHIVE_DEST_3 is in STANDBY RESYNCHRONIZATION mode
    Receiving message from LNSc

  • Urgent Help - Redo Log problem

    Hi,
    I have an implementation of Oracle 9i. Presently I have got 3 redo log groups with 2 members each. There are lot of updation and insertion of records going on with few tables. When the load increases the DB lands in a hang state and in the Log I get this message
    Thread 1 cannot allocate new log, sequence 234
    All online logs needed archiving
    Current log# 1 seq# 233 mem# 0: D:\ORACLE\ORADATA\ORCL\REDO01.LOG
    Current log# 1 seq# 233 mem# 1: D:\ORACLE\ORADATA\ORCL\REDO04.LOG
    Can any one help me in solving this problem. I tried to Switch the log files but as they already are waiting for archiving so no use.
    Any help on this will be highly helpfull to me as I am in Live environment.
    Arvind

    The way the log groups work is.
    Log Writer(lgwr) starts writing to group 1. When group 1 fills up, it switches to group 2. When lgwr starts writing to group 2, the Archiver (arc) wakes up and starts writing group 1 to the archive file. When group 2 fills up lgwr start writing group 3 and arc archives group 2 once it has finished writing group 1. When group 3 fills up, lgwr starts writing to group 1 again, assuming that arc has finished writing group 1 to the archive.
    In your case, it appears that arc is still writing group 1 when lgwr wants to use it again, so the database stalls until arc is finished writing group 1.
    Fundamentally you have two choices. You can increase the size of each file in each log group, so they will fill up less often. However, this will also make arc take longer to archive the group. If you can gain enough time based on slower filling to offset the slower writing you should be ok.
    The other option is to add a few more groups of the same size as the existing groups. This will give lgwr more groups to use before needing to start re-using earlier groups.
    Typically, in our systems we run between 4 and 6 64M log groups and never see these hangs.
    HTH
    John

  • Problem while archiving the redo Log

    Hi all,
    I m having few issues in my server...
    I get the following error in the alert log of oracle..
    There are many errors
    1) No space left on device
    2) ARC0: I/O error 19502 archiving log 1 to
    '/oracle/admin/SNM/arch/arch_1_393_668727286.arc'
    ARCH: Archival stopped, error occurred. Will continue retrying
    3) ORA-16014: log 1 sequence# 393 not archive*d, no available destinations*
    Also please find the v$log file query
    SQL> select * from v$log;
    GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS
    FIRST_CHANGE# FIRST_TIM
    1 1 405 1073741824 1 NO CURRENT
    60275455 20-OCT-09
    2 1 403 1073741824 1 NO INACTIVE
    59987366 19-OCT-09
    3 1 404 1073741824 1 NO INACTIVE
    60125083 20-OCT-09
    Also the diskspace is almost 97%.
    Can anyone let me know whether archival of redo log files is causing the issue here?
    If so if i stop the archival of logs ,will it solve the problem?
    Can anyone help me on this?
    Mon Oct 19 09:54:39 2009
    Errors in file /oracle/admin/SNM/bdump/snm_arc0_23831.trc:
    ORA-19502: write error on file
    "/oracle/admin/SNM/arch/arch_1_393_668727286.arc", blockno
    577537 (blocksize=512)
    ORA-27063: number of bytes read/written is incorrect
    SVR4 Error: 28: No space left on device
    Additional information: -1
    Additional information: 1048576
    ORA-19502: write error on file
    "/oracle/admin/SNM/arch/arch_1_393_668727286.arc", blockno
    559105 (blocksize=512)
    Mon Oct 19 09:54:39 2009
    Errors in file /oracle/admin/SNM/bdump/snm_arc0_23831.trc:
    ORA-19502: write error on file
    "/oracle/admin/SNM/arch/arch_1_393_668727286.arc", blockno
    577537 (blocksize=512)
    ORA-27063: number of bytes read/written is incorrect
    SVR4 Error: 28: No space left on device
    Additional information: -1
    Additional information: 1048576
    ORA-19502: write error on file
    *"/oracle/admin/SNM/arch/arch_1_393_668727286.arc", blockno*
    *559105 (blocksize=512)*
    ARC0: I/O error 19502 archiving log 1 to
    '/oracle/admin/SNM/arch/arch_1_393_668727286.arc'
    ARCH: Archival stopped, error occurred. Will continue retrying
    Mon Oct 19 09:54:40 2009
    ORACLE Instance SNM - Archival Error
    Mon Oct 19 09:54:40 2009
    ORA-16038: log 1 sequence# 393 cannot be archived
    ORA-19502: write error on file "", blockno (blocksize=)
    ORA-00312: online log 1 thread 1: '/oracle/oradata/SNM/redo01.log'
    Mon Oct 19 09:54:40 2009
    Errors in file /oracle/admin/SNM/bdump/snm_arc0_23831.trc:
    ORA-16038: log 1 sequence# 393 cannot be archived
    ORA-19502: write error on file "", blockno (blocksize=)
    ORA-00312: online log 1 thread 1: '/oracle/oradata/SNM/redo01.log'
    Mon Oct 19 09:54:40 2009
    ARCH: Archival stopped, error occurred. Will continue retrying
    Mon Oct 19 09:54:40 2009
    ORACLE Instance SNM - Archival Error
    Mon Oct 19 09:54:40 2009
    ORA-16014: log 1 sequence# 393 not archived, no available destinations
    ORA-00312: online log 1 thread 1: '/oracle/oradata/SNM/redo01.log'
    Mon Oct 19 09:54:40 2009
    Errors in file /oracle/admin/SNM/bdump/snm_arc1_23833.trc:
    ORA-16014: log 1 sequence# 393 not archive*d, no available destinations*
    ORA-00312: online log 1 thread 1: '/oracle/oradata/SNM/redo01.log'
    Mon Oct 19 10:00:16 2009
    ARC0: Encountered disk I/O error 19502
    Mon Oct 19 10:00:16 2009
    ARC0: Closing local archive destination LOG_ARCHIVE_DEST_1:
    '/oracle/admin/SNM/arch/arch_1_393_668727286.arc' (error
    19502)
    (SNM)

    yes it is the production server.
    Also the arch folder contains 2 GB file - arc file....
    Does disable of archival will solve the issue?
    I am try to clear the space or move to some other location..But the thing is my application files is of 3 to 4 GB.remaining thing is of dbf files.
    6564 drwxr-x--- 2 oracle oinstall 512 Oct 21 2008 .
    6563 drwxr-x--- 3 oracle oinstall 512 Oct 21 2008 ..
    6568 -rw-r----- 1 oracle oinstall 7061504 Sep 30 11:58 control01.ctl
    6569 -rw-r----- 1 oracle oinstall 7061504 Sep 30 11:58 control02.ctl
    6570 -rw-r----- 1 oracle oinstall 7061504 Sep 30 11:58 control03.ctl
    9283 -rw-r----- 1 oracle oinstall 5128192 Sep 30 10:21 mfxpima.dbf
    6600 -rw-r----- 1 oracle oinstall 17179877376 Sep 30 11:50 muse0.dbf
    6572 -rw-r----- 1 oracle oinstall 1073742336 Sep 30 08:10 redo01.log
    6573 -rw-r----- 1 oracle oinstall 1073742336 Sep 30 10:16 redo02.log
    6574 -rw-r----- 1 oracle oinstall 1073742336 Sep 30 11:58 redo03.log
    6578 -rw-r----- 1 oracle oinstall 19293806592 Sep 30 11:58 sysaux01.dbf
    6576 -rw-r----- 1 oracle oinstall 1698701312 Sep 30 11:56 system01.dbf
    6579 -rw-r----- 1 oracle oinstall 2147491840 Sep 30 11:04 temp01.dbf
    6577 -rw-r----- 1 oracle oinstall 4084211712 Sep 30 11:58 undotbs01.dbf
    6580 -rw-r----- 1 oracle oinstall 5251072 Sep 30 10:21 users01.dbf
    What as to be done....in this case....
    Help me out...
    I have no other option ....
    SRinivasan

  • Problem with Whole Database Online+Redo log Backup

    Dear Marcus Sir,
    I am facing while taking "Whole Database Online+Redo log Backup" through DB13 T-Code.
    Below is the "Problem part of the Backup log", however if you need I will send you full log.
    Hope you will find out problem soon
    #FILE..... /oracle/ANP/sapdata2/sr3_8/sr3.data8
    #SAVED.... sr3.data8  ANPB260810/12
    BR0280I BRBACKUP time stamp: 2010-08-27 11.03.22
    BR0063I 9 of 51 files processed - 19400.070 MB of 135986.469 MB done
    BR0204I Percentage done: 14.27%, estimated end time: 11:47
    BR0001I *******___________________________________________
    BR0202I Saving /oracle/ANP/sapdata2/sr3_9/sr3.data9
    BR0203I to /dev/rmt0.1 ...
    BR0278E Command output of 'LANG=C dd obs=1024K bs=1024K if=/oracle/ANP/sapdata2/sr3_9/sr3.data9 of=/dev/rmt0.1':
    dd read error: I/O error
    462+0 records in
    462+0 records out
    BR0280I BRBACKUP time stamp: 2010-08-27 11.03.36
    BR0279E Return code from 'LANG=C dd obs=1024K bs=1024K if=/oracle/ANP/sapdata2/sr3_9/sr3.data9 of=/dev/rmt0.1': 2
    BR0222E Copying /oracle/ANP/sapdata2/sr3_9/sr3.data9 to/from /dev/rmt0.1 failed due to previous errors
    BR0280I BRBACKUP time stamp: 2010-08-27 11.03.41
    BR0317I 'Alter tablespace PSAPSR3 end backup' successful
    BR0056I End of database backup: bedziydp.ant 2010-08-27 11.03.36
    BR0280I BRBACKUP time stamp: 2010-08-27 11.03.41
    BR0054I BRBACKUP terminated with errors
    Warm Regards
    Ahsan

    Hi,
    since you are getting a read error, it might as well be, that your datafile is defective.
    Try the same dd-command to /dev/null, to see if it is possible to read the entire file.
    First make sure that your null-device is existing, otherwise you might face a root-fs full problem.
    dd obs=1024K bs=1024K if=/oracle/ANP/sapdata2/sr3_9/sr3.data9 of=/dev/null
    or try a dbverify on it, which would also read the entire file and do a checksum test.
    brbackup -c -u / -m /oracle/ANP/sapdata2/sr3_9/sr3.data9 -t online -w only_dbv
    Good luck
    Volker

  • Standby DB real time redo log apply problem

    Hi all,
    I am using Oracle 10g to create physical standby db. In the standby
    db, normal archived log apply does not have problem, but when I try to
    use redo log real time apply and issue command
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE;
    it shows:
    ERROR at line 1:
    ORA-38500: USING CURRENT LOGFILE option not available without stand
    What is the problem??
    Thanks a lot !
    Steven

    Note:3633226.8 from Metalink states:
    Setting a standby's RealTimeApply property to ON when there are no standby
    redo logs on the standby or the standby is not in SYNC transport, will
    seemingly succeed. However, the apply engine will not start. The DRC log
    will report an error like ORA-38500. In this case, add standby redo logs
    and set the log transport mode for the standby to be SYNC and set the
    standby state to ONLINE.
    Workaround:
    Add Standby Redo Logs on the standby and set the following broker properties
    on the standby:
    LogXptMode to SYNC and reset RealTimeApply to ON.
    Then set the standby state to ONLINE.
    HTH

  • Checksum problem in redo log file.

    hi,
    I hv a checksum problem in my redo log file.
    Details.
    1. I m unable to open the database but able to mount it.
    2. Error says checksum error in current redolog group 2, so can't recover thread 1.
    3. Error in group 2 which is active group.
    In Mount stage ...
    4. I Can't switch group as database is not open.
    5. I . can't drop as group is active/current.
    6. I can't clear logfile as thread 1 is not recovered.
    7. I . can't recover through " Recover Database" command
    Pls help,
    Thanks in adv.
    Rup

    Try out these steps provided below, this would make your problem gone.
    sql > shutdown immediate ;
    sql > startup mount ;
    sql > recover database until cance ;
    sql > alter database open resetlogs ;
    make sure to take database backup
    hare krishna
    Alok

  • Problem in creating database -Missing Redo log file

    I am try to create a new database using DBCA .While creating a database it shows the error oracle instance terminated.Force Disconnected.
    My alert log file is
    Errors in file /u01/app/oracle/diag/rdbms/oracl/oracl/trace/oracl_ora_5424.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u01/app/oracle/oradata/oracl/redo01.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Wed Nov 06 10:07:27 2013
    Errors in file /u01/app/oracle/diag/rdbms/oracl/oracl/trace/oracl_ora_5424.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/oracl/redo02.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Errors in file /u01/app/oracle/diag/rdbms/oracl/oracl/trace/oracl_ora_5424.trc:
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/oracl/redo03.log'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    Wed Nov 06 10:07:38 2013
    Setting recovery target incarnation to 2
    Wed Nov 06 10:07:38 2013
    Assigning activation ID 1876274518 (0x6fd5ad56)
    Thread 1 opened at log sequence 1
      Current log# 1 seq# 1 mem# 0: /u01/app/oracle/oradata/oracl/redo01.log
    Successful open of redo thread 1
    Wed Nov 06 10:07:38 2013
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Wed Nov 06 10:07:38 2013
    SMON: enabling cache recovery
    Errors in file /u01/app/oracle/diag/rdbms/oracl/oracl/trace/oracl_ora_5424.trc  (incident=1345):
    ORA-00600: internal error code, arguments: [kpotcgah-7], [12534], [ORA-12534: TNS:operation not supported
    Incident details in: /u01/app/oracle/diag/rdbms/oracl/oracl/incident/incdir_1345/oracl_ora_5424_i1345.trc
    Wed Nov 06 10:07:46 2013
    Trace dumping is performing id=[cdmp_20131106100746]
    Errors in file /u01/app/oracle/diag/rdbms/oracl/oracl/trace/oracl_ora_5424.trc:
    ORA-00600: internal error code, arguments: [kpotcgah-7], [12534], [ORA-12534: TNS:operation not supported
    Error 600 happened during db open, shutting down database
    USER (ospid: 5424): terminating the instance due to error 600
    Instance terminated by USER, pid = 5424
    ORA-1092 signalled during: alter database "oracl" open resetlogs...
    ORA-1092 : opiodr aborting process unknown ospid (5424_47935551851664)
    Wed Nov 06 10:07:47 2013
    ORA-1092 : opitsk aborting process
                                                                                                                                   251,1         95%

    >I am try to create a new database using DBCA
    >Please help me to resolve this issue.My redo log file was missing
    DROP and recreate the database.  It is a *new* database without any data.
    Check what datafile locations and redo log file locations you specify when creating the new database. Check if you have permissions and enough disk space.
    Hemant K Chitale

  • Redo Log Buffer sizing problem

    My pc has 512mb RAM and i was trying to increase the redo log buffer size. Initially the log_buffer size was 2899456 bytes. So i tried to increase it to 3099456 by issuing the command:
    ALTER SYSTEM SET LOG_BUFFER=3099456 SCOPE=SPFILE;
    And i issued SHUTDOWN IMMEDIATE. Upon restarting my database, when i queried SHOW PARAMETERS LOG_BUFFER . The value has been changed to 7029248 bytes not 3099456 which i wanted. How did this happen?

    1.) We are all volunteers.
    2.) It was only 5 hours between posts and you're complaining that there are no answers?
    3.) You didn't bother to mention platform or Oracle version, even after being specifically asked for it? Which part of "What is your Oracle version?" do you not understand? And yes, the platform may be useful too....
    From memory, there could a couple of things going on. First off, starting in 9i, Oracle allocates memory in granules, so, allocating chunks smaller than granule size can result in being rounded up to granule size. Second, on some platforms, Oracle protects the redo buffer with "guard pages", i.e., extra memory that serves simply to try to prevent accidental memory overflows from corrupting the redo buffer.
    If you want a specific answer, or at least a shot at one, post:
    1.) Oracle version (specific version: 8.1.7.4, 9.2.0.8, 10.2.0.3, etc).
    2.) Platform
    3.) O/S and version
    4.) Current SGA size
    Reposting the same question, or threatening to do so, will get you nowhere.
    -Mark

  • Redo Log Writer Problem

    Hello
    What can I do, when Average redo log write time is 17'300ms (averaged over 30ms)?
    I have only one redolog writer. Should I start more then one redolog writer? We have 3 Redolog Groups (64MB) and we work with oracle dataguard. Its Oracle 11.2 (Unix Solaris 10).
    The system switch every 45 min the redogroup.
    Thanks for your support...
    Best regards...
    Roger

    Street wrote:
    Hello
    What can I do, when Average redo log write time is 17'300ms (averaged over 30ms)?
    I have only one redolog writer. Should I start more then one redolog writer? We have 3 Redolog Groups (64MB) and we work with oracle dataguard. Its Oracle 11.2 (Unix Solaris 10).
    The system switch every 45 min the redogroup.
    Thanks for your support...
    Best regards...
    Roger
    Why do you think that this time, 30ms is not good enough for your database ? Did you get any redo log related issues in the Statspack/AWR report?
    There is only one LGWR possible, you can't have more than one LGWR.
    Aman....

  • Problem in Redo log backup

    Hi
    I am trying to take "redo log backup" through db13 but it show following error and terminate.
    BR0252E Function fopen() failed for '/oracle/SEP/saparch/aeatzgjn.cds' at location file_printout-4
    BR0253E errno 2: No such file or directory
    External program terminated with exit code 5
    Regards
    Vikram

    hi,
    set your ORACLE_HOME properly. also check file initPRD.sap
    set SAPCHECK for user SAPservicePRD and try again.
    SAP Note 656365 - Error due to missing BRCONNECT functions
    SAP Note: 12741
    can you look at this
    [http://help.sap.com/saphelp_nw70/helpdata/en/65/96f1e4a6974512962197918624e1c5/content.htm]
    Regards,
    Muralidhar

  • How do I manually archive 1 redo log at a time?

    The database is configured in archive mode, but automatic archiving is turned off.
    For both Oracle 901 and 920 on Windows, when I try to manually archive a single redo log, the database
    archives as many logs as it can up to the log just before the current log:
    For example:
    SQL> select * from v$log order by sequence#;
    GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
    1 1 14 104857600 1 NO INACTIVE 424246 19-JAN-05
    2 1 15 104857600 1 NO INACTIVE 425087 28-MAR-05
    3 1 16 104857600 1 NO INACTIVE 425088 28-MAR-05
    4 1 17 512000 1 NO INACTIVE 425092 28-MAR-05
    5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
    6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
    6 rows selected.
    SQL> alter system archive log next;
    System altered.
    SQL> select * from v$log order by sequence#;
    GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
    1 1 14 104857600 1 YES INACTIVE 424246 19-JAN-05
    2 1 15 104857600 1 YES INACTIVE 425087 28-MAR-05
    3 1 16 104857600 1 YES INACTIVE 425088 28-MAR-05
    4 1 17 512000 1 YES INACTIVE 425092 28-MAR-05
    5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
    6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
    See - instead of only 1 log being archive, 4 of them were. Oracle behaves the same way if I use the "sequence" option:
    SQL> select * from v$log order by sequence#;
    GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
    1 1 14 104857600 1 NO INACTIVE 424246 19-JAN-05
    2 1 15 104857600 1 NO INACTIVE 425087 28-MAR-05
    3 1 16 104857600 1 NO INACTIVE 425088 28-MAR-05
    4 1 17 512000 1 NO INACTIVE 425092 28-MAR-05
    5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
    6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
    6 rows selected.
    SQL> alter system archive log next;
    System altered.
    SQL> select * from v$log order by sequence#;
    GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
    1 1 14 104857600 1 YES INACTIVE 424246 19-JAN-05
    2 1 15 104857600 1 YES INACTIVE 425087 28-MAR-05
    3 1 16 104857600 1 YES INACTIVE 425088 28-MAR-05
    4 1 17 512000 1 YES INACTIVE 425092 28-MAR-05
    5 1 18 512000 1 NO INACTIVE 425100 28-MAR-05
    6 1 19 512000 1 NO CURRENT 425102 28-MAR-05
    Is there some default system configuration property telling Oracle to archive as many logs as it can?
    Thanks,
    DGR

    Thanks Yoann (and Syed Jaffar Jaffar Hussain too),
    but I don't have a problem finding the group to archive or executing the alter system archive log command.
    My problem is that Oracle doesn't work as I expect it.
    This comes from the Oracle 9.2 online doc:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_23a.htm#2053642
    "Specify SEQUENCE to manually archive the online redo log file group identified by the log sequence number integer in the specified thread."
    This implies that Oracle will only archive the log group identified by the log sequence number I specify in the alter system archive log sequence statement. However, Oracle is archiving almost all of the log groups (see my first post for an example).
    This appears to be a bug, unless there is some other system parameter that is configured (by default) to allow Oracle to archive as many log groups as possible.
    As to the reason why - it is an application requirement. The Oracle db must be in archive mode, automatic archiving must be disabled and the application must control online redo log archiving.
    DGR

  • BRARCHIVE fails with BR0017E error message: "off line redo log not found"

    After upgrade, archive format was changed to introduce resetlogs id in archive log file name
    Archive destination            /oracle/GDD/oraarch/GDDarch
    Archive format                 %t_%s_%r.dbf
    NOTE: %s log sequence number, %t thread number, %r resetlogs ID that ensures unique names are constructed for the archived log files across multiple incarnations of the database
    We did have problems with this upgrade so database was recovered once and started with resetlogs (new incarnation created).
    Now when we run brarchive it is trying to archive archive_log_file
    BR0017E Offline redo log file '/oracle/GDD/oraarch/GDDarch1_853_544272161.dbf' not found
    while on archive_log_dest we have files like "/oracle/GDD/oraarch/GDDarch1_853_618656359.dbf"
    Can you please help me to find out from where brarchive is picking parameter for log_archive_format and why it is not picking up current one causing missmatch between archvie_redo_log_file create and one BRARCHIVE is trying to back up.

    I already tried it (renamed archGDD.log to andrija.archGDD.log) and rerun
    brarchive -c -u / -r initGDD.utl.nbkp.bdhp4320 -cs
    it gave me output:
    brarchive -c -u / -r initGDD.utl.nbkp.bdhp4320 -cs
    BR0002I BRARCHIVE 7.00 (14)
    BR0006I Start of offline redo log processing: advfexyn.cps 2007-05-08 08.33.13
    BR0477I Oracle pfile /oracle/GDD/102_64/dbs/initGDD.ora created from spfile /oracle/GDD/102_64/dbs/spfileGDD.ora
    BR0013W No offline redo log files found for processing
    BR0007I End of offline redo log processing: advfexyn.cps 2007-05-08 08.33.15
    BR0280I BRARCHIVE time stamp: 2007-05-08 08.33.15
    BR0004I BRARCHIVE completed successfully with warnings
    and in archGDD.log that is created there is againreference to 0544272161 which seems to be still reference to old resetlog ID:
    bdhp4320:ac8558 41> vi archGDD.log
    "archGDD.log" 4 lines, 322 characters
    GDD  util_file  advfexyn cps  2007-05-08 08.33.13  2007-05-08 08.33.15  9  ...........         0        0        0
         0  -
    7.00 (14)  @0544272161
    GDD  util_file  advfexyn cps  2007-05-08 08.33.13  2007-05-08 08.33.15  1  ...........         0        0        0
         0  -
    7.00 (14)  @0544272161
    and in /oracle/GDD/saparch/advfexyn.cps file there is output like:
    Name                           Value
    oracle_sid                     GDD
    oracle_home                    /oracle/GDD/102_64
    oracle_profile                 /oracle/GDD/102_64/dbs/initGDD.ora
    sapdata_home                   /oracle/GDD
    sap_profile                    /oracle/GDD/102_64/dbs/initGDD.sap
    backup_dev_type                util_file
    util_par_file                  /oracle/GDD/102_64/dbs/initGDD.utl.nbkp.bdhp4320
    system_info                    oragdd/oragdd bdhp4320 HP-UX B.11.11 U 9000/800
    oracle_info                    GDD 10.2.0.2.0 8192 862 2969171885
    sap_info                       640 SAPGDD GDD W1381514715 R3_ORA 0020195637
    make_info                      hp_64 OCI_101 May 27 2006
    command_line                   brarchive -c -u / -r initGDD.utl.nbkp.bdhp4320 -cs
    BR0013W No offline redo log files found for processing
    BR0007I End of offline redo log processing: advfexyn.cps 2007-05-08 08.33.15
    BR0280I BRARCHIVE time stamp: 2007-05-08 08.33.15
    BR0004I BRARCHIVE completed successfully with warnings

  • 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.

  • Redo log add and new group

    Hi,
    I have problem with one of the redo log file i issued the ALTER DATABASE CLEAR LOGFILE GROUP 3; command. the status right now is clearing since last some hours.
    Can i create new redo log and assign to group 3. will the status will be inactive or active? how to add redo log and group please explain!
    Thanks

    user12020966 wrote:
    Hi,
    I have problem with one of the redo log file i issued the ALTER DATABASE CLEAR LOGFILE GROUP 3; command. the status right now is clearing since last some hours.
    Can i create new redo log and assign to group 3. will the status will be inactive or active? how to add redo log and group please explain!
    Thanksafer you create redo log group it wil be inactive because nothing has been written to it after you apply alter system switch file the new group will start to write the redo record and it status will be active but if the circule in group 3

Maybe you are looking for