How to take the database waiting for return in redo apply a State of

Hello

I have 2 questions on physical standby

1. I have cancel the roll forward apply on a database of Eve, opened in read-only mode to querry. And how I could do to take the day before to redo apply a State as before? A command that will help me?

2. in what cases to the primary database redo log is transported to the backup database
-primary: validation
-primary: checkpoint
-primary: Journal of switch


So thank you

http://download.Oracle.com/docs/CD/B28359_01/server.111/b28294/protection.htm

Since you move only protection max max availability all you need is to run:

SQL > ALTER DATABASE DATABASE SET STANDBY TO MAXIMIZE AVAILABILITY.

Tags: Database

Similar Questions

  • How to freeze the application waits for a response from anti-pop

    Well I was developed a custom pop filter and I want to know how to stop my request until the anti-pop filter return a response something like Dialog.Ask () anyone have an idea how I can start to do, thank you for your time.

    Ivan

    After some time to read the documentation, I find the solution instead of pushScreen() user to user pushModalScreen(). This method does not return until you call popScreen (Screen). You must call this method on the event thread thank you for your time.

  • How to start the database and servers after the installation of the Webcenter JSK Portal

    Hello

    I finally installed the portal WebCenter using JSK, after it turned off the machine, I don't know how to start the database or server, I need to set the environment variables? create the oracletab file? or is it a file .sh to start the database and servers?

    Any help will be great!

    Best regards!

    Thanks Françoise-Oracle for your response

    As you say, I need to go to /WCPortal_JSK_Linux.x 86-64/linux64, I found all the scripts that I needed to start or stop a server or database. But more especially if you run evertything, (I did) you just need to run the de./startup.sh script and wait, he'll run, but take some time.

    Best regards!

  • How to find the child level for each table in a relational model?

    Earthlings,

    I need your help, and I know that, "Yes, we can change." Change this thread to a question answered.

    So: How to find the child level for each table in a relational model?

    I have a database of relacional (9.2), all right?
    .
         O /* This is a child who makes N references to each of the follow N parent tables (here: three), and so on. */
        /↑\ Fks
       O"O O" <-- level 2 for first table (circle)
      /↑\ Fks
    "o"o"o" <-- level 1 for middle table (circle)
       ↑ Fk
      "º"
    Tips:
    -Each circle represents a table;
    -Red no tables have foreign key
    -the picture on the front line of tree, for example, a level 3, but when 3 becomes N? How is N? That is the question.

    I started to think about the following:

    First of all, I need to know how to take the kids:
    select distinct child.table_name child
      from all_cons_columns father
      join all_cons_columns child
     using (owner, position)
      join (select child.owner,
                   child.constraint_name fk,
                   child.table_name child,
                   child.r_constraint_name pk,
                   father.table_name father
              from all_constraints father, all_constraints child
             where child.r_owner = father.owner
               and child.r_constraint_name = father.constraint_name
               and father.constraint_type in ('P', 'U')
               and child.constraint_type = 'R'
               and child.owner = 'OWNER') aux
     using (owner)
     where child.constraint_name = aux.fk
       and child.table_name = aux.child
       and father.constraint_name = aux.pk
       and father.table_name = aux.father;
    Thought...
    We will share!

    Thanks in advance,
    Philips

    Published by: BluShadow on April 1st, 2011 15:08
    formatting of code and hierarchy for readbility

    Have you looked to see if there is a cycle in the graph of dependence? Is there a table that has a foreign key to B and B has a back of A foreign key?

    SQL> create table my_emp (
      2    emp_id number primary key,
      3    emp_name varchar2(10),
      4    manager_id number
      5  );
    
    Table created.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  create table my_mgr (
      2    manager_id number primary key,
      3    employee_id number references my_emp( emp_id ),
      4    purchasing_authority number
      5* )
    SQL> /
    
    Table created.
    
    SQL> alter table my_emp
      2    add constraint fk_emp_mgr foreign key( manager_id )
      3         references my_mgr( manager_id );
    
    Table altered.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1   select level lvl,
      2          child_table_name,
      3          sys_connect_by_path( child_table_name, '/' ) path
      4     from (select parent.table_name      parent_table_name,
      5                  parent.constraint_name parent_constraint_name,
      6                  child.table_name        child_table_name,
      7                  child.constraint_name   child_constraint_name
      8             from user_constraints parent,
      9                  user_constraints child
     10            where child.constraint_type = 'R'
     11              and parent.constraint_type = 'P'
     12              and child.r_constraint_name = parent.constraint_name
     13           union all
     14           select null,
     15                  null,
     16                  table_name,
     17                  constraint_name
     18             from user_constraints
     19            where constraint_type = 'P')
     20    start with child_table_name = 'MY_EMP'
     21*  connect by prior child_table_name = parent_table_name
    SQL> /
    ERROR:
    ORA-01436: CONNECT BY loop in user data
    

    If you have a cycle, you have some problems.

    (1) it is a NOCYCLE keyword does not cause the error, but that probably requires an Oracle version which is not so far off support. I don't think it was available at the time 9.2 but I don't have anything old enough to test on

    SQL> ed
    Wrote file afiedt.buf
    
      1   select level lvl,
      2          child_table_name,
      3          sys_connect_by_path( child_table_name, '/' ) path
      4     from (select parent.table_name      parent_table_name,
      5                  parent.constraint_name parent_constraint_name,
      6                  child.table_name        child_table_name,
      7                  child.constraint_name   child_constraint_name
      8             from user_constraints parent,
      9                  user_constraints child
     10            where child.constraint_type = 'R'
     11              and parent.constraint_type = 'P'
     12              and child.r_constraint_name = parent.constraint_name
     13           union all
     14           select null,
     15                  null,
     16                  table_name,
     17                  constraint_name
     18             from user_constraints
     19            where constraint_type = 'P')
     20    start with child_table_name = 'MY_EMP'
     21*  connect by nocycle prior child_table_name = parent_table_name
    SQL> /
    
           LVL CHILD_TABLE_NAME               PATH
    ---------- ------------------------------ --------------------
             1 MY_EMP                         /MY_EMP
             2 MY_MGR                         /MY_EMP/MY_MGR
             1 MY_EMP                         /MY_EMP
             2 MY_MGR                         /MY_EMP/MY_MGR
    

    (2) If you try to write on a table and all of its constraints in a file and do it in a valid order, the entire solution is probably wrong. It is impossible, for example, to generate the DDL for MY_EMP and MY_DEPT such as all instructions for a table come first, and all the instructions for the other are generated second. So even if NOCYCLE to avoid the error, you would end up with an invalid DDL script. If that's the problem, I would rethink the approach.

    -Generate the DDL for all tables without constraint
    -Can generate the DDL for all primary key constraints
    -Can generate the DDL for all unique key constraints
    -Can generate the DDL for all foreign key constraints

    This is not solidarity all the DOF for a given in the file object. But the SQL will be radically simpler writing - there will be no need to even look at the dependency graph.

    Justin

  • How to change the display language for vsphere client from the web?

    Hi all

    I would like to know how to change the display language for vsphere client from the web?

    help please, thank you!

    Take a look at http://blogs.vmware.com/vsphere/2012/10/the-vsphere-web-client-and-localization.html to see which languages are available and how to change the URL.

    André

  • How to display the database column value in a component of choice selected?

    Hello everyone;

    I use Jdeveloper 11.1.1.4 and right now I have the .jspx UI page that includes < af:selectonechoice / > components and according to the requirment I have to fill one of the column in the table in this drop-down list.

    can someone tell me how to fill the database column value in this drop-down list. I know I need to create the VO for the same thing, but I'm new to this technology. Then please suggest.

    Thanks in advance.,

    This will help u

    https://blogs.Oracle.com/prajkumar/entry/create_lov_in_adf_application

    How to create LOV in ADF 11 g | Techartifact

    Oracle Fusion Middleware Technologies: 11G: how to create a list of Values (LOV)?

    http://www.baigzeeshan.com/2010/03/creating-lov-in-ADF-application.html

    http://husaindalal.blogspot.de/2010/05/How-to-default-lov-with-its-first-value.html

  • How to check the database is created in the database of node 2 RAC

    Hi all

    Please allow questions maybe too obvious. I'm not familiar with RAC and ASM.
    virtual box (Windows 7)

    2 built nodes on Linux 6.1 Windows 64-bit virtual machine.
    11.2.0.3 software grid & database.
    One of DB name is demo
    Node1 (demo1)
    Node2 (demo2)


    1. I installed the 11.2.0.3 grid software and set up ASM with her. The installation seems to succeed.

    I am able to use view state using crsctl (see the log)

    2. I installed the database software and you want to create a database (demo) by default. the software from 95%, but not able to realized the dbca.

    I see that the asm_pmon is running, but not able to see the process of demo db. I think at this point, I don't have my demo of database has been created yet.

    Yes, question
    1: is the database created?
    2. I try to use dbca to create my demo db, but at the stage of creation of the 'copy of the database files' - she complaint ORA-03114: not connected to ORACLE
    ???? What? What oracle server trying to connect?
    3. If the database is created, how to start the database, in particular it has 2 instances (demo1 and demo2)?

    Please advise!

    Thank you very much!




    [grid@demo1 ~] $ crsctl stat res t
    --------------------------------------------------------------------------------
    TARGET STATE SERVER STATE_DETAILS NAME
    --------------------------------------------------------------------------------
    Local resources
    --------------------------------------------------------------------------------
    ORA. DATA.dg
    Demo1 ONLINE
    Demo2 online
    ORA. LISTENER.lsnr
    Demo1 ONLINE
    Demo2 online
    ORA.asm
    Demo1 Started online
    Demo2 Started ONLINE
    ORA. GSD
    In offline mode offline demo1
    Demo2 offline offline
    ORA.net1.Network
    Demo1 ONLINE
    Demo2 online
    ORA.ons
    Demo1 ONLINE
    Demo2 online
    --------------------------------------------------------------------------------
    Cluster resources
    --------------------------------------------------------------------------------
    ORA. LISTENER_SCAN1. LSNR
    1 demo1 ONLINE
    ORA.demo1.VIP
    1 demo1 ONLINE
    ORA.demo2.VIP
    1 demo2 online
    ORA. CVU
    1 demo1 ONLINE
    ORA. OC4J
    1 demo1 ONLINE
    ORA.scan1.VIP
    1 demo1 ONLINE

    Published by: 969880 on November 13, 2012 14:18

    1. What is sure, is that your database is not registered in OCR because there are missing elements in crsctl stat res t exit for database instances.
    2. default DBCA trying to restore an RMAN backup to create a database. DBCA probably also try to connect to the new instance of the database to run scripts.
    3. you must use:

    srvctl start database -d demo
    

    This should start all database instances.

    But first try to check the DBCA logs that should be under $ORACLE_HOME/cfgtoollogs/dbca and to correct related errors.

  • How to take the laboratory test, possible?

    I'm not able to study for vmware.

    I did the course, but the company has not set environment for me and work.

    How to take the laboratory test, possible?

    I need a help from you.

    Thank you

    ________________________________

    Thiago Rodrigues | Network management

    Associate. [email protected]

    Mobile: (011) 6122-0994

    www.DIGISYSTEM.com.br

    Engine certified Manager

    Certified Itil v2 Foundation

    ________________________________

    My VCP410 exam, it is not easy to take the exam without laboratory. Try to get a lab by installing a copy of assessment on VMware Play or work station. I hope this helps.

    Tim

    VCP on vSphere 4

  • How to change the PCTFREE parameter for an existing table

    How to change the PCTFREE parameter for an existing table?

    Guys can you help me please

    Hello

    Of course it is possible.
    In this case you would export the table from the database (using old style exp)
    Start the import with the index_file option to generate the table/index instructions
    Modify the file created and updated the PCTFREE and remove any that need to be performed (default, if I remember correctly, he comments on the statements of the Index)
    Run the file for the table and the index created
    After that start the import with the option "ignore = yes".

    Make sure that you export only this particular table using "tables =
    Also in importing the "ignore = yes" will also be important data that still exists.

    In my view, however, this is not what you want to do. It's more complex, sensitive failure and the table should be deleted, so users are affected unnecessarily long.

    Success!
    FJFranken

  • How to know the database uses pfile or spfile?

    Hi guru

    How to know the database uses pfile or spfile?



    Thank you

    Thank you for this question of doc!
    Please type in sql * show spfile parameter.
    If it is empty, you do not use a spfile.

    --------------
    Sybrand Bakker
    Senior Oracle DBA

  • How to set the page template for a page in app

    I've been looking for a way to re - assign a specific page to a different page template, and I must be blind. I did it with the regions and reports, but never a whole page. The closest I can find is how to set the default page for an application model template. What I have is a printable form that they want in a specific format. I was able to code the whole thing into a region of PL/SQL, but I was hoping that I could take an existing page template and modify the model to different regions in the areas I would like to.

    Can someone help me find this? I have already created a copy of the page template I want to twist.

    If you are in the tree view, double-click the entry of title of page (top); If you are in the component view, simply click the edit button in the page area. Either way will take you to the screen of the Page change. in the display attributes section, you will see a Page Model drop-down list.

    -David

  • How to check the matrix Certification for RMAN

    All the

    I am interested in finding the certification of rman.

    My client has catalog db on 9i targets are 10 g/11 so we are trying to identify an appropriate RMAN s/w that will support all the databases we have. So, the question is.

    How to check the matrix certification for RMAN?

    PL. tell me the notes, if any.

    Thank you
    Sashi.

    In addition to the Metalink note, you can check the documentation too @ RMAN compatibility matrix

  • Help, how to query the database using pagination

    Hello

    How to query the database using paging for large data.

    any API for this?

    Thank you in advance!

    Hello

    You can specify XmlQueryContext::Lazy as the type of assessment and only call XmlResults:: next() comes as many times as you need.

    John

  • How to recover the database when archive some of the log file are deleted.

    I am facing a problem with the Oracle database, which is linked to archivelogs.
    Our development database is running in archivelog mode, but we don't have safeguards and have no recovery catalog.
    When the database was in running, disk got full, so some archivelogs were deleted manually.
    After that they have restarted the DB, and DB now not come. The errors are as follows:

    -------------------------------------------------------------------------------------------------------------


    SQL > startup
    ORACLE instance started.

    Total System Global Area 1444383504 bytes
    Bytes of size 731920 fixed
    486539264 variable size bytes
    956301312 of database buffers bytes
    Redo buffers 811008 bytes
    Mounted database.
    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open


    SQL > alter database open resetlogs;
    ALTER database open resetlogs
    *
    ERROR on line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: ' / export/home/oracle/dev/ADVFRW/ADVFRW.system'


    SQL > recover datafile ' / export/home/oracle/dev/ADVFRW/ADVFRW.system'
    ORA-00283: cool cancelled due to errors
    ORA-01610: recovery using BACKUP CONTROLFILE option must be


    SQL > restore database using backup controlfile;
    ORA-00279: change 215548705 generated at 2008-09-02 17:06:10 needed for thread
    1
    ORA-00289: suggestion:
    /export/home/Oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.arc
    ORA-00280: change 215548705 thread 1 is in sequence #1107


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    /export/home/Oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.arc
    ORA-00308: cannot open archived log
    ' / export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
    ORA-27037: unable to get file status
    SVR4 error: 2: no such file or directory
    Additional information: 3


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    Cancel
    Cancelled media recovery.
    SQL >

    -------------------------------------------------------------------------------------------------------------


    1 how to recover the database and put online

    Any help will be much appreciated.

    Regarding
    Hemant Joshi

    Published by: hem_Kec on 7 Sep 2008 09:07

    Hello

    It is actually quite easy.
    We knew that Oracle was looking for logsequence 1107. There is no archived log, it was deleted, or it has never generated. As you delete files, the 1st solution would be possible, BUT as there was only an instance crash so more old archived logs is not required for crash recovery. There is a need during the restoration of the old backup files, which is not our case.

    Thus, the missing log sequence has not been archived = > it is a redo log.
    To identify the required online redo log, we just to log query v$ as I suggest.

    Once the log identified file, we can recover it by specifying the redo log when you ask logsequence 1107.

    And it is on. We win! :)

  • I made my largest site and how can keep the same size for all other sites?

    I did the 2 larger site and how to keep the same size for all pages when I re - open the web browser?

    You can use an extension to set a page zoom and the size of the default font on the web pages.

Maybe you are looking for

  • AT300 / Support for German external keyboard?

    Hello The AT300 doesn't have a driver for keyboards external German (USB). What can I do to get help for a German keyboard layout?

  • replacement of hard disk for pavilion dv4-3020tx

    Hello My pavilion dv4-3020tx hdd just crashed and I want to replace it. My hard drive is blue WD scorpio 2.5 "SATA 640GO, I already check the hard drive im stores but its already obsolete. Can I replace it with a higher as 1 TB and other brand memory

  • Wireless fails & can't get wireless connection tab is displayed

    I can't connect to the Internet wirelessly. I have a Dell Latitude E6510 with a Half-Mini of WLAN Wireless-N DW1501 card.  According to the website of Dell and the Dell technician who tried to help me, I in fact installed the right driver for the car

  • XP will not update (a few tasks)

    Today, I learned that I had a few 12 installed updates. What follows, downloaded and installed OK - KB890830, KB2596785, KB2596843, KB2596912 (first is the MSRT tool, last 3 are associated with office2007). What follows are asked to download, but wil

  • My font too small in the text box, all screens, all is several small

    I find it difficult to read the text in the text box in Web page IE and firefox as well as any other window I open in my computer. I couldn't find the solution for this problem on the internet, including using microsoft and forums. Please don't sugge