What happens at backend when we fire alter database commit to switchover to physical standby

     Hi,
What exactly happens at backend when we fire alter database commit to switchover to physical standby.
how the transition happens?
Thanks

Hi,
The following will happen at the backend
1.) Notifies the primary database that a switchover is about to occur
2.) Disconnect all users from the primary database
3.) Generate a special redo record that signals the End of Redo (EOR)
4.) Converts the primary database into a standby database
5.) Once the standby database applies the final EOR record, guaranteeing that no data loss has been lost, converts the standby database into the primary database.
The new standby database (old primary) starts to receive the redo records and continues process until we switch back again. It is important to remember that both databases receive the EOR record so both databases know the next redo that will be received.
Regards,
Pradeep. V

Similar Messages

  • When i fire alter system switch logfile

    i got a problem in which,when i fire alter system switch logfile.it diden't execute,but the cursur just blink..
    why this is happening???
    with regards Alok
    thanks a lot....

    Perhaps you can problems with some Data Dictionary views. Apply this query and print here the answer:
    select * from v$sgastat where name='free memory';
    Joel Pérez
    http://otn.oracle.com/experts

  • What happens to RandomAccessFile when seek operation fails?

    Hi,
    I wonder what happens to RAF when the seek() op fails - does the file remain open?
    I guess i should close it if fails, what is the best thing to do - protect or catch exception?
    Am i wrong about it?
    Thanks.

    I wonder what happens to RAF when the seek() op fails - does the file remain open?In the absence of evidence or documentation to the contrary that is what you should assume.
    I guess i should close it if failsWhy? All it means is that that offset doesn't exist within the file.

  • What happens in OBAW when a record in OLTP is updated ?

    Hello,
    I wonder what happens in OBAW when a record in OLTP is updated ?
    I mean... I've ETLed the record a couple of days ago, and it is there in OBAW. Now for some reason the OLTP is changed...
    Pls... when we do the new ETL (incremental) does that record in OBAW gets updated ?
    BTW... the OLTP in reference is EBS.
    Txs. for any help.
    Antonio

    That is where "Prune Days" in the Execution Plan Parameters comes into play. Data which has been updated in the source system since "Prune Days" ago is re-extracted.
    Hemant K Chitale

  • What happens to objects when you redeclare a new object?

    ... and is there a more proper way of "deleting" them from memory, or is it a case of waiting until the garbage collector in java sweeps them up?
    i.e.
    private CustomObjectType myObject;
    public final void myMethod() {
    myObject = new CustomObjectType("I am the first object");
    // do some temporary work with myObject
    /// now I need to do more work with another temporary object, so just replace the "link"
    myObject = new CustomObjectType("I am a second object");
    Is it better to declare new variables to hold this second object?
    Should a person declare the object to be null when no longer required?
    Do I ever need to worry about this, does the garbage collector sort out references for me?
    (Please go easy, still learning and don't really need to know this right now but I'm curious! :)

    What happens to objects when you redeclare a new object?If you go:
    Dog myDog = new Dog();
    and then go:
    Dog myDog = new Dog();
    you are replacing the first reference to Dog() with another one. I don't think it would make sense to do this because it is redundant.
    But if you go:
    static Dog myDog = new Dog();
    and then go:
    static Dog myDog = new Dog();
    then then second one will be ignored because the first one already assigned Dog() to myDog.. so the second one won't replace the first one - it will just be ignored or generate an error.
    is there a more proper way of "deleting" them from memory, or is it a case of waiting until the garbage collector in java sweeps them up?In c and c++ you have to think about when the life of an object ends and destroy the object to prevent a memory leak. But in Java the garbage collector takes this task on if a certain amount of memory is used. If you don't use a lot of memory the gc won't bother and the objects will be destroyed when you exit the program.
    You can use:
    finalize(){
    // insert code to be executed before the gc cleans up
    and if you call System.gc() (which you probably won't need to do) then the code in the finalize() method will run first e.g. to erase a picture from the screen before collecting the object.
    private CustomObjectType myObject;public final void myMethod() {
    myObject = new CustomObjectType("I am the first object");
    // do some temporary work with myObject
    /// now I need to do more work with another temporary object, so just replace the "link"
    myObject = new CustomObjectType("I am a second object");
    you could do:
    public class CustomObjectType{
        //this constructs an instance of the class using a string of your choice
        CustomObjectType(String str) {
            System.out.println(str);
        static void main(String[] args){
            CustomObjectType myObject = new CustomObjectType("I am the first object");//  This sends the constructor the string you want it to print
            CustomObjectType myObject2 = new CustomObjectType("I am the second object");//  This sends the constructor the string you want it to print
    }Bruce eckel wrote Thinking in Java 4th edition considered to be the best book on Java because of how much depth he goes into, although some recommend you should have atleast basic programming knowledge and a committment to learn to get through the book.
    I just started it and it helps a lot. Maybe u could borrow it from the library.. good luck!

  • What happens to replicat when a checkpoint table is accidentally removed ?

    Please let me know what happens when a active checkpoint table is removed?
    Does the replicat abend or does it pick from where it left off by reading the trail file.

    Hi,
    Oracle GoldenGatge keeps track of the details of the transactions that are replicated by two methods.
    1. Firstly and always GoldenGate writes to a checkpoint file which resides in the DIRCHK directory.If this Checkpoint File is lost or removed then GoldenGate loses track of your process.
    2. Optionally, you can create a CHECKPOINTTABLE during the creation of the Replicat Process. This Checkpoint table can be specified Globally in the ./GLOBALS parameter or separate checkpoint tables can be created for each processes.
    But Oracle highly recommends to create the Checkpoint table.
    When replicat starts, it will compare the checkpoint file with the checkpoint table. This has been brought because, in the event of failure, the checkpoint file and checkpoint table are referred or read by these processes and it gets started from the point of failure avoiding the re-capture and re-apply of the transactions.
    An another useful thing in using the Checkpoint table is, If you stop the Replicat process and flashback the target database and then start the replicat process again, you do not have to change or modify anything at the GoldenGate level. The Replicat process will just pick up as if you also flashed back the GoldenGate inspite of having all the trail files. This is because your Checkpoint Table will also get flashed back and the replicat process reads the checkpointtable and works accordingly.
    Regards,
    Veera

  • What happens to PR when the related PO is cancelled

    Hi guys
    What happens to the Purchase Requisition (PR) when the related Purchase ORder is cancelled..........!!
    What is the process..
    Regards
    Sreee

    If you check the box 'cancel requisition' when you cancel the PO, the req is cancelled, else the req is not cancelled and should become available again in the autocreate pool.

  • What happens to library when uninstalling iTunes? Please!!

    Silly question, I know...
    But as I'm experiencing the same problem as everyone else after updating to I Tunes 6 (computer crash + ipod not recognized by itunes), I want to uninstall and reinstall it...
    So, what happens to all my music files after I uninstall itunes?? Will they still be there after reinstall or lost forever??
    Thanks for your answers.

    I always wondered if my music would be gone if I uninstalled iTunes. It does not erase you're music.
    This might not be exactly the same problem but lots of people (myself included) had problems after installing iTunes 6.0. I did the following and it finally installed correctly.
    I went to
    http://support.microsoft.com/default.aspx?scid=kb;en-us;290301
    and downloaded the Cleanup utility near the bottom of that page. When it installs on your machine it will scan your computer for every installer every ran on you're machine. Only select iTunes and Qtime and delete those 2 installers. Then I went to add/remove programs and removed iTunes and Qtime. Prior to this Qtime would not unistall but now it did. Funny thing was there was no prompting by windows once I hit "remove/repair" in the "add/remove programs" function.
    Then rerun the iTunes 6.0.1 update. That had been failing to install Qtime prior to this but now it installed and I see all my music again and iTunes works. Let me know if this does the trick, I hope so.

  • Tech Comm Suite 3.5 trial updated my licensed Acrobat 9.5 to X, what happens 9.5 when trial is over?

    After installing Technical Communications Suite 3.5 trial version, it updated my Acrobat Pro 9.5 to version X. What happens to my licensed version 9.5 when trial expires? How do I get it back?

    While that is a good answer to my question; it is not a good solution to my situation since it is a corporate license that has to be reinstalled by our IT department. That is a very cumbersome process and puts me, as an end-user testing this new product, in a poor situation and effectively shuts down my production for an unspecified time frame when the trial expires.

  • What happens to iMessages when the recipient's phone is off? ...

    What happens to messages sent via iMessage or as text messages if the recipient's phone is off? Are they queued and resent when the phone is turned on? Or do they end up in the bit bucket?
    Thanks!
    Chris

    If the recipient is activated his imessage and if he turns on the cellular data or wifi your imessages will get delivered whenever switched on the wifi network or 3g

  • What happens to objects when I close a query?

    Hi,
    In my application I do a JDO query a couple of layers down in the
    architecture. I need to return these results to a higher layer. In the
    layer where I do my query, I add the objects to another Collection than
    the one given as a result of query.execute(). What happens to my
    objects when I call query.closeAll() before returning the result sets to
    the higher layer? Will they be made transient? Will I still be able to
    traverse the object graph? The JDO spec only states "that the results
    remain in their current state", although I am not so sure what exactly
    that implies.
    Thanks,
    khamsouk

    The objects returned from a query become part of the owning
    persistence manager's cache. That means they're under JDO
    management until the persistence manager is closed (or until
    you make them transient yourself). Basically retrieving objects via
    a query is just like retrieving them through a relation or via
    PM.getObjectById.

  • What Happen into Tablespace, when Drop Any Object??

    Hi people.
    I have a question about the store into tablespace, What happen when you make the follow taks into database:ç
    When you drop a table??? Change the size into tablespace?? Reduce the Size on tablespace..??
    What are the diferents between Delete table and Truncate Table...Change the size into tablespace?? Reduce the Size on tablespace..??
    Thank a lot for your help and Answers..Because I can clear my mind in diferents concepts.
    Regards.

    lokimoix wrote:
    Hi people.
    I have a question about the store into tablespace, What happen when you make the follow taks into database:ç
    When you drop a table??? Change the size into tablespace?? Reduce the Size on tablespace..??
    What are the diferents between Delete table and Truncate Table...Change the size into tablespace?? Reduce the Size on tablespace..??
    Thank a lot for your help and Answers..Because I can clear my mind in diferents concepts.
    Regards.Well, you could test it for yourself and see for yourself . .
    However,
    Nothing you have described changes the size of the tablespace. Those actions simply free up previously allocated space within the tablespace, allowing it to be
    reused.
    DROP TABLE releases all the extents allocated to that table, allowing the space they occupied to be allocated to any segment that may need it - AND REMOVES THE TABLE FROM THE DATABASE (well, there are now recyclebin considerations, but that is a different question).
    DELETE just deletes rows from a table, freeing up space on the blocks that those rows occupied. All of the extents allocated to that table remain allocated to it but the space vacated by the deleted rows is available to be re-used by new rows within that table.
    TRUNCATE table releases all the extents allocated to that table, allowing the space they occupied to be allocated to any segment that may need it, BUT UNLIKE DROP TABLE, the table structure remains in place.
    The above is just a high-level description of the differences, there are some details that some people will call me out on, but for your level of understanding these are sufficient for the moment. You really, REALLLY need to spend more time in the Concepts manual.

  • What happens to data, when Info object property is changed to have ALPHA

    Hi experts,
    I have a trivial question,
    What happens to existing data, when I change the info Object property to have an ALPHA convesion routine ? Specifically I need to know, will it remove any similar looking entries ??
    thanks in advance
    D Bret

    Check this:
    Re: Alpha conversion for an existing infoobjects
    Re: ALPHA conversion routine - how to change an existing InfoObject
    Alpha conversion
    TCODE: RSMDCNVEXIT in BW and What is Alpha Conversion?
    Hope it helps..

  • What happens to files when they are deleted on the iPhone?

    When you delete files like videos, podcasts or emails directly on the iPhone by swiping it and hitting the "Delete" button what happens to these files? Are they instantly removed from disk or they go to some sort of "Recycle Bin"?
    Do you know that bar on iTunes showing how your iPhone disk is being used, with "Audio, Video, Photos, Apps, Other and Free"?
    I wonder if having more than 4Gb on the "Other" category is related to this practice in any way?

    Other includes data such as 3rd party app settings and data created and stored by a 3rd party app, email stored or cached locally including email attachments, Safari history, cookies, and cache, notes, voice memos, visual voicemail, contacts, calendar events, etc.

  • What happens to calls when voice mail is not set up?

    Odd question...what happens to calls placed to a number that does not have the voice mail set-up yet?  Do they show up as missed calls or anywhere in the call log for that number?  Or is it like the call never happened because it was not answered and could not go to voice mail?  Also curious as to whether or not missed calls show up on the phone once it is powered back on after having been shut off (powered all the way down).  I realize those calls will go to voice mail (provided it has been set-up) but will the calls show up as missed on the phone when it is turned back on?

    Not odd...On Verizon if it is not set up, you will hear a recording that says "Im sorry, but the party you are trying to reach has a vm box that has not been set up yet". It will show as missed if the phone is on, and will appear in the log if the phone is on. If the phone is powered off, the call does not show in the log when turned back on. It will appear as if it never happened. You will only know if you get a VM (if its set up) or if the person tells you, hey I called you!

Maybe you are looking for

  • New ipod nano will not connect to my win 7 computer

    I have new ipod nano. I connected via usb port. My computer does not recognize device. what do I do?

  • Chart legend name programmatically

    Hi, How can I change programmatically the legend name of my chart? Thanks, ToNi.

  • Enabling log miner

    I have to enable log miner on 11g r2 database i am following How to Setup LogMiner [ID 111886.1] 1. Make sure to specify an existing directory that Oracle has permissions    to write to by the PL/SQL procedure by setting the initialization    paramet

  • Delete Windows protected folders?

    Hi, I have a Windows "My Documents" copied in my Mac, cause I did a Backup to a friend of mine, but the folder is protected and I can`t delete now. I`ve tried the "rm -fr"command, but I received the message: rm: Pasta Sem Título//Meus documentos/Minh

  • Compare two .txt files and show result

    HI Could anybody show me how to compare two text files and show the result. i.e. textfile1.txt harry.denmark karry.sweden textfile2.txt harry.denmark karry.sweden marry.usa Compare result= marry.usa The text files I want to compare are how ever much