logfile missing watch on the primary database

In a 11.2.0.4 database, we have configured Data Guard, so they created pending log files, but it has been deleted in ASM + accidentally.

Thus, research in the database primary, the newspaper observed log pending files, but is not in ASM +.

In the alert log has not been recorded event.

I can do the recreation of the eve logfiles?

What role can have on the primary database?

Our configuration:

BECAUSE with 4 cases

--

logonline 5 groups for example

each group of logonline with 2 members

--

6 standby of the group e.g.

each group watches with 2 members

Total 48 asm file missing

Select *-Group #, Member

v $ logfile where type = "STANDBY".

order by group #.

GROUP # STATUS TYPE MEMBER IS_RECOVERY_DEST_FILE

No. 51 +DATA_EXA/prep/onlinelog/group_51.1613.804140169 EVE

No. 51 +RECO_EXA/prep/onlinelog/group_51.2918.804140175 EVE

No. 52 +DATA_EXA/prep/onlinelog/group_52.1614.804140479 EVE

No. 52 +RECO_EXA/prep/onlinelog/group_52.4182.804140485 EVE

....

.....

74No. +DATA_EXA/prep/onlinelog/group_74.972.875418965 day BEFORE
74No. +RECO_EXA/prep/onlinelog/group_74.14330.875418971 day BEFORE

ASMCMD >

ASMCMD > ls-l +DATA_EXA/prep/onlinelog/group_74.972.875418965

ASMCMD-8002: entry 'group_74.972.875418965' does not exist in the directory ' + prep/DATA_EXA/onlinelog /'

ASMCMD >

ASMCMD >

Redologs Eve will be active when the database is in the role of Eve, so you can drop the watch group redologfile missing for the thread and add it again.

You have lost all the groups newspaper waiting for redo for all threads?

On primary, you can drop all odds redolog groups because they will be unassigned State on the standby database make sure the group is unassigned status before falling

Select Group #, THREAD #, STATUS from v$ standby_log;

Tags: Database

Similar Questions

  • Can we create database of watch on the same server as the primary database

    I have Oracle 10 g Rel2, Windows server 2003 operating system. Can I create backup of database on the same server on which we have our primary database?

    Yes, you can
    You must configure the settings DB_FILE_NAME_CONVERT file
    If the standby database is on the same system as the primary database or if the structure of the directory where data files are located on the standby site is different from the primary site, this parameter is required.
    Please refer to the documentation:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/initparams048.htm#REFRN10038

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com

  • RMAN-06820: WARNING: unable to archive the current log on the primary database

    I got the following exception when I try to backup the data files and the archivelogs on the physical by uisng RMAN standby database.

    RMAN-06820: WARNING: unable to archive the current log on the primary database

    Target ORACLE database error:

    ORA-17629: unable to connect to the remote database server

    ORA-17627: ORA-00942: table or view does not exist

    It's the backup script

    "

    connection target sys/oracle

    Configure controlfile autobackup on;

    Run {}

    nocfau together;

    allocate channel ch01 device type disc format ' / test/%U';

    allocate channel ch02 device type disc format ' / test/%U';

    backup database copy archivelog;

    backup copy current controlfile;

    }

    "

    And there is no error ora in the primary alert log.

    I was able to tnsping two server (primary/secondary) properly and could also primary of the remote login on standby db server and switch logfile. I read there is a very similar thread, but it has failed so I post again and hope I could get a few clues. Thank you.

    Hello again;

    Try to change this:

    connection target sys/oracle

    to something like this:

    RMAN target sys/password@PRIMARY auxiliary.

    Complete example:

    http://www.Visi.com/~mseberg/data_guard/duprman2.html

    Best regards

    mseberg

  • Pending passage of the primary database to database

    Hi Experts,

    There is a database of oracle 10 g on a windows server and the database pending 1 * 0 g on another windows server *. The archivelogs in the primary database are generated on a network drive and they are applied on a regular basis of the primary database to the standby database, but now the primary database server broke down. If someone can tell me how to failover the database ensures the primary. I followed these steps but still Iam unable to move forward

    on the standby server:

    1 rman target sys/oracle@standby catalog rman/rman@catalog
    2 recover database;
    3 output
    4 sqlplus sys/oracle@standby as sysdba
    5 change the recovery of database managed standby database disconnect from the session;
    6 alter database recover managed standby database finish;
    7 change the database for validation at the grade crossing;

    All records of the primary database in the backup catalog are applied with success, until no 6 but not 7 would give me an error indicating that the required media recovery. Can someone help me?

    Thanks in advance...

    HI srp.

    As u mentioned above you are primary database server crashed.

    Now, you want to switch to mode ensures primary school.

    Use the following commands to go to primary school

    1 startup nomount
    2. change the mounting base pending;
    3. recover standby database managed disconnect from the session.
    4 recover managed standby database finish skip standby logfile;
    5 change the database for validation at the grade crossing;
    6. immediate cessation
    7. starting

    Otherwise, you need to activate the standby database using the command sequence

    SQL > recover managed database finish pending;
    SQL > alter database activate standby database;
    SQL > stop & start.

    Kind regards
    Praful K

  • Retrieve the primary database before database

    Hi all
    I'm trying to understand how to use databases of physical sleep in order to have a backup from a primary database.

    The first part is very clear. I guess I have a loan of the physics of the standby database and primary database archiving, but the second part is the problem.

    1. now, I guess my primary database went... not only a logical corruption but a physical disaster such an o fire something worse.
    How to recover the main site of the physical database ensures?

    2. just logical changes in the primary database. How to synchronize with the database on hold that he is one who has the right data?


    Thanks in advance.

    Published by: jsfelix on November 18, 2009 04:48

    Published by: jsfelix on November 18, 2009 04:51

    If you lose the database, then you normally would failover to the standby mode it becomes the main new.

    So you take a backup of the first news and use it to create a watch on the former primary server. When it is updated, you can then pass to the original configuration.

  • No index on the primary database. Need help with "COUNT OFF"; option

    11 GR 2 11.2.0.3 under linux

    Hi everyone,.

    It's an honor to be with you guys.

    I have a big question here and I am unable to decide on a permanent solution.

    We have a primary database that is configured to have a logical expectation.

    The logic of the day before was not built by me. But I'm now support...

    So as the title suggests, there is NO primary index / unique + not null on a large number of tables in the database of emergency primary/logic. But the application logic guarantees uniqueness values rather than null.

    Here is where the problem starts.

    Guys request DO NOT want us to create an index on the primary database.

    According to my understanding, because the database lack of clues, the apply SQL must do a full table scan whenever it changes / remove data. It is a very expensive process and consumes a lot of time. This takes hours together to apply a minute with a value of newspapers on the logic of the eve... A huge lag is created during the hours and is not acceptable.

    So as I told you earlier, the guys request do not want an index on the tables not supported.

    They use the database pending logic exclusively for information purposes and it's like production for them...


    Let me give an overview...

    According to the document on the creation of the logic of the day before for 11.2 as below

    http://docs.Oracle.com/CD/E11882_01/server.112/e41134/create_ls.htm#SBYDB4730

    Step 1 to find tables without identifying unique logic in the primary database.

    Query the DBA_LOGSTDBY_NOT_UNIQUE view to display a list of tables SQL may not apply be able to uniquely identify. For example:

    SQL> SELECT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_NOT_UNIQUE
     2> WHERE (OWNER, TABLE_NAME) NOT IN 
    3> (SELECT DISTINCT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_UNSUPPORTED) 
    4> AND BAD_COLUMN = 'Y'; 

    The above query has 1040 tables in a particular schema. All the these have no index is not null primary / unique.


    Now according to the step 2 as below, we have an option to add a disabled RELY primary key constraint.

    Step 2 Add a disabled RELY primary key constraint.

    If your application provides the rows in a table are unique, you can create a primary key disabled RELY constraint on the table. This avoids the overhead of maintaining a primary key on the primary database.

    Can someone explain what this RELY constraint is disabled and how to function and help please?


    I have a few questions about the constraint to RELY.

    (1) change current plans of optimizer on primary for the execution price?

    (2) can help to boost the performance of SQL apply without creating index on the logical standby database?

    (3) it will change current plans of optimizer logical pending for the SQLs running?

    What are the options that I need to increase the performance and table scan complete engine AVOID SQL apply on the logic of the day before?

    Thanks a ton for reading my post.


    Kind regards

    Abhishek

    In fact, I've implemented a key primary rely disabled on primary and unique index on the logic of the previous day.

    The logic of Eve runs lightning fast now

  • How the standy database reflects the primary database?

    in the primary database create a tablespace or datafile adding / resizing then what happens to the standy database

    [url http://docs.oracle.com/cd/B14117_01/server.101/b10755/initparams206.htm] STANDBY_FILE_MANAGEMENT

  • Data file not shipped from the primary database to the standby database

    Hello

    (1) create a new user
    (2) created a new table space and add datafile on the primary database
    (3) the value tablespace default user

    But so far, this new data file is not delivered on the standby database.

    Version of database - 10.2.0.3
    OS - Windows

    Setting of primary and Standby: -.

    SQL > show parameter standby_file_management;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    standby_file_management string AUTO

    Both have the same file system, but the difference is case sensitive.

    Primary data file location - D:\testdata

    Location of file data at rest - D:\TESTDATA

    Help, please.

    MRP process is running on the standby database?

    If it is then try to pass, log on the primary database and share your result.

  • LOG_ARCHIVE_DEST_2 parameter error and cannot start the primary database

    Hello
    I was getting errors in my RMAN backup script. I took a glance on the database settings. Looks like I made a mistake when I was in the LOG_ARCHIVE_DEST_2 setting in the standby database. Instead of putting on the eve I put it in the name of the primary instance. I also noticed that the LOG_ARCHIVE_DEST_2 setting has been changed in the primary database where I put it first. I guess he's changed when I changed the sleep setting. I have two questions:

    (1) can the parameter LOG_ARCHIVE_DEST_2 be changes for the correct setting now that I set it wrong. The reason why I ask is because when I tried to change by using the following ALTER SYSTEM command I got an error saying something about conflicting attributes. I guess it's because the name of the primary instance has been upgraded with the DB_UNIQUE_NAME instead of the name of the standby instance. If I could change the LOG_ARCHIVE_DEST_2 setting to sleep first then maybe I can change the primary to the correct setting? Please provide markets.

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 ='SERVICE = < DB PRIMARY > ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = < PRIMARY_INSTANCE > '

    (2) the second question is you can start a database using a spfile? (I use ASM and Data Guard) I ask because while I was connected to the primary database I executed the following command:

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 = 'SERVICE = < PRIMARY_INSTANCE > ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = < PRIMARY_INSTANCE >' scope = spfile;

    I then stop the database and try to start but it won't start because it says to conflicting attributes. I don't create a pfile from spfile file before you shut down the database. (I'm bad). How can I change the setting for the primary database to start over. (The PFILE file is different in ASM. There are sub + DATA but has only a single line indicating where is the location of the SPFILE) I need to run the following RMAN RESTORE CONTROLFILE FROM backup AUTOMATIC;

    Please help as it is a production environment that was supposed to be delivered only yesterday.

    Any help will be greatly appreciated!

    Thanks in advance.

    J

    I always use it. So my answer is Yes.

    Please consider several of the responses of CKPT marking "useful".

    He works very hard in the forum and didn't work great!

    I call it "SuperStar."

    Best regards

    mseberg

  • move the primary database files to another location

    Hi all

    I move the files of my primary database to another location on the same server, but on a different drive (from f: to G :) with rename comand but file name will be the same, after you have moved the files what step I need to perfom on standby DB will have on my database pending?)

    This doc is everything after you rename the primary file, I'm not rename all the files I need to just move file from one place to another without changing the file name.

    I hope you know how to move files from one place to the other on the primary database. It's not just copying the files from one disk to another and then to go to the top of your database.

    You rename your data files or copy it to another location, how the controlfile to know you have copied/renamed to a different location?

    I guess you 1 to ask the question of how to move files to a different location in primary education and then move on standby.

    Steps to follow:
    1 Hope you brought your primary database.
    2 copy the datafiels to one disk to another.
    3. attach the primary database.
    4 rename all data files that you moved to this control file would know the changes.
    SQL > alter rename file 'G:\oracle\user01.dbf' to 'F:\oracle\user01.dbf ';
    5. subsequently open the database.
    Refer this to move data files from one place to another http://www.orafaq.com/wiki/Move_datafile_to_different_location, http://www.adp-gmbh.ch/ora/admin/move_datafiles.html

    on autonomy in standby:
    1 cancel the MRP
    2. change the db_file_name_convert to point to «F:\»... »
    3. Mount the backup database
    4. start the MRP

    Hope that these steps are clear.

  • create a user in the primary database, but has not spread to sleep

    I created a user scott/tiger on primary and I hope to do a few tests.

    However I don't see it at all in waiting for the database. It was 30 minutes.

    I ran archive_log $ v and v$ archive_gap, nothing is pending.

    Why does this happen?

    Do you have archives of 8826 sequences are transported in standby mode or not?

    the primary message & eve

    Select sequence #, name from v$ archived_log where sequence # > 8825 and the name is not null;

    MRP run in standby mode?

    Eve post

    $ps - ef | grep mrp

    Do you have set all the parameters in sqlnet.ora standby server? If Yes please do it after.
    also a few primary alert information & standby log file too.

    Published by: CKPT on December 12, 2011 21:39

  • update the primary database with the old system dump export received the YVERT error

    Here is the error message:
    ORA-31684: SYNONYM object type: 'SYSTEM '. "" SYSFILES "already exists
    ORA-31684: SYNONYM object type: 'SYSTEM '. "" TAB "already exists
    ORA-31684: SYNONYM object type: 'SYSTEM '. "' TABQUOTAS ' already exists
    ORA-31684: SYNONYM object type: 'SYSTEM '. "" PRODUCT_USER_PROFILE ' already exists
    DATABASE_EXPORT/SCHEMA/TYPE/TYPE_SPEC processing object type
    ORA-31684: type of the object TYPE: "SYSTEM". "" REPCAT$ _OBJECT_NULL_VECTOR ' already exists
    Treatment of type of object DATABASE_EXPORT, SYSTEM_PROCOBJACT, PRE_SYSTEM_ACTIONS, PROCACT_SYSTEM
    Cannot set a bigger than the current SNA SNA. If a configuration Capture stream was then imported the application that processes the captured messages must be deleted and re-created. See My Oracle Support 1380295.1.
    Treatment of type of object DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
    ORA-39083: Type THAT PROCOBJ cannot be created with the object error:
    ORA-29357: SYSTEM_PLAN object already exists
    Because sql is:
    BEGIN
    dbms_resource_manager.create_plan ('SYSTEM_PLAN', 'Plan focus on system sessions', 'FOCUS', 'ACTIVE_SESS_POOL_ABSOLUTE', 'PARALLEL_DEGREE_LIMIT_ABSOLUTE', 'FIFO_TIMEOUT'); COMMIT; END;


    NEW RAC system is redhat linux 5, db version 1120301.
    old system is a database on aix, version is 11.2.01

    by export file:
    Full = directory = data_pump_dir dumpfile=exp_full_%U.dmp logfile = exp_full.log filesize = 11000 m FLASHBACK_TIME = systimestamp

    import file is:

    Full directory = y = data_pump_dir dumpfile=exp_full_%U.dmp logfile = parallel imp_full.log = 8
    ~

    This seems to be what I tried to say a few hours back.

    I probably give up at this point and take a step back and rethink this.

    Anything worth doing worth do right.

    Really. Stop, think and plan.

    Stop waiting for someone to tell you what you want to hear.

    Best regards

    mseberg

  • Best way to control the primary databases, standby, including alert logs, etc..

    Hi, guys, I've finally commissioning of the new environment for the new redhat linux and everything works great so far (primary/secondary).

    Now I would like to setup of its surveillance analysis scripts automatically so I can let it run by itself.

    What is the best way?

    I talked to another friend of dba outside the company and he told me that his shop would not use any cron jobs to monitor, they use the grid control.

    We have no control of grid. I would like to see what fits best here? should we configure the grid control?

    And as for now, I would appreciate the ideas of all the cron scripts.

    Thank you

    I have the simple:

    ####################################################################
    # script to check alert log on PRIMARY
    #
    ####################################################################
    #
    #
    # Set the directory for alert log
    #
    cd /u01/app/oracle/diag/rdbms/primary/PRIMARY/trace
    #
    #
    #  run tail command
    #
    tail -500 alert_PRIMARY.log | more
    

    Adjust the - 500 on the tail according to your needs.

    Or you can get fancy:

    #!/bin/bash
    
    function outputMenu {
    cat > /dev/stdout <
    

    Best regards

    mseberg

  • How to rename the primary database instance after passage in the

    Hi people,

    To make the passage, intend to do following steps:

    Connect to OEM, go to the Prdinfo DB home page, select the backup drinfo database and click switch.

    Waiting for it to complete successfully. My question is that, when the transition is complete, how should we are plan to rename the DRINFO to PRDINFO? Request should still know the DB connection to PRDINFO and not DRINFO (after switchover). Can you get it someone please let me know what means this requirement and procedure to rename Drinfo to Prdinfo and PRdinfo to Drinfo (after switch)?

    Thanks in advance

    (SERVICE_NAME = DRINFO) is a SERVICE not a SID. All you have to do is to start this service with DBMS_SERVICE. START_SERVICE after the passage or tipping. You can even do this with a trigger.

    Please read this book - http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-clientfailoverbestprac-129636.pdf

    Larry

  • problem to the primary database

    Jin

    a little on my system

    Windows xp SP2, oracle 10.2.1.0

    I'm trying to create datbase Eve for my relative DB (main site)

    When I start the DB by pfile

    IAM fetting this error

    SQL > startup pfile=C:\oracle\product\10.2.0\db_1\database\initparent.ora
    ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid attributes

    the pfile file content

    parent.__db_cache_size = 100663296
    parent.__java_pool_size = 4194304
    parent.__large_pool_size = 4194304
    parent.__shared_pool_size = 54525952
    parent.__streams_pool_size = 0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/parent/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/parent/bdump'
    * full = '10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0/oradata/parent/\control01.ctl','C:\oracle\product\10.2.0/oradata/parent/\control02.ctl','C:\oracle\product\10.2.0/oradata/parent/\control03.CTL '
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/parent/cdump'
    * .db_block_size = 8192
    * .db_domain = "
    * .db_file_multiblock_read_count = 16
    * .db_name = "parent".
    *. Dispatchers ='(Protocol=TCP) (SERVICE = parentXDB)"
    * .job_queue_processes = 10
    * .open_cursors = 300
    * .pga_aggregate_target = 16777216
    * runoff = 150
    * .remote_login_passwordfile = "EXCLUSIVE."
    * .sga_target = 167772160
    * .undo_management = "AUTO".
    * .undo_tablespace = "UNDOTBS1.
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/parent/udump'
    * .db_unique_name = "parent".
    *. LOG_ARCHIVE_CONFIG = 'DG_CONFIG (parent, STBY)'
    *. LOG_ARCHIVE_DEST_1='LOCATION=C:\oracle\product\10.2.0\db_1\database\archive\
    VALID_FOR (ALL_LOGFILES, ALL_ROLES)
    DB_UNIQUE_NAME = parent"
    *. LOG_ARCHIVE_DEST_2 = "SERVICE = stby LGWR ASYNC
    VALID_FOR (ONLINE_LOGFILES, parent_ROLE)
    DB_UNIQUE_NAME = stby'
    *. LOG_ARCHIVE_DEST_STATE_1 = ENABLE
    *. LOG_ARCHIVE_DEST_STATE_2 = ENABLE
    *. LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
    * .fal_server = stby
    * .fal_client = parent


    I've seen the format of the parameter log_archive_format

    There is nothing wrong with it and I can't move on

    any suggestions?

    Hello

    There is a typo in your file pfile.

    use

    LOG_ARCHIVE_CONFIG = "DG_CONFIG = (parent, stby)"

    you have foreggeten to use '=' sighn

    Anil Malkai

Maybe you are looking for

  • Missing menu entry

    I looked in the help file to find out how to hide the identity of the multiple recipients. Several suggestions were offered, all referring me to different parts of the entry of the account settings in the Tools menu. But there is no entry of account

  • iPhone locked 15 minutes

    IF I restore my iphone if it stops the service

  • KDL-52NX800 turning work?

    Someone at - it a problem of random market turning? There is no flashing red light, that it just restarts. This is my Sec one in four days, the last of them did the same thing, but now I think it's on my end I mean the same thing happens on two telev

  • 2.2 update seems to have killed my phone

    by using updater 2.2 provided by Motorola, I followed the instructions up to the moment when he said that I had to reboot phone and plug it in again to continue. Now when I turn on my phone I get the "pulse" Android logo and there is never a more far

  • Clean install on new SSD?

    Hey people, New on the Apple Forum, hope it's ok to post this question here and in the forum of the iMac. My question: I recently acquired an older iMac Early 2008 (8.1). Currently it has 1 GB of RAM and a HARD drive that is extremely crowded. I just