Moving data files location

Hi all,
I would like to move the data files (xxxxxx.dbf) of my Oracle 8i database on Windows 2000 from one hard disk to another.
Can be this done safely? If yes, what are the steps?
Thanks,
Paul

You can move a file from one disk to another by renaming the file.
Take the tablespace (that contains the file) offline in normal mode .
ALTER tablespace <tbsname> OFFLINE NORMAL;
Move the files in the tablespace from one disk to another.
Rename the file in Oracle.
alter tablespace <tbsname> RENAME DATAFILE ‘C:\oracle\oradata\file1.dbf’ to ‘d:\oracle\oradata\file1.dbf’;
Issue the same for all files in the tablespace
Bring the tablespace online
ALTER tablespace <tbsname> ONLINE;
If you want to move all files from one location to another, it will be quicker to clone your database using ‘ create control file’ option. Let me know if you need more details,
I just posted a new tool that helps manage, monitor and tune the Oracle database (including generating a template to clone a database). It is free and can be downloaded from www.odbtools.com. I will appreciate any suggestions.
Michel.
www.odbtools.com

Similar Messages

  • Upgrading 10.6 server with different data files location

    I have been trying to upgrade from 10.6 server to 10.7, but I am having a lot of problems.
    I think the main cause of the problem is because when I setup the 10.6 server, the data files (like wiki, calendar, itunes, user profiles) are stored on the external firewire hard disk.
    When I try to upgrade the system, it doesn't seem to be able to find the locations itself and I tried to build another server and migrate the data by manually, but I can't even get all the user accounts imported using the instructions on how to migrate Open Directory data.
    Anyone used a similar setup and successfully upgraded to Lion Server? Please help.

    I have solved this now.
    I used Carbon Copy Cloner to move just ServiceData folder back to the startup disk. So everything is on one volume. I used CCC because it preserves all the owners and permissions.
    The server admin tool to update each service manually to point to the new folder.
    Then I ran "sudo changeip -checkhostname" to check if the result is = "success".
    After that, the upgrade ran smoothly.
    Thanks.

  • ORA-01012: not logged on error while Moving data file with BrTools

    Hi,
        I'm trying to move a data file to another windows drive with BrTools.
    It fails before it actually starts to move the file. The error it shows is:
    ORA-01012: not logged on.
    Thanks,
    Anil.

    Hi,
    BRSPACE  has a command option -u to specify the Database user and password. How ever BRSPACE connects to the database as SYSDBA, you do not have to specify the user and password if the operating system user belongs to the dba group.SO check if the user is falling in DBA group with proper authorizations.
    PLease reward points for useful answers.
    Regards,
    Phani

  • Mail and address book data file location

    Does anyone know where mail and address book saves its data?
    My old mac died but I was able to remove the hard drive and mount it in a external firewire case. The drive mounts and appears in good shape. I tried using the migration utility to transfer my data into my new iMac. While a lot of data and applications did make the move, my mail files and folders did not show up on my new iMac. I'm hoping I can transfer the mail files manually. The problem is I can't find where they are located on my old computer. I was using Max os 10.4.11 on my old computer.
    The same problem with my address book data. It did not transfer over with migration app. and I can't locate this data either.

    The majority of Mail is in...
    /Users/YourUserName/Library/Mail
    AB...
    /Users/YourUserName/Library/Application Support/AddressBook

  • OWA can't be accessed after moving data files to new volume

    SBS 2008  Exchange 2007
    Used the Move Files wizard in SBS Console to move Exchange files off of system drive to a storage drive.  Wizard said move was successful.  Opend Exchange management Console and verified path to files under Server/Mailbox.
    I get this error and the details when trying to access OWA. Server and user names have been changed to protect the innocent.  :)
    Can anyone offer a suggestion or solution?
    Outlook Web Access could not connect to Microsoft Exchange. If the
    problem continues, contact technical support for your
    organization.
     error details
    Show details
    Request
    Url: https://remote.contoso.com:443/owa/default.aspx
    Exception
    Exception
    type: Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException
    Exception
    message: Cannot open mailbox /o=First
    Organization/ou=Exchange Administrative Group
    (FYDIBOHF23SPDLT)/cn=Recipients/cn=JohnDoe.
    Call stack
    Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String
    serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid,
    Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag,
    CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)
    Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String
    serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid,
    Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag,
    CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)
    Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String
    serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid,
    Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag,
    CultureInfo cultureInfo, String clientInfoString)
    Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(LogonType
    logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object
    identity, OpenMailboxSessionFlags flags)
    Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType
    logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object
    identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String
    clientInfoString)
    Microsoft.Exchange.Data.Storage.MailboxSession.Open(ExchangePrincipal
    mailboxOwner, WindowsPrincipal authenticatedUser, CultureInfo cultureInfo,
    String clientInfoString)
    Microsoft.Exchange.Clients.Owa.Core.OwaWindowsIdentity.CreateMailboxSession(ExchangePrincipal
    exchangePrincipal, CultureInfo cultureInfo)
    Microsoft.Exchange.Clients.Owa.Core.UserContext.Load(OwaContext
    owaContext)
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.CreateUserContext(OwaContext
    owaContext, UserContextKey userContextKey, UserContext& userContext)
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.PrepareRequestWithoutSession(OwaContext
    owaContext, UserContextCookie userContextCookie)
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.InternalDispatchRequest(OwaContext
    owaContext)
    Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchRequest(OwaContext
    owaContext)
    System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
    completedSynchronously)
    Inner Exception
    Exception type: Microsoft.Mapi.MapiExceptionLogonFailed
    Exception
    message: MapiExceptionLogonFailed: Unable to open
    message store. (hr=0x80040111, ec=-2147221231) Diagnostic context: Lid: 18969
    EcDoRpcExt2 called [length=981] Lid: 27161 EcDoRpcExt2 returned
    [ec=0x0][length=132][latency=15] Lid: 23226 --- ROP Parse Start --- Lid: 27962
    ROP: ropLogon [254] Lid: 17082 ROP Error: 0x80040111 Lid: 26937 Lid: 21921
    StoreEc: 0x80040111 Lid: 27962 ROP: ropExtendedError [250] Lid: 1494 ---- Remote
    Context Beg ---- Lid: 26426 ROP: ropLogon [254] Lid: 22787 Error: 0x0 Lid: 13032
    StoreEc: 0x8004010F Lid: 59409 Lid: 45073 Lid: 11173 StoreEc: 0x80040111 Lid:
    22970 Lid: 8620 StoreEc: 0x80040111 Lid: 1750 ---- Remote Context End ---- Lid:
    26849 Lid: 21817 ROP Failure: 0x80040111 Lid: 26297 Lid: 16585 StoreEc:
    0x80040111 Lid: 32441 Lid: 1706 StoreEc: 0x80040111 Lid: 24761 Lid: 20665
    StoreEc: 0x80040111 Lid: 25785 Lid: 29881 StoreEc:
    0x80040111
    Call stack
    Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message,
    Int32 hresult, Int32 ec, DiagnosticContext diagCtx)
    Microsoft.Mapi.ExRpcConnection.OpenMsgStore(OpenStoreFlag
    storeFlags, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, MapiStore
    msgStorePrivate, String& correctServerDn, ClientIdentityInfo
    clientIdentityAs, String userDnAs, String applicationId, CultureInfo
    cultureInfo)
    Microsoft.Mapi.ConnectionCache.OpenMapiStore(String mailboxDn, Guid
    mailboxGuid, Guid mdbGuid, ClientIdentityInfo clientIdentity, String userDnAs,
    OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId)
    Microsoft.Mapi.ConnectionCache.OpenMailbox(String mailboxDn, Guid
    mailboxGuid, Guid mdbGuid, WindowsIdentity windowsIdentityAs, String userDnAs,
    OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId)
    Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String
    serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid,
    Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag,
    CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)

    Hi Esyxx,
    Based on your description, I understand that you move Exchange Server Data to a new volume. And then encounter
    issue when access OWA. If anything I misunderstand, please don’t hesitate to let me know.
    à
    I get this error and the details when trying to access OWA.
    Would you please let me know whether all users encounter the same issue? Or just some specific users? After
    moving, did you
    manually mount the mailbox database? If access mailbox via Outlook, will still encounter any issue?
    In addition, please run Exchange BPA and
    SBS BPA, then fix all that they can find and monitor the result.
    By the way, I noticed that you post screenshot here. However, pictures seems to be damaged. Would you please
    provide the screenshot again or upload it in
    OneDrive, then post link here? Thanks for your understanding.
    Regarding to moving Exchange Server Data, please also refer to following article and check if can help you.
    Move the Exchange Server Data
    Hope this helps.
    Best regards,
    Justin Gu

  • Who owns "dat" files? or how can I get my OS to keep its house tidy?

    I had a problem with Mozilla Firefox suddenly not displaying video content: swf, quicktime, wmv, you name it. Safari did not have a problem. I spent several months as OS tweaks and updates to MozFire and QT arrived - I did repair permissions, I did repair disc, fsck -fy everything I could think of; yet the problem still persisted. I am currently using 10.4.11, and MozFire 2.0.0.11. I researched the problem on the Apple forum and the Mozfire forums and I was unable find any thing that worked. Then one groggy night I happened to notice that the "pluginreg.dat" file (located at userme>Library>Application Support>Firefox>pluginreg.dat) was "assigned" by the OS to an application of the Windows flavor. First it was a CanonVideo software until I deleted it, then the file took on the guise of a VLC.app file. It is supposed to be a document, and not belong to any app (i think). I opened get info and assigned the file to TextEdit which does do documents and VOILA! upon restart MozFire loaded the video files!!!!! hurrah. however, I still have a question why are these dat and inf and other windows type of files being assigned to applications? I thought they were "app less" files or system files. Is there some way to stop this? For example when I mount a flashmemory stick disc the FINDER.DAT file and the FILEID.DAT on the Wintel formated stick show up with VLC.app logos and are assigned to VLC which will try to open and read the file if I happen to double click it. I hope that there is another solution besides a reinstall of the OS!!!!!. WHat on earth could be causing this problem?
    thanks for any help
    v

    From a google search: +DAT files are data files, usually comma delimited, that contain data in ASCII format. These files are able to be open in a variety of programs including Microsoft Word and Microsoft Notepad.+
    Sounds like your LaunchServices database is fouled up. See these for steps on resetting it:
    http://www.thexlab.com/faqs/resetlaunchservices.html
    http://www.macosxhints.com/article.php?story=20031215144430486

  • How to get Dynamic data file in SQL*Loader?

    Hi all,
    I have a requirement that needs to import data everyday using background process. I have created a control file with the fixed datafile name and calling it through java. It is working fine.
    The thing is data file name is not constant, it changes everyday (I mean the file name format is YearMonthDate_Clients.cvs). But the the data file location is fixed location.
    How can I get the data file name dynamically?
    Can someone has the answer?
    Thanks in advance,
    Kalyogi

    I'm not a JAVA developer, but I've used this before
    File folder = new File("c:/");
        File[] listOfFiles = folder.listFiles();
        for (int i = 0; i < listOfFiles.length; i++) {
          if (listOfFiles.isFile()) {
    --Here the filename is printed, but I'm sure you can pass this to whatever/however you are invoking SqlLdr
    System.out.println("File " + listOfFiles[i].getName());

  • Does the address book have a physical data file somewhere?

    Hi all:
    Sorry about the transition questions..but
    On windows, all the contacts in outlook actually were based off of (and saved to) a physical outlook data file called .pst.
    In Mac, when you add new contacts and look at your contacts in Address Book, is there an actual phsyical address-book-data file located somewhere?

    ~/Library/Application/Support/AddressBook is where the database is stored. There is also the backup tool from within the application itself, which will let you save a backup where ever you wish.

  • Just bought a 2tb external hard drive with the intention of moving my iPhoto data files on it. I have so much of my 500 gigs being used up by images and video. Questions: Will this foul up my iPhoto app? Do I need to point iPhoto to this new location?

    Just bought a 2tb external hard drive with the intention of moving my iPhoto data files to it. I have so much of my 500 gigs being used up by images and video. Questions: Will this foul up my iPhoto app?
    Do I need to point iPhoto to this new location?
    Thanks!

    Are you running a Managed or a Referenced Library?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.
    Assuming a Managed Library:
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Error: File could not be moved to selected location

    I get an error code "file could not be moved to selected location" when trying to move an image or a folder from one hard drive to another within Lightroom.
    I am migrating from a Windows-based PC to an iMac. I successfully used Lightroom to move all my images and catalogs from the PC hard file to a USB attached hard file.  I was able to go to the iMac and move the Lightroom Catalog from USB attached drive to the Apple Macintosh drive. I was able to bring up Lightroom with moved Lightroom Catalog and work with all of my images. Then using Lightroom I was unable to move the images to the Macintosh hard drive without getting the error code above.
    What now? 

    Thanks for you input.  The "from" hard drive where I placed the Catalog and images to port them to the Apple from the Windows PC is a read only on the Apple system.  The Macintosh drive (and a Drobo drive that I have also tried to write to are formatted for Apple.  I read/write on them when moving files outside of Lightroom.  It's just within Lightroom where the problem seems to exist.  I want to work within Lightroom so that the Catalog is up-to-date. 

  • Location of iPhone sync data files or How to not have to re-install all my iPhone apps?

    Hi Folks,
    I recently did a clean install of Lion on my MacBook Pro and I've chosen to not use Migration Assistant because I don't want to move over a bunch of cruft under my 4+ year old home directory (Tiger > Leopard > SL).  I've been very selective about the things I've moved over and all has gone well until I want to sync my iPhone.  I've transferred purchases from the iPhone but if I check Sync Apps, iTunes wants to wipe and re-install everything!  This wouldn't be a problem, except the time it would take to re-organize all my apps on the iPhone again.   (Side note: Please Apple, give us an "auto-organize" button for apps!)
    Any idea how to move over my old sync data files to avoid having to nuke/reinstall my iPhone's apps?  Or is there another option to preserve how my apps are organizated?
    Many thanks in advance,
    Rob

    Skyler Richard wrote:
    Setting it up as new will not put anything over, then when you sync it will sync the applications over and it will sync the applications over Un organized.  My advised should resolve the issue, I work for technical support for the iPhone's, iPad, and iPod Touchs for Apple...
    Right Click the iPhone and click Transfer Purchases and then do the backup and restore from backup... That will transfer all your applications over to your computer and then organize them properly in their folders...
    OK, that does make sense so I won't bother setting it up as a new phone.
    Quick follow up question though, do I need to click the Sync Apps check box before I do a restore?  The reason I ask is that I've done a transfer purchases/backup/restore cycle but all the tabs (Apps, Music, Movies, etc.) do not have the sync check box checked following the restore as I would expect.  And when I go check the Sync Apps check box that's when it warns me "Are you sure you want to sync apps?  All existing apps and their data on the iPhone will be replaced with apps from this iTunes library."  That's when the apps then become unorganized.
    Thanks so much for your continued help!
    Rob

  • Timeouts increased after we moved USR, SAP data files and TLogs to new SAN

    We are having issues with timeouts after we moved our USR, SAP SQL Datafiles and SAP Transaction Logs from our old SAN to a new SAN.
    Timeouts for SAPGUI users are set to 10 minutes.
    We are running Windows Server 2003 with SQL Server 2005.
    The SAP database has 8 datafiles with a total size of about 350GB.
    Procedure we used to move SAP to new SAN:
    1. Attached 3 new SAN Volumes
         -a. USR
         -b. Data Files
         -c. Transaction Logs
    2. Shutdown SAP and SQL services
    3. Alligned the new volumes with a 1024kb offset and gave the Data files and Transaction log volumes a 64kb allocation
        size. (The alignment and 64kb allocation size were not setup for these volumes on the old SAN)
    4. Copied the 3 volumes from old to new.
    5. Changed the new volumes drive letter to the drive letters of the old volumes.
         -a. I had to restart in order to change the USR volume.
         -b. Because of this I had to resetup the sapmnt and saploc shares.
    6. Started SQL services and then SAP services and everything came up just fine.
    The week before we had anywhere from 1 to 9 timeouts per day.
    This week: Monday had 20 and Tuesday had 26.
    On Monday we saw that MD07 was the only transaction that was timing out, but Tuesday had others as well.
    The amount of users in the system is about the same.  The amount of orders going in are about the same.  No big transports went in right before we switched.
    Performance counters that I know about for disk look a lot better on the Data Files.
    - PAGEIOLATCH_SH ms/request is about 50% better
    - Under I/O Performance in DBACOCKPIT:
      - MS/OP is now anywhere from 5 to 30 - Old SAN: 50 to 300
    - The Hit Ratio is over 99% - same as the old SAN
    Looking at Wiley Introscope graphs:
    - The "SAP Host: Average queue length" is about 30% to 40% lower then the old SAN.
    - the "SAP Host: Disk utilization in %" is about the same.
    Questions:
    1. Did we do anything wrong or miss anything with our move procedure?
         a. Do we have to do anything in SQL since we changed volumes even though we kept the drive letters the same?
    2. What other logs or performance counters should I be looking at?
    Thank you,
    Neil

    Our new SAN Vendor is Compellent.  They have been fantastic.  I would highly recommend checking them out.
    The reasons for the timeouts had nothing to do with the SAN...Well kind of anyway.
    I decided to check t-code SM20 to see what users were doing when these timeouts were happening.  What I found was the program R_BAPI_NETWORK_MAINTAIN was being called thousands of times in a matter of 10 to 15 minutes at random times through out the day.  It would take up about 50 to 80 percent of the amount of programs being executed during these times.
    So, I sent this information to our developers and they found out that R_BAPI_NETWORK_MAINTAIN was being called from another program that was looping thousands of times. The trigger to stop the loop wasn't happening fast enough.  They made a change and we haven't seen the timeouts since.
    I think that the performance increases allowed the loop to run faster which caused the slow downs and timeouts to happen more often.
    Thank you to everyone for their help!
    Neil

  • I moved iTunes folder location, now all my personal song ratings and playlists are gone.  How can I get them back?  All the iTunes files are intact, just in a new location.  Running iTunes 11.1.5.5

    I moved iTunes folder location, now all my personal song ratings and playlists are gone.  How can I get them back?  All the iTunes files are intact, just in a new location.  Running iTunes 11.1.5.5 on Windows 7

    Put everything back the way it was.
    Them move the folder correctly.
    http://support.apple.com/kb/ht1364

  • Which CKM is used for moving data from Oracle to delimited file ?

    Hi All
    Please let me know Which CKM is used for moving data from Oracle to delimited file ?
    Also is there need of defining each columns before hand in target datastore. Cant ODI take it from the oracle table itself ?

    Addy,
    A CKM is a Check KM which is used to validate data and log errors. It is not going to assist you in data movement. You will need an LKM SQL to File append as answered in another thread.
    Assuming that you have a one to one mapping, to make things simpler you can duplicate the Oracle based model and create a file based model. This will take all the column definitions from the Oracle based model.
    Alternatively, you can also use an ODI tool odiSQLUnload to dump the data to a file
    HTH

  • Location of Widget Preferences/Data Files

    I've got the "Classic Notepad" widget installed to track job numbers, but after transferring everything to a newer machine, the widget no longer displays the content. I'd like to recover this list, as I (stupidly) don't have it anywhere else, by seeing if I can extract the info from the data files generated by this widget. Can't find any information on the location of those files.
    Where are the data files for widgets located in 10.4.11?
    Thanks!
    gary

    Thanks for the reply. I located the preferences file, which didn't have my data. But you gave me a great clue -- so I looked in the user/library and found a folder which contained the text file and my data! Joy joy and more joy!
    I've successfully recovered two years worth of job numbers. Thank you!
    gary

Maybe you are looking for

  • WRT45G: can only connect one pc at the time to internet, cannot login to router setup

    Hello, I don't get this. The complete network worked fine for ... years? After a call with the ISP about a general/different issue, we can now only connect one pc at the time to internet. (We were asked to take out cables and we've put them back). I'

  • Error code -50 or system hand when copying

    Hi all I'm hoping someone can give me some extra info about an error code -50 / system hang that I keep experiencing. I've already done some research so I think I know where the problems might lie but not exactly how to solve them. OK, my iBook hard

  • ADF Desktop Application Creation Error in JDeveloper 11.1.2.0.0

    Hi, While creating an ADF Desktop Application using JDeveloper 11.1.2.0.0 I am getting an error and hence not able to create the application. The below are the steps I am performing. 1 : New Application 2 : Select "Java Desktop Application (ADF) 3 :

  • De-install the obiee 11g in lunix

    hi experts, Actually there are n number of problems in my software installation, i thougt of re-installing the obiee 11g agian in liunux. can any one suggest what are the steps that i need to follow to deinstall? i have gone through the oracle doc fo

  • Using javaagents with applets

    Is it possible to use javaagents with applets? If it is, how?