<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic moving oracle database in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535340#M898045</link>
    <description>I created an Oracle database but it defaulted to the /u01/oracle/oradata directory. I would like to move it under a different directory&lt;BR /&gt;/u02/oradata. Is there an easy way to do it without having to reinstall??&lt;BR /&gt;&lt;BR /&gt;Need help.&lt;BR /&gt;</description>
    <pubDate>Thu, 31 May 2001 23:12:37 GMT</pubDate>
    <dc:creator>Jade Bulante</dc:creator>
    <dc:date>2001-05-31T23:12:37Z</dc:date>
    <item>
      <title>moving oracle database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535340#M898045</link>
      <description>I created an Oracle database but it defaulted to the /u01/oracle/oradata directory. I would like to move it under a different directory&lt;BR /&gt;/u02/oradata. Is there an easy way to do it without having to reinstall??&lt;BR /&gt;&lt;BR /&gt;Need help.&lt;BR /&gt;</description>
      <pubDate>Thu, 31 May 2001 23:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535340#M898045</guid>
      <dc:creator>Jade Bulante</dc:creator>
      <dc:date>2001-05-31T23:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: moving oracle database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535341#M898046</link>
      <description>There are alot of possibilities with this question!  Please be more specific on the install If I can not cover it here...&lt;BR /&gt;&lt;BR /&gt;1.  I'll assume you used standard UNIX file system, and not raw lvm as oracle would recommend.  If this is the case, you may be able to....&lt;BR /&gt;&lt;BR /&gt;2.  If you did use a raw lv, then you will have to dump the database (cold backup) and then recover from the cold backup afterwards...&lt;BR /&gt;&lt;BR /&gt;3.  If your not too worried about performance, you can simply move the old stuff, and link it to the current location.&lt;BR /&gt;I.E (home dirs)&lt;BR /&gt;mv /home /nfsdata1/home&lt;BR /&gt;ln -s /nfsdata1/home /home&lt;BR /&gt;&lt;BR /&gt;Since I have never done this, I can not tell you what to expect from performance.&lt;BR /&gt;&lt;BR /&gt;4.  Move the data, and hand modify all of the references in the oracle configs to the new location...This could be a nightmare...&lt;BR /&gt;&lt;BR /&gt;For all intents and purposes, the best bet is to dump the database, and then install oracle clean..then import the database.  Trying to shortcut this may leave you crippled on a system which is built to perform!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 31 May 2001 23:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535341#M898046</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2001-05-31T23:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: moving oracle database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535342#M898047</link>
      <description>From what I remember (I'm not moving databases that often...), you'll have to :&lt;BR /&gt;- shutdown the instance,&lt;BR /&gt;- move control files to new location,&lt;BR /&gt;- edit init&lt;SID&gt;.ora file to reflect the change,&lt;BR /&gt;- copy datafiles to new location,&lt;BR /&gt;- startup mount the instance,&lt;BR /&gt;- enter commands "alter tablespace xxx rename datafile yyy to zzz" command for each datafile,&lt;BR /&gt;- purge old datafiles.&lt;BR /&gt;&lt;BR /&gt;Check the exact syntax in your oracle manual.&lt;BR /&gt;&lt;/SID&gt;</description>
      <pubDate>Fri, 01 Jun 2001 06:24:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535342#M898047</guid>
      <dc:creator>Laurent Paumier</dc:creator>
      <dc:date>2001-06-01T06:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: moving oracle database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535343#M898048</link>
      <description>For moving the database - as per Laurent's reply.&lt;BR /&gt;&lt;BR /&gt;though, I tend to bring up the database in mount then check the views &lt;BR /&gt;v$datafile  - name field for tablespaces&lt;BR /&gt;v$logfile  - member field for redo logfiles&lt;BR /&gt;&lt;BR /&gt;use the syntax :&lt;BR /&gt;alter database rename file 'old file' to 'new file';&lt;BR /&gt;&lt;BR /&gt;for all of the above&lt;BR /&gt;and then startup mount.  (You could use spool to create script if there are a large number of files.)&lt;BR /&gt;&lt;BR /&gt;Afterwards its a good idea to backup your control file to trace to ensure that you cope with any problems in their new layout. (alter database backup control file to trace;  look in background dump location for trace file)</description>
      <pubDate>Fri, 01 Jun 2001 07:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535343#M898048</guid>
      <dc:creator>Steve Slade</dc:creator>
      <dc:date>2001-06-01T07:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: moving oracle database</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535344#M898049</link>
      <description>oops still asleep.  After renaming all the files, open the database (alter database open), not startup mount &lt;BR /&gt;&lt;BR /&gt;Doh!!!</description>
      <pubDate>Fri, 01 Jun 2001 07:14:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-oracle-database/m-p/2535344#M898049</guid>
      <dc:creator>Steve Slade</dc:creator>
      <dc:date>2001-06-01T07:14:34Z</dc:date>
    </item>
  </channel>
</rss>

