<?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 Re: Moving temp datafile in Oracle in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828462#M937992</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;I would recommend the following steps:&lt;BR /&gt;==============================&lt;BR /&gt;SQL&amp;gt; alter database tempfile '/V90164/temp02.dbf' drop; &lt;BR /&gt;&lt;BR /&gt;Database altered. &lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; alter tablespace USER_TEMP_1 add tempfile '/V90164/temp03.dbf' size 2M; &lt;BR /&gt;&lt;BR /&gt;Tablespace altered. &lt;BR /&gt;&lt;BR /&gt;$ rm /V90164/temp02.dbf &lt;BR /&gt;==============================&lt;BR /&gt;&lt;BR /&gt;i.e. Drop the tempfile and add a new one to the tablespace. Then remove the OS file.  &lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Yogeeraj</description>
    <pubDate>Fri, 18 Oct 2002 03:47:29 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2002-10-18T03:47:29Z</dc:date>
    <item>
      <title>Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828460#M937990</link>
      <description>Hi,&lt;BR /&gt;  I wanted to move my total oracle 8i database from one mount point to other. But I am able to rename all my datafiles,controlfiles,and log files after doing the below&lt;BR /&gt;1. Shutdown the database &amp;amp; Instance.&lt;BR /&gt;2. Started the instance and only mounted the database.&lt;BR /&gt;3.Moved all the files to new location.&lt;BR /&gt;4.Proceessed the "Alter database rename file 'oldname' to 'newname'" to all files.&lt;BR /&gt;&lt;BR /&gt;  But the problem starts when I try to rename temp datafile. The oracle manual also says we cannot rename a temp datafile.&lt;BR /&gt;  Can someone help me how to rename the temp data file.&lt;BR /&gt;Thanks,&lt;BR /&gt;suki</description>
      <pubDate>Fri, 18 Oct 2002 03:30:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828460#M937990</guid>
      <dc:creator>suki</dc:creator>
      <dc:date>2002-10-18T03:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828461#M937991</link>
      <description>1.shutdown the database&lt;BR /&gt;&lt;BR /&gt;2.copy all the datafiles from teh old mount point to the new mount point.&lt;BR /&gt;&lt;BR /&gt;3.startup mount (mount the database)&lt;BR /&gt;&lt;BR /&gt;4.alter database rename file 'old file path' to 'new file path'&lt;BR /&gt;&lt;BR /&gt;5.alter database open&lt;BR /&gt;&lt;BR /&gt;Note:Copy of the database files should be after the full instance shutdown and before the mounting of the instance.&lt;BR /&gt;&lt;BR /&gt;Revert.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Oct 2002 03:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828461#M937991</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-10-18T03:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828462#M937992</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;I would recommend the following steps:&lt;BR /&gt;==============================&lt;BR /&gt;SQL&amp;gt; alter database tempfile '/V90164/temp02.dbf' drop; &lt;BR /&gt;&lt;BR /&gt;Database altered. &lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; alter tablespace USER_TEMP_1 add tempfile '/V90164/temp03.dbf' size 2M; &lt;BR /&gt;&lt;BR /&gt;Tablespace altered. &lt;BR /&gt;&lt;BR /&gt;$ rm /V90164/temp02.dbf &lt;BR /&gt;==============================&lt;BR /&gt;&lt;BR /&gt;i.e. Drop the tempfile and add a new one to the tablespace. Then remove the OS file.  &lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Fri, 18 Oct 2002 03:47:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828462#M937992</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-10-18T03:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828463#M937993</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you may also consider the following alternative:&lt;BR /&gt;&lt;BR /&gt;alter database backup controlfile to trace&lt;BR /&gt;&lt;BR /&gt;shutdown&lt;BR /&gt;&lt;BR /&gt;move the files&lt;BR /&gt;&lt;BR /&gt;edit the generated CREATE CONTROLFILE statement (found in the user dump &lt;BR /&gt;destination) and change the filenames&lt;BR /&gt;&lt;BR /&gt;use the generated script you just edited to startup the database.&lt;BR /&gt;&lt;BR /&gt;Hope this helps too!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Fri, 18 Oct 2002 04:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828463#M937993</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-10-18T04:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828464#M937994</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;That's true, a temp datafile cannot be renamed. And Yogeeraj's suggestion of dropping the tablespace and recreating it in a new location is a good one. &lt;BR /&gt;&lt;BR /&gt;But, if this temp datafile is also the temporary tablespace for your users, Oracle will not allow you to drop it until you have re-assigned a temporary tablespace for your users. To find out which is your users' temporary tablespace:&lt;BR /&gt;select username, temporary_tablespace from dba_tables;&lt;BR /&gt;If the tablespace you wish to drop is also the temporary tablespace for your users, then:&lt;BR /&gt;1. create a new temp tablespace where you want it to reside.&lt;BR /&gt;2. allocate your users to this tablespace, &lt;BR /&gt;alter user &lt;USERNAME&gt; temporary tablespace &lt;NEW_TBSP&gt;;&lt;BR /&gt;3. drop the old temp tablespace in Oracle and then physically remove the file.&lt;BR /&gt;&lt;BR /&gt;It's all good fun...enjoy!&lt;BR /&gt;Barbara&lt;BR /&gt;&lt;/NEW_TBSP&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Fri, 18 Oct 2002 04:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828464#M937994</guid>
      <dc:creator>Barbara Spadaro_1</dc:creator>
      <dc:date>2002-10-18T04:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828465#M937995</link>
      <description>If that is temp datafile&lt;BR /&gt;&lt;BR /&gt;Yes you can drop and re-create the temp datafile&lt;BR /&gt;&lt;BR /&gt;I think this workaround should work&lt;BR /&gt;&lt;BR /&gt;bring the temp tablespace offline&lt;BR /&gt;&lt;BR /&gt;alter tablespace temp offline; &lt;BR /&gt;&lt;BR /&gt;alter tablespace temp rename datafile 'old path' &lt;BR /&gt;to 'new path'&lt;BR /&gt;&lt;BR /&gt;this should work . &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 18 Oct 2002 04:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828465#M937995</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-10-18T04:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828466#M937996</link>
      <description>yes,&lt;BR /&gt;&lt;BR /&gt;The script to modify users temporary tablespaces can be generated by running the following SQL command:&lt;BR /&gt;=============================&lt;BR /&gt;select 'alter user '||username||' temporary tablespace other_temp;'&lt;BR /&gt;from dba_users&lt;BR /&gt;where temporary_tablespace='TEMP';&lt;BR /&gt;=============================&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Fri, 18 Oct 2002 04:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828466#M937996</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-10-18T04:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828467#M937997</link>
      <description>if it is a dictionary managed then &lt;BR /&gt;//*&lt;BR /&gt;If that is temp datafile &lt;BR /&gt;&lt;BR /&gt;Yes you can drop and re-create the temp datafile &lt;BR /&gt;&lt;BR /&gt;I think this workaround should work &lt;BR /&gt;&lt;BR /&gt;bring the temp tablespace offline &lt;BR /&gt;&lt;BR /&gt;alter tablespace temp offline; &lt;BR /&gt;&lt;BR /&gt;alter tablespace temp rename datafile 'old path' &lt;BR /&gt;to 'new path' &lt;BR /&gt;&lt;BR /&gt;*//&lt;BR /&gt;If it is a temporary managed tablespace then you should go with Yogeeraj's first response.&lt;BR /&gt;&lt;BR /&gt;However creating a new temp tablespace and moving users from the existing one should be  a safer one.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 18 Oct 2002 05:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828467#M937997</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-10-18T05:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828468#M937998</link>
      <description>Dictionary managed and locally managed &lt;BR /&gt;&lt;BR /&gt;Sorry for the previous posting as temporary managed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 18 Oct 2002 05:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828468#M937998</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-10-18T05:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828469#M937999</link>
      <description>Thanks to everyone who helped me.&lt;BR /&gt;  Yogeeraj gave the correct procedure. As he said I dropped the temp datafile and recreated it.&lt;BR /&gt;  But I am facing another problem with the listener.&lt;BR /&gt;  In my system there were four instances of oracle running with the shared executables.Now I have moved one of the instance datafiles and copied the oracle binaries also separately rather than the shared one. I was stuck up with the listener.I have attached my listener.ora file. Can someone help me how to configure for my separate instance without disturbing the other running instances.&lt;BR /&gt;Thanks,&lt;BR /&gt;suki.&lt;BR /&gt;_______________________________________________&lt;BR /&gt;My existing listener file:-&lt;BR /&gt;&lt;BR /&gt;LISTENERDSDI =&lt;BR /&gt;  (DESCRIPTION_LIST =&lt;BR /&gt;    (DESCRIPTION =&lt;BR /&gt;     (ADDRESS_LIST =&lt;BR /&gt;      (ADDRESS=(PROTOCOL=TCP)(HOST=abc.info.com)(PORT=1521))&lt;BR /&gt;    )&lt;BR /&gt;  )&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;SID_LIST_LISTENERDSDI =&lt;BR /&gt;  (SID_LIST =&lt;BR /&gt;    (SID_DESC =&lt;BR /&gt;      (SID_NAME = ABC1)&lt;BR /&gt;      (ORACLE_HOME = /opt/oracle_817)&lt;BR /&gt;    )&lt;BR /&gt;    (SID_DESC =&lt;BR /&gt;      (SID_NAME = ABC2)&lt;BR /&gt;      (ORACLE_HOME = /opt/oracle_817)&lt;BR /&gt;    )&lt;BR /&gt;    (SID_DESC =&lt;BR /&gt;      (SID_NAME = ABC3)&lt;BR /&gt;      (ORACLE_HOME = /opt/oracle_817)&lt;BR /&gt;    )&lt;BR /&gt;      (SID_DESC =&lt;BR /&gt;      (SID_NAME = ABC4)&lt;BR /&gt;      (ORACLE_HOME = /opt/oracle_817)&lt;BR /&gt;    )&lt;BR /&gt;&lt;BR /&gt;)&lt;BR /&gt;-----------------------------------------------</description>
      <pubDate>Fri, 18 Oct 2002 06:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828469#M937999</guid>
      <dc:creator>suki</dc:creator>
      <dc:date>2002-10-18T06:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828470#M938000</link>
      <description>What do you mean by moving the shared binaries?&lt;BR /&gt;&lt;BR /&gt;Why is the need?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Revert&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Oct 2002 06:55:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828470#M938000</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-10-18T06:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828471#M938001</link>
      <description>Hi Mani,&lt;BR /&gt;  I have copied the /opt/oracle_817 into a different directory for the newly moved instance. But earlier all the 4 instances where using the same /opt/oracle_817 Oracle_Home Directory.&lt;BR /&gt;  Now the home directory is different for the moved database.&lt;BR /&gt;Thanks,&lt;BR /&gt;suki.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Oct 2002 07:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828471#M938001</guid>
      <dc:creator>suki</dc:creator>
      <dc:date>2002-10-18T07:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828472#M938002</link>
      <description>Why are you moving the oracle_home for the moved instance?&lt;BR /&gt;There is no need to move the Oracle_home.Oracle_home is the home directory for the Oracle application and it is common for all the instances.&lt;BR /&gt;&lt;BR /&gt;YOu listener.ora file looks great.&lt;BR /&gt;If you are adding another instance then&lt;BR /&gt;&lt;BR /&gt;LISTENERDSDI = &lt;BR /&gt;(DESCRIPTION_LIST = &lt;BR /&gt;(DESCRIPTION = &lt;BR /&gt;(ADDRESS_LIST = &lt;BR /&gt;(ADDRESS=(PROTOCOL=TCP)(HOST=abc.info.com)(PORT=1521)) &lt;BR /&gt;) &lt;BR /&gt;) &lt;BR /&gt;) &lt;BR /&gt;&lt;BR /&gt;SID_LIST_LISTENERDSDI = &lt;BR /&gt;(SID_LIST = &lt;BR /&gt;(SID_DESC = &lt;BR /&gt;(SID_NAME = ABC1) &lt;BR /&gt;(ORACLE_HOME = /opt/oracle_817) &lt;BR /&gt;) &lt;BR /&gt;(SID_DESC = &lt;BR /&gt;(SID_NAME = ABC2) &lt;BR /&gt;(ORACLE_HOME = /opt/oracle_817) &lt;BR /&gt;) &lt;BR /&gt;(SID_DESC = &lt;BR /&gt;(SID_NAME = ABC3) &lt;BR /&gt;(ORACLE_HOME = /opt/oracle_817) &lt;BR /&gt;) &lt;BR /&gt;(SID_DESC = &lt;BR /&gt;(SID_NAME = ABC4) &lt;BR /&gt;(ORACLE_HOME = /opt/oracle_817) &lt;BR /&gt;) &lt;BR /&gt;(SID_DESC = &lt;BR /&gt;(SID_NAME = xxx) &lt;BR /&gt;(ORACLE_HOME = /opt/oracle_817) &lt;BR /&gt;) &lt;BR /&gt;&lt;BR /&gt;) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Revert</description>
      <pubDate>Fri, 18 Oct 2002 07:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828472#M938002</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-10-18T07:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828473#M938003</link>
      <description>Hi Mani,&lt;BR /&gt;  I need to configure each instance as a separate package in a cluster environment.So what I want to keep different Oracle_Home directories.&lt;BR /&gt;Thanks,&lt;BR /&gt;Suki.</description>
      <pubDate>Fri, 18 Oct 2002 08:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828473#M938003</guid>
      <dc:creator>suki</dc:creator>
      <dc:date>2002-10-18T08:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Moving temp datafile in Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828474#M938004</link>
      <description>From oracle it is not recommended to move or copy an Server-Installation to another place. &lt;BR /&gt;&lt;BR /&gt;With relinking the binaries it will work but OraInstaller will not work correctly on this "new installation" because in the OraInventory the former installation path is hard coded in binary files.&lt;BR /&gt;&lt;BR /&gt;The correct way to separate installations is a new install of oracle binaries.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1b13237a4bc6d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1b13237a4bc6d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 18 Oct 2002 08:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-temp-datafile-in-oracle/m-p/2828474#M938004</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2002-10-18T08:46:30Z</dc:date>
    </item>
  </channel>
</rss>

