Moving the files of data, Controlfiles, Redologfiles to new locations.

DB version: 10 gr 2
Operating system: Solaris 5.9 SPARC

Due to a disk replacement activity, we have all of our data files, Controlfiles, Redologfiles and tempfiles to new locations.

How can I do this?

Is there a
ALTER DATABASE MOVE DATAFILE ......
Command?

If this is not the case, how will let the control file to know the new data file locations? How can I change the location of the control (multiplex) file and redo log files?

Hello

You can use it for data files and redologfiles.

modify the rename database 'oldlocation' to 'URL ';

measures

1. stop of the database.
2 copy the controlfile/datafile/redolog in the URL
3. change the values parameter (control_files) in the pfile file to the new location.
4 startup nomount using pfile
5. create spfile using pfile
6 stop
7. startup mount
8. change rename file 'oldlocation' to 'URL '; -for all data files and redologfiles
9. open the database.

refer
http://www.adp-GmbH.ch/ora/Admin/move_datafiles.html

Kind regards
CGI

Published by: ORCLDB on July 7, 2009 16:33

Tags: Database

Similar Questions

  • I have an invalid jpeg file that appear on my screen. He got there when I moved the files to a new folder. I can't get rid of it and it remains visible even when I'm on the internet or have opened another application.

    I have an invalid jpeg file that appear on my screen. He got there when I moved the files to a new folder. I can't get rid of it and it remains visible even when I'm on the internet or have opened another application. It interferes with the applications and documents. I tried to click on (nothing happens). I have the version 10.9.5, processor speed 2.7 GHz Intel core 15, 8 GB 1600 MHz DDR3 memory.

    Have you tried a re-boot?

  • I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2.

    I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2. My spooler file got corrupted and I need to know what that the stamp of date/time on the latest version of the file: spoolsv.exe. I did a search on my hard drive and found 8 copies of the file with 7 different dates. I need to know which copy in my file C:\windows\system32\. I suspect that the problem was caused by some kind of malware. I think that some of the different versions on my machine of the initial installation of the Vista, SP1 and SP2. 3 copies that would explain. I tried all the suggestions in this forum and several others. I tried sfc/scannow and it simply replaces the corrupted file by another. I understand how works this file and a simple copy will do the trick if I knew that the file to use. I know that I don't want to go back to the first version of 2006.  BTW... my symptoms are all my printers have disappeared, and when I try to 'add a new printer' I get an error message saying that my spooler service does not work. When I opened my services window it shows that indeed, he is arrested, but I will not start because the description column contains only the code garbled machine indicating that the file is corrupted, or it may contain a virus. I had been using F-Prot until this virus got by and now I use AVG. I scanned my machine with several cleaning packages and it is is more infected, but I worry that from this corrupt file grow something. I know that the problem is not with my printers or drivers, because everyone on my home network can print on all of my printers. None of the people I know are on Vista 32 bit. They are all running System 7 or XP. I have XP, except that a few years ago I suffered from the "Syndrome of Pepsi" on my laptop and when I bought a new HP, it came with Vista.

    Version 6.0.6002.18294

    Day 17/08/2010

    Duration 14:11

    Duration may vary in different time zones.

  • A video of the file change date

    This question relates specifically to a video that is downloading.

    What happens in the video for the file modified date to change?

    I have about 10 videos and they all have one updated the date after the date of creation.  I need to understand all the reasons why this has happened.  I know that this time stamp changes with for example a word document that you add more data, but that's why I would like to know for the video specifically.

    As far as I know on this topic is Google of the Machine.  The phenomenon seems to be real, so dark in nature / questioning.  You could try to ask a question specifically in a TechNet forum: https://social.technet.microsoft.com/Forums/windows/en-US/home?forum=w7itprogeneral

  • BlackBerry smartphones recover memory after you have moved the files in Media card

    I inadvertently saved photos and videos to the device memory.  When I discovered this I moved the files on the media card, but the space in the memory of the device was not released, although the image and folders in video memory show no file.  All solutions?   I am running OS 5.

    "Memory" is basically a multimedia card shipped.  It is memory separate from your "Application memory".

    I just want to perform a full backup of the device with Desktop Manager.  Wipe the device in the Options > Security Options > Security wipe.  Then restore the backup.  That will probably bring your memory asks how far it was.

  • could not clean the file history data element not found in windows 8

    My drive hard ext fills, and when I try to clean the first versions or any version I get the same message "could not clean the file history data element not found in windows 8" I don't know if there is a corrupted file.  The only thing I have not done is to delete the entire folder FileHistory ext drive and start again.

    Hey Daley,

    If there are errors in your player in the history of the files that need to be repaired, try to repair your disk

    1. Open the Center of the Action drag from the edge right screen, quilting search (or if you use a mouse, pointing to the top right of the screen, move the pointer of the mouse down and then clicking search), entering in the center of Action in the search box, type or by clicking settings and then by typing or clicking on the center of Action.

    2. Tap or click repair.

    Warning of Chkdsk.

    Important: When running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Reference:

    What happens if something is wrong in the history of the files?

    Please post back with more information and the status of the issue.

  • Drop database connectable to including the file system data sheets files

    I did experiments with the connectable Oracle12c to database functionality and have noticed that when I "drop database connectable to pdb1 including datafiles', I get the message that the database snap-in has been dropped."  I also see that all files in the tablespace for the PDB except the SYSTEM data file have been deleted.


    I want to remove the folder that has been used for the pluggable database after that the PDB fell, but cannot because the file SYSTEM data is left behind.

    Is it possible to delete the data file SYSTEM for a pluggable database once he fell?  Or this part forever from the database of the container?

    Thank you

    This forum works on a Server Windows 2012.

    Thanks for the Bug information.  There is no error in the alert.log file, but I found a trace file with:

    ORA-01265: cannot remove the D:\ETC\ETC\SYSTEM01 DATA. DBF

    ORA-27056: could not delete file

    OSD-04024: cannot delete the file.

    S/O-error: (32 OS) the process cannot access the file because it is being used by another process.

    This seems to be the same problem as described in bug 17659954, so I can follow in investigating the recommendations of bug

    Thanks again

  • Rename the file from data in a table only displays error

    Hi, I was looking to move the data from one place to another location file.

    I issues a command as follows:

    When I start thw query select b.SID:

    Select b.SID, b.name

    v $ tablespace a, v$ datafile b

    where a.ts #= b.ts #;

    It shows all storage spaces and their data files. No problem there.

    Then I did the following:

    My storage space is meddata, first I took it to offline.

    alter tablespace offline normal meddata;

    Then I made the command:

    alter tablespace meddata rename

    alter tablespace rename datafile meddata ' E:\MEDDATA\MEDDATA01. DBF'

    to ' D:\ORACLE112\ORADATA\ORCL\MEDDATA01. DBF';


    But the following error message:


    SQL > alter tablespace rename datafile meddata ' E:\MEDDATA\MEDDATA01. DBF'

    2 to ' D:\ORACLE112\ORADATA\ORCL\MEDDATA01. DBF';

    alter tablespace rename datafile meddata ' E:\MEDDATA\MEDDATA01. DBF'

    *

    ERROR on line 1:

    ORA-01525: Error renaming data files

    ORA-01141: Error renaming file 14 - new data file ' D:\ORACLE112\ORADATA\ORCL\MEDDATA01. DBF' not raise

    d

    ORA-01110: data file 14: ' E:\MEDDATA\MEDDATA01. DBF'

    ORA-27047: cannot read file header block

    OSD-04006: ReadFile() failure, unable to read the file

    S/O-error: (OS 38) at the end of the file.

    Can not understand what's wrong here. Help, please.

    Hasan Al Mamun

    Hello

    After taking the tablespace offline, manually copy you the file E: D:\ORACLE112\ORADATA\ORCL\ loction location? You must manually copy the data file and then execute alter tablespace rename datafile and then recover tablespace and put online.

    Anand

  • How can I get rid of the file name, date and size of the photo in the upper left corner of the module develop when I'm not working on the photos?

    How can I get rid of the file name, date and size of the photo in the upper left corner of the module develop when I'm not working on the photos?

    All shortcuts are listed on the view > menu Info Magnifier.

  • How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    I have only:
    D: / images (where are necessary + not need files)
    -a list with only the necessary files
    -a list with new names for the files needed
    Thank you.

    Hi Pustiu,

    Thanks for posting in the Microsoft Community.

    You want to know how to select the files in a folder using a list with the files you want and after that rename only the files using another list with desired new names.

    I would have you post your query in the TechNet forums because it caters to an audience of it professionals.

    Your query will be better addressed there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads

    We know if you need help. We will be happy to help you. We, at tender Microsoft to excellence.

    Thank you.

  • It binary that you downloaded was not valid. The key CFBundleShortVersionString [2.1] value in the file Info.plist must contain a newer version than the version of the previously uploaded version [2.1].

    It binary that you downloaded was not valid. The key CFBundleShortVersionString [2.1] value in the file Info.plist must contain a newer version than the version of the previously uploaded version [2.1].

    You will need to contact technical support for assistance, they will need to change it on the backend so your bundle what ID is more than what you already have in the store. Are you a customer of simple editing or a Pro/business client?

    Neil

  • moved the file data, but the space used is always the same.

    Hi due to some problems of space I took the offline tablespace, then move the file to a location different and introduced the online storage space after renaming. After all this, the space used for the file system is always the same. How can I get the space freed up?

    Hello

    I'd be willing to bet that a core oracle process holds the lock (e.g. dbwr). use lsof (open list) command on each one and you should get the info or perhaps fuser.

    Paul

  • 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

  • I moved the files in Lightroom 5 from one drive to another (created the new folder and dragged).  Now I see warning of metadata.  What has caused this?  Can I import or rewrite the difficulty catalogue?

    I am reorganizing lots of photos in Lightroom 5.  Some who were on my hard drive, I moved to an external drive.  I did all this in Lightroom.  I created a new folder on the hard drive, external, selected all the images in the folder on the hard disk, trained to the new folder.  Made sure they were there.  Then deleted the folder on the hard drive.  When I looked in Windows Explorer, the (empty) folder was still on the hard drive, so I deleted it there too.  Now, I get the warning on the images in the new folder metadata were changed in Lightroom and an external program.  The options are to import from disk or rewrite from the catalog.  I would like to know what caused this and how to fix it.

    Thanks for the clarification of Nancy.

    The warning of "metadata conflicts" is an indication that Lightroom "sees" a discrepancy between the data in its catalog and the data in the image file (or in the xmp file) on the real situation which could be due to permissions at the new location.

    You should choose the option to replace the parameters, that is, rewrite in the Lightroom Catalog can write changes to metadata of the catalog itself.

    (Import of the disc would cancel the metadata changes that you did until now)

  • Scan of the file: path/data not in the format specified in double

    Can you get it someone please let me know why it does not work?

    It's just a piece of sample code, to write data in a txt file and then read it.

    First, if a file already exists when I want to write in it and I chose 'Replace the file', he says stop and double track.

    Second, if I write a new file, it says: error 85: Scan failed. The input string does not contain data in the expected format.

    Attachment VI.

    EDIT: see post.

    Just for reference, I solved it by using the match VI pattern in a loop and then using the table of indexes for individual values.

Maybe you are looking for