move a file of data in 12 c

Hello

in 12 c on Win 2008 I'm following this tutorial:

Recovery and backup oracle Database 12 c Learning Library.../Performing

In which it is said:

Use the mv Linux command to move the data belonging to the tablespace APPTS file to $HOME/appts.bkup: $HOME/appts.bkup mv /u01/app/oracle/product/12.1.0/dbhome_1/dbs/appts.dbf


Under Windows I use move command.

But of course Windows refuse to move because the file is in use.

So what should he do?


Thank you.


Alvaro wrote:

One of the new features of database 12 c is moving files online. You have more need to put the tablespace offline, or a stop of the database to move it. You don't need even to do anything at the OS level, the database will take care of him, as long as all permissions are correct for the owner of the oracle home.

For example:

ALTER database move datafile ' / u01/app/oracle/oradata/test_1.dbf' to ' / u01/app/oracle/oradata/test_2.dbf';

Data move online file is a wonderful new feature, is it not? I used to migrate a database to single instance on a file system to CARS on ASM in this demo, convert to Oracle 12 c CARS in 10 Minutes - free from SkillBuilders tutorial , but on Windows, there seems to be an anomaly: the original file is sometimes left behind, and Windows won't let you delete it until the stop the database you. I have not attempted to determine if the problem is with Windows or with Oracle.

Tags: Database

Similar Questions

  • ASM > move the files of data within a disk group.

    Hello

    Is it possible to rename a directory within ASM?

    How to rename the directory DATA1/PROD/DATA files to DATA DATA1/DEV/files?

    In addition, how to rename the data files to point to DATA1/DEV/DATA files instead of DATA DATA1/PROD/files?

    Published by: CipherDBA on March 31, 2011 12:32

    Hello

    Unfortunately we are unable to do this. It's a shame.

    ASM disk groups contain a structure of hierarchical directory generated by the ASM files storage system. Created system directories (those that contain names generated by the system) cannot be renamed.

    ASMCMD> ls -lt
    Type  Redund  Striped  Time             Sys  Name
                                            Y    ORCL/
    

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e16102/asmfiles.htm#CIHGHHCC

    See the note below... Maybe this can help you.

    * How Rename/move a data file in the same [564993.1 ID] ASM diskgroup *.
    Applies to:
    Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.6

    or

    You can use the DUPLICATE (RMAN) to clone the database on the same diskgroup with an another DB_UNIQUE_NAME/DB_NAME.
    Be very careful when you perform this step if the new setting of database is not configured correctly you can alter the production of your database.
    It's a very dangerous duplicate database on the same DISKGROUP.

    Kind regards
    Levi Pereira
    http://levipereira.WordPress.com

    Published by: Levi Pereira on March 31, 2011 17:04

  • "move a file of this data store...". »

    I see a white icon in the properties of the vCenter data and store when I go over it, it reads "move a file of this data store to another location accessible to vCenter.    I wonder if I could use this icon to move a VMDK to a VM in DataStore1 file to another virtual machine to the same data store (IE DataStore1) so that the VMDK is now up to the second VM.  I think about it because I need to migrate a virtual 2003 Windows computer to a Windows 2008 VM and the second vDisk in the Windows 2003 VM is strictly a big data VMDK (about 650 GB) drive.  The data store has a capacity of 1 TB with about 250 remaining GB... so I can not copy the file, BUT if I MOVE it so would not create a vmdk duplicate file and I would not approve the data store.   Anyone know?

    There are two files associated with each virtual disk. The disk.vmdk and the disc - flat hard the disk.vmdk is just a descriptor text for the virtual disk. You can read the disk.vmdk with vi or simply use

    cat disk.vmdk
    

    It will point to the disc - flat hard. The EI vmksftools will rename two files vmdk and change the pointer in the disk.vmdk file.

    MV does not change the pointer inside the disk.vmdk

  • Move all files with the file hard, in two data warehouses

    You can move these files from the data through VC or WinSCP3 store? You have on the eve of vm? There is that one disc and files are on two separate data stores.

    Please move configuration files to the same data as the vmdk files store to ensure an appropriate server recovery. I ran a backup because it is now, but in this State, I can't assure you that I will be able to recover properly. ProdVMLUN1A3/CO01 (configuration files) ProdVMLUN4A22/CO01 (vmdk files)

    Thank you

    D

    If you're on ESX 3.0, you can do a few things.  We could be to stop the virtual machine in question, and then choose migrate.  In the wizard you will be asked if you want to 'keep' or 'move', choose move.  Another way would be to use VMware Converter

    If you ran 2.5 and ESX 3.5 vCenter, you could do it live with sVmotion.

  • How to move a specific tablespace data file from one directory to another

    Database: 10.2.0.1
    OS: generic
    Description of the problem: how to move a specific tablespace data file of one directory to another account of the database that is on the installer of Oracle Dataguard

    * Oracle is working on this issue, but at the same time opens the topic community so that community members can add their views, experience, or knowledge. This will strengthen again all the knowledge bases, including My Oracle Support and My Oracle Support Communities *.

    Published by: ram_orcl on August 16, 2010 21:21

    Dear ram_orcl,

    Please follow the procedures here;

    http://download-UK.Oracle.com/docs/CD/B19306_01/server.102/b14239/manage_ps.htm#i1034172

    8.3.4 Renaming a Datafile in the Primary Database
    
    When you rename one or more datafiles in the primary database, the change is not propagated to the standby database. Therefore, if you want to rename the same datafiles on the standby database, you must manually make the equivalent modifications on the standby database because the modifications are not performed automatically, even if the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
    
    The following steps describe how to rename a datafile in the primary database and manually propagate the changes to the standby database.
    
       1.
    
          To rename the datafile in the primary database, take the tablespace offline:
    
          SQL> ALTER TABLESPACE tbs_4 OFFLINE;
    
       2.
    
          Exit from the SQL prompt and issue an operating system command, such as the following UNIX mv command, to rename the datafile on the primary system:
    
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf
          /disk1/oracle/oradata/payroll/tbs_x.dbf
    
       3.
    
          Rename the datafile in the primary database and bring the tablespace back online:
    
          SQL> ALTER TABLESPACE tbs_4 RENAME DATAFILE      2> '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            3>  TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
          SQL> ALTER TABLESPACE tbs_4 ONLINE;
    
       4.
    
          Connect to the standby database, query the V$ARCHIVED_LOG view to verify all of the archived redo log files are applied, and then stop Redo Apply:
    
          SQL> SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
          SEQUENCE# APP
          --------- ---
          8 YES
          9 YES
          10 YES
          11 YES
          4 rows selected.
    
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    
       5.
    
          Shut down the standby database:
    
          SQL> SHUTDOWN;
    
       6.
    
          Rename the datafile at the standby site using an operating system command, such as the UNIX mv command:
    
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf /disk1/oracle/oradata/payroll/tbs_x.dbf
    
       7.
    
          Start and mount the standby database:
    
          SQL> STARTUP MOUNT;
    
       8.
    
          Rename the datafile in the standby control file. Note that the STANDBY_FILE_MANAGEMENT initialization parameter must be set to MANUAL.
    
          SQL> ALTER DATABASE RENAME FILE '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            2> TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
    
       9.
    
          On the standby database, restart Redo Apply:
    
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
            2> DISCONNECT FROM SESSION;
    
    If you do not rename the corresponding datafile at the standby system, and then try to refresh the standby database control file, the standby database will attempt to use the renamed datafile, but it will not find it. Consequently, you will see error messages similar to the following in the alert log:
    
    ORA-00283: recovery session canceled due to errors
    ORA-01157: cannot identify/lock datafile 4 - see DBWR trace file
    ORA-01110: datafile 4: '/Disk1/oracle/oradata/payroll/tbs_x.dbf'
    

    Hope that helps.

    Ogan

  • I can't move folders/files in the iTunes library

    Hello

    I am reorganizing my iTunes library after the implementation of a server. Even if I used the dialog box in iTunes (Preferences) to move the files, many, many links were broken. There is now a location in the library moved with the following path: X:\iTunes Library\Music\Unknown Artist\Unknown Album. The files in this folder are all parts of the existing albums. The rest of the songs from these albums are properly located in the location of the library, which is to library X:\iTunes. Most of these files is purchased AAC files. The files are not corrupt, by what they play. They also seem to have the correct information, when I look in the Properties dialog box, or query information through read in iTunes. In iTunes, it is ALWAYS the path: X:\iTunes Library\Music\artist\album, with the annexed artist/Album information. For example: X:\iTunes Library\Music\Michael buble\christmas\01 it starts to resemble a large number of Like.m4a. I would like to move these files to their correct locations in X:\iTunes Library\artist\album, as well as the rest of the files in the albums they are detached. When I try to move the files, they are not being apparently copied or moved. If I connect them to the entries in iTunes after the move or double click on it to play in iTunes, they disappear from the new location and reappear in a folder with the path X:\iTunes Library\Music\Unknown Artist\Unknown Album or one with a path like this: X:\iTunes Library\Music. I have no solution to this problem, I have tried everything I know to do to fix and searching newsgroups for a solution. I'm on Win10 and iTunes 12.3.1.23. Help, please. This is driving me crazy.

    Scott D.

    The typical reason for the files are moved to the folder unknown Artist\Unknown Album is that they do not have a tag or the tag is empty. This is true of all the files in the .wav format, as they have tags. In some cases, mp3 files may have several tags, that maybe not all the same data and including an iTunes reads or updates is not set. ITunes can finally move things forward in the wrong folder where there are permissions issues, but usually that moves things to a level or in rare cases throw them on the desktop.

    When you say that allowing you to move the preferences files, you update the path in the media folder and then consolidate library (create copies, leaving you to delete the originals by hand) or did you move them by hand and then update the file? This second method is a common cause of problems. When it works it is a happy coincidence. It is not how you are supposed to move content from iTunes.

    In a modern iTunes library, the correct layout for the elements of music is \Music\- with other types of media stored in different subfolders ------.

    Follow the steps to repair the security permissions for iTunes for Windows to your Media X:\iTunes library folder.

    Verify under file > library > library organize the box to reorder the files is grayed out. In case contrary it check now and apply. It should reorganize and files located in ------------ form. He pourrait also move things out of unknown Artist\Unknown Album.

    Look for the entry in the library for one of the files that is still unknown Artist\Unknown Album and information. Check that album & artist are filled. What format is the file? A correction in the name of the song, for example to add an end of X. Assuming you have the possibility to keep organized activated now moves to the right folder? If so turn keep organized power off, then turn it back on it. Who should correct the other misplaced items.

    For more information about the ideal layout for your library, see make a library of portable split .

    TT2

  • I can not move the files to a folder in windows XP, only to copy them, and I get the windows error. This happens on any file or folder.

    I use XP Pro SP 3 and I'm having a problem with moving the files from one folder to another, no matter where the folder or files. If I try to move a file, it crashes and it cannot be opened or used. If I move a folder, then crashes all the contents of the folder, and I can't even open the folder, it tells me access is denied, this nothing else. If I try to delete the file, then I get a prompt to error telling me that the file or folder is not accessible, and that access is denied and "make sure that the disk is not full or write protected." If I try to move the files corrupt in another folder, this time I get the message "Unable to move or replace" the file in question and "make sure that the disk is not full or write protected." If it is a document as a text file, then I can open the file and there is a prompt indicating that access is denied. I can then use the text document and save something, but if I close the document and then try to reopen it, all the changes are lost.
    It is not this problem if I move the files to an external device or disk drive.
    I am running as an administrator.
    Right now, if I need to move a file, I copy it to its destination, which is possible and then delete the original file. With the help of a release program was the only way I could delete these files, which could no longer be used.

    Hello Closrapexa, welcome.

    1. do you have this problem started recently?

    I recommend trying the system restore to bring the system back to a State before the problem started. Try this:
    1. click on START
    2. click on "all programs".
    3. click on "Accessories".
    4. click on "system tools."
    5. click on "system restore."
    6 follow the prompts shown to restore your system to a date before the problem started. Although the system restore does not target the personal data, it is recommended that you back up all data such as music, photos and documents in case something is not bad.
    Let us know what happens
    Thank you!

    Ryan Thieman
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • File move or file error

    I have a large application where the user chooses "Test Archive" file when they start to run the tests. Problem is that if they move this file until the test sequence is complete, the software will create a new file in the old location that contains only the new data.

    I tried to set the permissions of file to be 'read only', but some clients still manually reset the file to r/w and move.

    Ideally, I would like to have the marked file as busy as what happens when you try to move a word file.

    I tried to use the vi to "Deny access", it throws an error 1

    I'm under LV8.6 XP.  Any ideas?

    Hmm... Quick and dirty test and it seems to be OK:

    Andrey.

  • Windows Movie Maker - file invalid / not found

    I made a movie a few weeks previously registered, get in there a few days later and made more copies. Today, I tried again and I keep getting a message that the file is not valid. I tried opening upward in the creation of DVD and it keeps saying that it has failed. I tried the suggestion of unlicking the box under the sign that says (hide extensions of known file types) - which didn't work. I tried opening the film again and all my imported data is there... just not the movie itself...

    Help, please!

    Yes, it's the same information I read in other forums. I closed the movie maker and tried to reopen the case. I always get an error message that is not valid. I can't find any other file that does not end in MSWMM. After that I closed the error message. All data are available in the media imported section, but the Council of the timeline or history is completely empty / blank - but I know that he was saved several times...

    If the film itself has disappeared... is there a way I can get it back?

    ===========================================
    If you cannot open the MSWMM file in Movie Maker file must
    be damaged. Best bet would be to recreate the project.

    As for the movie... unless you have published (saved) project in the
    Film WMV or AVI format... it was never a real movie file.
    (this would be a clip that would play in Windows Media Player
    and could be shared with others)

    The following articles discuss Publishing:

    Windows Vista-
    Publish a movie in
    Windows Movie Maker
    http://Windows.Microsoft.com/en-us/Windows-Vista/publish-a-movie-in-Windows-Movie-Maker

    Movie Maker Vista - Edition
    http://www.Papajohn.org/Vista-publishing.html

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How to move the FILE from one place to another and keep "Indexing" have to move to the unknown location so you can't discover its full file path? Windows instructions provide information wrong re: how to do this!

    Make a bunch of audio files, placed in a folder on my desktop. Files initially sent to RealPlayer to burn, but when finished burning CD and went to read a CD, folder got seized by Media Player, 'Indexed' and disappeared from the office. I'm a relatively new computer user, and I need to learn more about file paths, how to view the path FULL of a file on my computer and how to type (create) full path when I need to. The "Indexing" feature seems to erase this lesson for me, and after having spent four hours trying to find Vista instructions on "How to move the file from one place to another", I gave up! Windows 'Help and Support' on my computer gives wrong directions. It states that if I right click on a folder > properties, a dialog box opens with a tab by which I can move my account. There is no tab location here. I found locations tab when right click on the "Mobile" folder, but still no option to "move file". No idea what is the folder "Roaming" or why it's on my computer. I want my audio files in the My Music folder, but this place is "access denied." Don't know how to get the audio file it in any case, but if anyone has any advice, I would be very happy! Thank you. PS - I had no problem moving folders in XP. I don't like the idea that a computer is to decide where to put my files. I want to control where I put my files. I don't like the way search works under Vista. I liked the XP search companion better because, for a computer fool like me, it was really easy to organize and find files and folders and had an option specific to find audio and video file TYPES.

    Here is an article on how to move your personal folders in Vista: http://www.howtogeek.com/howto/windows-vista/moving-your-personal-data-folders-in-windows-vista-the-easy-way/.  If you're talking about the special folders (such as photos, Documents, office...), then here is an article on how to move: http://www.winhelponline.com/articles/95/1/How-to-move-the-special-folders-in-Windows-Vista.html.

    If you have trouble with the search after you move the files, then rebuild the index: http://www.tech-recipes.com/rx/2103/vista_rebuilding_the_search_index/.  Here is an article on how to use Indexing Options in Vista that may be useful for you: http://www.vistax64.com/tutorials/69581-indexing-options.html.

    If the above does not help, your problem seems to relate to the image of the files/folders and their interactions with Media Center (which operate on different other folders).  Please repost your question in images and video Forum at: http://social.answers.microsoft.com/Forums/en-US/vistapictures/threads where the people who specialize in issues of the image will be more than happy to help you with your quesitons.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Move system files not to a different partition

    How to configure windows vista restroe to save restore points to a different partion (i.e. Instead of C:\ D:\)

    Also, I would like to move as many files as mail program. Newspaper, Media Player, etc. to D:\ partitions instead of C:\

    Can someone help me please? I'm new to Vista. My hard disk crashed using Xp and decided that if I'm going to do it again, well I've just as quickly upgraded to Vista.

    1 n ° you can not do.

    http://www.Vistax64.com/Vista-performance-maintenance/153682-saving-system-restore-points-another-drive.html

    Read the above.

    2. 3rd-party programs must be reinstalled on the other Partition.

    And Vista: Windows Mail, Windows Media Player, etc. are part of the Vista operating system: so, they cannot be moved.

    3. move instead of the data:

    http://www.vista4beginners.com/move-user-files-folders-to-another-partition

    Move your folders and files of the user to a different partition

    See you soon.

    Mick Murphy - Microsoft partner

  • Why does movement of files on a USB flash drive last so long?

    I don't know if this is a Windows problem, but when I move a lot of files/folders (no copy, but select, then drag, or cut and paste) a place on the USB to another place on the flash drive, it takes much longer than the same hard disk.

    What is a Windows problem or a problem of flash player?

    If Windows is somehow move the files into pieces on the hard drive, then moving them back to the flash drive, I could see that as being the reason, but this seems very inefficient. If Windows says just the flash drive to move files and it does itself, I wonder if it is an inefficiency in the flash drive (or formatting) or just the nature of how flash drives move some files.

    I don't know that you have understood my problem. I moved the files to the flash drive from one folder to another on the flash drive. When I move tons of files in a folder on the Windows Installer by car, no matter where the records are or the number of files/folders are moved, it usually happens instantly and occasionally perhaps takes a fraction of a second or two; I know it's simply by changing the index (do not physically move the files). With a USB flash drive, it takes seconds to minutes, depending on how much is moved, which is usually much less to install on the windows drive. It's because flash player must physically move the files on the disk, there is no index to put it as on a fixed drive.  In addition the only way to move is to copy in memory, and then write it to the new location.  This means that each overflow bit must go through the USB connection (which is thousands of times slower than SATA cable on the real hard disk), and since then he has to go twice (in and out), it is even half as slow as new.

    There is no transfer between the hard drive and the flash player I know.

    What this means for me, it is the index or take more time to rewrite, or files are actually moved. What I'm asking is if Windows is somehow data transfer (even if it's the index) drive flash disk, then moving them backwards, slowing things down. I think that even moving them by RAM would slow it down, but I'm not sure.  Also considers that the internal drive is cached. So even if a bit should be moved, Windows will just notice "Yes move this bit later."  The progress box says it completed instantly, but really uses lazy writeback just finish the job later.  That is why if you lose power to your computer, it corrupts the files got reported as fact, but were not actually written on the disc.  Flash drives do not use the lazy "write behind caching" because they never know when the user will disconnect unexpectedly, so that they take the slow lane and check writing all ended before they say the progress bar to advanced. 

    You can change this second element by setting your USB device to "best performance" in the device, as Manager below.  But I do not recommend because it cannot handle unplug you the reader more.

  • "are you sure that you want to move this file without its properties.

    Hello

    I'm trying to transfer .avi files from my computer to my external hard drive.

    However, I get the following message trying to copy: "are you sure you want to move this file without its properties?" and when I press 'Yes', the file is copied, but it is not my external hard drive.

    I also tried to copy the files to a flash drive and it says that the files are corrupted when I try to play them on my playstation.

    How can I copy the files successfully on my external hard drive?

    Thank you

    Copy all the data from the USB STICK to your hard drive, open the computer management go to disk management, select theformat USB flash drive and select format drive to NTFS. "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • File through batch file transfer - Dates of the files

    Folder on the server a dated 12/10/2012

    Using Robocopy in batch command move the file to the server B

    Server B shows create release date 02/01/1980 and then later corrects up to 10/12/80

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.
    http://social.technet.Microsoft.com/forums/en/category/WindowsServer

    Hope this information is useful.

  • How to get a program to the shared program files and data on a different computer?

    I run an accounting program on a Windows XP computer that has all the programs files and data shared to our local network. This accounting program is also installed on several other machines, Windows 7, and I want to know, how I move these Windows 7 machines to use the program and data off the XP machine, instead of using local data files (static)?

    This has been fixed, thanks. I ended the program on the host computer, and on this computer I just run the .exe; i.e. I actually run the program on the host computer.

Maybe you are looking for

  • Photon: Car app does not close

    When I take my phone out of the car dock, the application of the car does not close. I couldn't find a car app in the application manager, so I tried to close it manually what could be the application of the car. Still not good. It's really annoying

  • \Windows\system32\config\system MISSING file of repair

    I have a T400 who HAD an XP Pro operating system... Google chrome has frozen the system and I did a hard reboot and the computer had lost the configuration of the registry file. Microsoft recommends that the oem disc should be used, instead of a comm

  • Discover the IP in a thong

    I am facing a problem to find the IP address in a string that contains the other string as items... such as letters and numbers and... (ok, I'm just messing around).  in any case, the string might resemble the following "10.0.0.1 stuff, stuff, stuff

  • Failure of the system to Vista Home

    I accepted a download of the sytem on 10.8.09 updates crashed my system giving an error message! Oxc 0190036! 2745/93173 (regsvc.dll). -What this means and how can I restore my system?

  • By connecting to the laptop HP 1030 - NR running XP, make error loading C:\WINDOWS\jsocafofoceq.dll

    This error message appears when I connect - error loading C:\WINDOWS\jsocafofoceq.dll.  My system is XP on my laptop HP 1030-NR.Help!