How Controlfile SNA remain synchronized after moving the database with the cold backup

Hello DBAs,

I doubt that:

Every time you pass a cold backup database. We create a new controlfile with new locations of data/redologs etc.

And then we execute "create controlfile reuse...". noresetlogs...; "to create the controlfile.

After that, we will open the database as > > alter database open;

Now the question is:

We are able to open the database without clause "resetlogs.

Here, we create a new controlfile so SNA to controlfile will not be synchronized with the SCN of the datafile and redo the file.

Please let me know how the new controlfiles' SNA is synchronized with the data file and redofile and wea are able to open the database without resetlogs clause.

Oracle: 11.2.0.4

OS: Linux

If your cold backup also includes online redo logs, a RESETLOGS is not necessary.

The controlfile is created if it does not have a SNA, it reads the data file headers the YVERT database. For a cold backup, all the headers of data file are consistent.  (This is also the reason why a RECOVERY is not required).

Hemant K Collette

Tags: Database

Similar Questions

  • How to restore my iPhoto after downloading the el captain on my computer

    How to restore my iPhoto after downloading the el captain on my computer

    Click here and try following the instructions; you will only be able to do if you got before where associated with iPhoto on the Mac App store.


    (138040)

  • A question about the cold backup

    Hello

    I have a question about cold backup. We have a sun server which will be completely rebuilt because of a few hardware problems. This is dev. DB and noarchivelog mode. I have the cold backup of databases. (all control files, data files and I also copied redo log files)
    but the restore operation said that, for the restoration of the database that only the control and data files must be restored and redo log files should not be restored. My question is: in this case how oracle will find redo log files online? because the server is rebuilt, in redologs online directory, there will be no files, so it works?
    I mean I should give the recovery of database until cancel but oracle will create the new files logs by himself again?

    Thank you
    Cedric

    oradba wrote:
    You must restore 'false', after "restore the database until Cancel" question "alter database open resetlogs. This will create a new set of onlinelogs.

    Werner

    Why do a "recovery" at all? In the case of the OPs, it indicates that there is a cold backup, including the redologs. Why not just "restore" all files to their original location on the rebuilt server and start the database?

  • Why I no longer storage capacity after moving the files of external volumes?

    Disk utility reported that I had only 29.76 GB available; the 250 GB SSD was used as follows:

    Apps 48Go; Photos of 32 GB; Audio 24GO; 18 GB movies; Other 99.72 GB; Available 29.76 GB

    After moving to photos of 34.2 GB external volumes, films of 6,76 GB and files of documents 1 GB, disk utility has reported:

    Apps 48Go; Photos 9GB; Audio: 24 GB; Movies 11FR; Other 132,14; Available 29.76 GB

    After moving ~ 42 GB of data to external volumes, HD of 'other' content is passed to 132,14 GB 99,72 GB.

    Not after winning more space, I moved other files; Other rose the same amount and available showed I have now 39 GB

    I don't understand why 'other ' space used increases as much as I thought I had released.

    So, how can I increase the space available in this SSD?

    Thank you

    You can try to reboot to refresh

    or terminal may have a current look used and available to your applications/Utilities/Terminal.app

    copy and paste:

    DF H

  • R60 freezes seconds after moving the mouse

    As the title says, my R60 freezes (no response from the mouse or keyboard) moving the mouse (that it either via USB mouse, touchpad or red dot-in-the-keyboard). Can I use the keyboard to navigate through the menus / use the computer normally, but as soon as I try to move the mouse, everything crashes after 2-3 seconds of movement and I have to force a shutdown, reboot and try again... same thing continues to be.

    This behavior started after I turned on my laptop this morning, after having for the night (~ 8 hours). I don't know what the cause could be because it worked perfectly normally until yesterday.

    After many gels and cold - reboot, I decided to press the ThinkVantage button a start and select "return to factory settings" to reinstall Windows. Everything went well, but as soon as I moved the mouse... you guessed it, everything froze as usual. =/

    I have no idea why this happens all of a sudden, as my laptop has been working well for about 2.5 years now. The only problem is that I have to keep plugged in to an electrical outlet whenever it is, because the battery dies, but I don't see how this would cause these repeated blockages.

    What could be the problem? I don't know what else to do because a new installation of Windows XP of course did not help. Fortunately I just build a new desktop PC is how I can even post here. =/

    Thanks in advance for any suggestions!

    -Eric

    Never mind!

    Here is the solution:

    http://Forum.NotebookReview.com/newreply.php?do=postreply&t=332545

    Anyway thanks, boards Lenovo!

  • Messages to activate after moving the hard drive to a different computer

    M.

    I moved a drive of a machine that worked a little better. The drive works fine. This silent activation keeps appearing. I took the car to a Sony Viao which is about 8 years old and that worked very well except a few small problems

    which were resolved by moving the hard drive to another machine. How to get down this thing of activation? I tried all the things that appear, but they do not match because I changed machines. I'm getting pissed.

    Reinstall windows. You can just change the hard disks from one system to the other. And expect things to work correctly

  • How to close all windows after running the SaveAsPDF script?

    I ran into the problem where I adjusted the SaveAsPDF script to backup my PDF files with a preset specific PDF I use. But after executing the script, all newly created PDF files are open in illustrator and I have to close it manually one by one, choose if I want to 'Save' or 'do not save' (even if they are already registered). I would like for them to close right after that the PDF is created.

    I've added in the script:

    if (myFile.open("w")) {
      myFile.close(SaveOptions.DONOTSAVECHANGES);
      }
    

    Who's going to run the script and close the files, but for only 3 of the 10, I opened. The 7 remaining won't be saved or converted to PDF. Is there something wrong in my script or anything else that I can try to solve this problem?

    Here is my complete script:

    /** Saves every document open in Illustrator
      as a PDF file in a user specified folder.
    */
    
    
    // Main Code [Execution of script begins here]
    
    
    try {
      // uncomment to suppress Illustrator warning dialogs
      //app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    
    
      if (app.documents.length > 0 ) {
    
    
      // Get the folder to save the files into
      var destFolder = null;
      destFolder = Folder.selectDialog( 'Select folder for PDF files.', '~' );
    
    
      if (destFolder != null) {
      var options, i, sourceDoc, targetFile;
    
      // Get the PDF options to be used
      options = this.getOptions();
      // You can tune these by changing the code in the getOptions() function.
    
      for ( i = 0; i < app.documents.length; i++ ) {
      sourceDoc = app.documents[i]; // returns the document object
    
      // Get the file to save the document as pdf into
      targetFile = this.getTargetFile(sourceDoc.name, '.pdf', destFolder);
    
      // Save as pdf
      sourceDoc.saveAs( targetFile, options );
    sourceDoc.close();
      }
    
    
      alert( 'Documents saved as MarkPreset PDF' );
      }
      }
      else{
      throw new Error('There are no document open!');
      }
    }
    catch(e) {
      alert( e.message, "Script Alert", true);
    }
    
    
    /** Returns the options to be used for the generated files.
      @return PDFSaveOptions object
    */
    function getOptions()
    {var NamePreset = 'MarkPreset'; 
      // Create the required options object
      var options = new PDFSaveOptions();
      options.pDFPreset=NamePreset; 
    
    
      // See PDFSaveOptions in the JavaScript Reference for available options
    
      // Set the options you want below:
    
    
      // For example, uncomment to set the compatibility of the generated pdf to Acrobat 7 (PDF 1.6)
      // options.compatibility = PDFCompatibility.ACROBAT7;
    
      // For example, uncomment to view the pdfs in Acrobat after conversion
      // options.viewAfterSaving = true;
    
      return options;
    }
    
    
    /** Returns the file to save or export the document into.
      @param docName the name of the document
      @param ext the extension the file extension to be applied
      @param destFolder the output folder
      @return File object
    */
    function getTargetFile(docName, ext, destFolder) {
      var newName = "";
    
    
      // if name has no dot (and hence no extension),
      // just append the extension
      if (docName.indexOf('.') < 0) {
      newName = docName + ext;
      } else {
      var dot = docName.lastIndexOf('.');
      newName += docName.substring(0, dot);
      newName += ext;
      }
    
      // Create the file object to save to
      var myFile = new File( destFolder + '/' + newName );
    
      // Preflight access rights
      if (myFile.open("w")) {
      myFile.close(SaveOptions.DONOTSAVECHANGES);
      }
      else {
      throw new Error('Access is denied');
      }
      return myFile;
    }
    

    Try this change

    for (i = 0; i< app.documents.length;="" i++="" ) ="">

    for (i = app.documents.length; i > 0; i--)

  • Cannot not left/right, click anywhere for 1-3 seconds after moving the mouse to even. The mouse works fine with all other programs.

    Moving the mouse to any results on the ground in time. For example: when I moved the mouse to the "Détails" box, it was entirely 2 seconds before I saw an indication that I could enter data. What reading mail on Yahoo, if I want to mark an item to move, delete etc. I find the mouse cursor on the box for 1-3 seconds before I can click on the box. The problem occurs no matter wherever the cursor of the mouse is used. (Switch from one tab to another, ranging from one matter of Facebook to another, everywhere!) I should point out that I tried to run my Email, Facebook and all regular applications with Internet Explorer and I have not had any problems at all. I uninstalled and reinstalled Firefox. No help! I like Firefox and use it for years, it's only in the last few weeks that this problem has come. I really don't want change in Chrome or IE, but I can't continue with this problem. I'm not a technology expert, so I hope that there is a pretty easy fix.
    Thanks in advance,
    Chuck

    Sorry I should have to take a look at this earlier, but you have several versions of Flash installed. Having multiple versions of the same plug-ins can cause problems.

    Take uninstaller from here:

    And install the latest version here: https://get.adobe.com/flashplayer/
    Notice that the link is usually an 'optional' offer for the McAfee toolbar in the middle pane you can untick this box as it is not necessary to use a Flash.

  • VMX file missing after moving the hard drive

    Hello

    I have a problem with my VM Windows 8, it has stopped working when I moved the physical SSD in a different SATA port on the motherboard. I moved because he was running on the SATA2 instead of the SATA3 and its an SSD.

    When I open VM Workstation 10 I expected to see the virtual machine waiting to be taken up (he was suspended before moving on SSD) but there was only the start option. I pressed start and it gave me a message

    "Could not open computer virtual: E:\windows 8.1\Windows 8.1.vmx.

    File not found

    Then I looked in the phone book and it was noware to be seen! It's just gone. I noticed that there is a file to suspend in the name, it also disappeared at some point.

    I tried to recreate the file .vmx following these instructions:

    VMware KB: Recovery of a lost or deleted Workstation virtual machine configuration file

    I used the same directory and the name of the current virtual machine. When I tried the virtual machine, I got this error:

    "The specified file is not a virtual disk.

    I then tried the again, this time using the same directory, but a different name.

    This time it loaded up, but took a long time, when he finally got the sign in screen that I put my password as normal, but when I looked through the C:\ drive all my programs and documents had disappeared!

    Really starting to panic now, I have loads of work on this virtual machine. I created snapshots, but they do not display inside VMWare, the files are still there.

    I have someone would watch via Skype or team Viewer please let me know and I will set up a screen sharing.

    Thanks for reading, hope someone can help.

    James

    Can you confirm that you have changed the hard with VMware Workstation closed? And you fixed the problem on the disk that appeared when you ran chkdsk?

    What you can try is to see if it works to clone the virtual disk manually by running

    VMware - vdiskmanager.exe, t 0 - r 'Windows 8.1 - 000001.vmdk' 'Windows 8.1 - Clone.vmdk.

    (you may need to provide the full path to the executable file)

    If it doesn't work, that shows the same error message: the GUI?

    André

  • How to move a selection without moving the pixels?

    G ' Day, I'm looking for the shortcut/best way to get around a selction in photoshop, without moving the pixels in the selection.  Basically, I want to use as an aid to painting airbrush selection and need to quickly move the selection WITHOUT affecting the actual image pixels.

    Thank you

    Try to hold down the M button to move the selection, while the brush is active.

    -Christmas

  • DN1030. Wired WiFi works but not wireless, even after moving the unit next to the modem

    I have great wifi range and cable modem speed.

    My wife saw a video from You Tube Streaming PARTY so I bought a DN1030 to replace an old music receiver and a Blu - Ray BDP - BX510 a player couple so she can listen to the same music through the TV speakers.

    The readers Blu - Ray picked up wireless in 1 minute.

    The DN1030 think for a few minutes and tells me that the connection fails.

    I have temporarily moved the DN1030 next to my modem (it was only 15 feet away) and there was no change.

    I even reset the receiver and tried to update his software (it does not need).

    I temporarily connected it with a Ethernet cable and it works.    Tested with airtime and the PART.    Great flexibility.

    I can't move the modem or connect a cable to the DN1030, so I really need a wireless receiver.  What do you recommend?

    A different model?

    It is highly recommended that you plug your STRDN1030 has / V Receiver to a router or a modem/router and not just a standalone modem because stand-alone modems assign IP addresses to internet equipment as your Sony receiver.

    You can contact your internet provider to get a separate router or upgrade your modem existing to a modem/router device.

    If my post answered your question, please mark it as "accept as a Solution.

  • How to unconfigure a listener after command drop database

    Hello

    OS = RHL

    I have two questions small but important for me please.

    (1) I want to delete one instance 10.2 including full Cup out of the ASM instance (instance ASM has other instances registered too). I did not privilege y to set the display, so the only option is to manually.
    -For this, I found that I can use the command sequence:
    shutdown abort
    startup mount exclusive restrict
    drop database
    # I read that DROP DATABASE command will also remove all the data files, controlfiles, redo logs and spfile (init.ora file not and the password if necessary). How can I 'ls' or confirm related control files are also deleted (for example + DATA01/db/control01.ctl)

    (2) second, I want to stop and disable configure the listener also.

    PS to the | grep LISTENER shows 4 listener, but I want to stop only 1 and then I want to remove/disable-configures it. How do I do this

    Thank you very much in advance.

    Best regards

    Hello

     How can I "ls" or confirm that related control files are also deleted (for example +DATA01/db/control01.ctl)
    

    You can do the following

    asmcmd
    ASMCMD> cd +DATA01/db/
    ASMCMD> ls
    
    2) Secondly, I want to stop and de-configure the Listener also.
    
    ps aux | grep LISTENER shows 4 listener, but I want to stop only 1 and then I want to delete/de-configure it. How I can achieve that
    

    check the listener where the name of your DB

    lsnrctl status 
    then stop
    lsnrctl stop 
    from above O/P you can find out the path of Listener Home
    remove the Entry of your DB from listener file.
    

    HTH

  • How to apply archivelogs existing according to the RMAN backup

    Hello

    I test a few scenarios and I am stuck on the scenario where I would have bene able to recover the disk with a full backup of RMAN and some archivelogs according to this backup.

    I restore my controlfile and restore my full RMAN backup database. Recover the database after that will recover all archivelogs after the backup. They are seated in the correct files on the drive. I guess it has to do with the controlfile who does not know these archivelogs as the RMAN full backup in the ontrolfile. Assuming that I can't retrieve any other controlfile, is there a way to apply these archivelogs?

    The RMAN recovery catalog would still know archive and handle it for you. If you are not using a recovery catalog and that you need to re-create your control file, then you must use the catalog command to indicate the control file that they are there.

    Example of flash recovery

    RMAN> catalog recovery area;
    

    Example of directory

    RMAN>CATALOG ARCHIVELOG '/u01/log/1_600_archivelog.log';
    

    Work on 10G and newer.

    Best regards

    mseberg

  • Restore the cold backup

    Hello
    I made a cold backup of the database, and now I need to restore it.
    The problem is, when I did the back upward, it was in the C drive.
    Now I want to restore in the F drive.
    I get the error:
    ORA-01157: cannot identify/lock data file 11 - see DBWR trace file
    as it appears in the c drive.

    What else should I saved the backup, with the exception of the data files?
    How to solve?

    Windows Server 2003.
    Oracle 9iR2

    Published by: ethanasi on October 21, 2009 08:15

    You do not have to re - create the controlfile.

    Just rename the data files

    Make sure that the database is in condition to ride .

     select ' alter database rename file '''||name||''' to '||name|| ';' from v$datafile;
    alter database rename file 'c:\appl\oracle\test\ystem01.dbf' to 'f:\appl\oracle\test\system01.dbf;
    

    The above will display your information data file of the controlfile. Change the drive/directory after to accordingly pointing to where you have these files and run the script.

    Now, try to open the database.

    -André

  • Recover the database by using cold backup

    Hi all

    One of the table is deleted accidentally by one of our DBA of PROD. We have a backup to cold on a day before.

    Now, we try to restore from the backup to cold. DB PROD is in archivelog and all the archives are in tact.

    The resulting table truncated today at 20:00. We can apply the database until 20:00 so that we can restore the table truncated using cold backup.

    Please find the steps we use to restore below.

    create controlfile

    from the db in State of Mt.

    recover the database;

    It will ask for last log archive when we try to get it back.

    ENV details-

    DB - 11.2.0.1

    Please suggest.

    Thank you

    create controlfile

    from the db in State of Mt.

    recover the database;

    This method is not correct. Here are the four steps for incomplete recovery (which is what you need):

    Mount the database

    restore all data files

    recover the database up to the...

    ALTER database open resetlogs

    Your DBA (who say you was responsible for the error) will be familiar with the routine. Or it should be.

Maybe you are looking for

  • Problems with printing to a printer HP Laserjet 6 p to websites on the Beta 4. Any ideas?

    When I print from a Web site, the information comes out blurred. Thoughts?

  • Satellite A300-1MC: SOLVED - how to reduce the startup time of Vista

    Today, I found a way to reduce my Toshiba A300 1mc of startup time.Normally, it should be 3 minutes power button on the desktop. I now have it down to 1 minute by uninstalling Tempro version 1.1 and reinstall version 2 of Toshiba downloads.He p me of

  • clean install M6

    Hello I am owner of a m6-k025dx TS Sleekbook desire (product number: E0K45UA #ABA).  Can someone walk me through how to perform a new installation of Windows 8.1 as all the drivers I need, or even if it can be done on this pc.

  • Dell battery does not help load

    I have a laptop Dell inspiron 1720. But the battery stopped charging. The health of the battery is normal, but it is still 3%. It says plugged in and charge but the sign of the battery will move only 4 times and then it stops! Its all very strange id

  • 887 site to Site VPN

    Hi all After you follow the guides on the site to site VPN and NAT I am very close with this, but suspect a minor error here. It was difficult to apply some of the examples of cisco worked the additional complexity here (VLANS, routing to an address