<?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 datafile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846017#M777380</link>
    <description>If the database is shutdown, cold, then these steps are not really necessary. Just put the older datafile in place and recover. It should work as you stated but does the older datafile have the same relationships as the newer file?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 18 Aug 2006 07:39:09 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2006-08-18T07:39:09Z</dc:date>
    <item>
      <title>Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846014#M777377</link>
      <description>Hello there, &lt;BR /&gt;could you please help me with the following:&lt;BR /&gt;As my actual datafile as corrupted blocks i wish to alter the tablespace replacing the actual datafile with an old one with less data.&lt;BR /&gt;Could be possible?&lt;BR /&gt;May i follow the following steps:&lt;BR /&gt;-alter tablespace offline&lt;BR /&gt;-alter database rename file &lt;BR /&gt;-alter tablespace online&lt;BR /&gt;may i rename the datafile with an mounted database?&lt;BR /&gt;Thansk in advance for any tips.&lt;BR /&gt;Regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Fri, 18 Aug 2006 07:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846014#M777377</guid>
      <dc:creator>fabiosax</dc:creator>
      <dc:date>2006-08-18T07:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846015#M777378</link>
      <description>Shalom Fabio,&lt;BR /&gt;&lt;BR /&gt;Why not just down the database and overwrite with a recent cold backup.&lt;BR /&gt;&lt;BR /&gt;Then you can apply archive logs if you have them to make your data as current as possible.&lt;BR /&gt;&lt;BR /&gt;If its just one tablespace, depending on your data relationship, your replacement method may work. It really depends on key relationships between the tables.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Aug 2006 07:30:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846015#M777378</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-18T07:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846016#M777379</link>
      <description>Thanks for your prompt reply....&lt;BR /&gt;So may I shutdown the db put it on open state and then replace the datafile?&lt;BR /&gt;For sure few blocks are corrupted into the tablespace and some indexes too.&lt;BR /&gt;After having replaced the datafile should i rebuild or analyse teh tablespace structure?&lt;BR /&gt;Thanks and sorry for my questions but i'm not an expert...&lt;BR /&gt;Thanks so much....&lt;BR /&gt;Fabio</description>
      <pubDate>Fri, 18 Aug 2006 07:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846016#M777379</guid>
      <dc:creator>fabiosax</dc:creator>
      <dc:date>2006-08-18T07:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846017#M777380</link>
      <description>If the database is shutdown, cold, then these steps are not really necessary. Just put the older datafile in place and recover. It should work as you stated but does the older datafile have the same relationships as the newer file?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Aug 2006 07:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846017#M777380</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-08-18T07:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846018#M777381</link>
      <description>Hi..&lt;BR /&gt;the restored datafile has less data respect the corrupted one but it's identical as structure.&lt;BR /&gt;So I need to shutdown the db replace the datafile and the raise a startup?&lt;BR /&gt;Thanks...&lt;BR /&gt;Fabio</description>
      <pubDate>Fri, 18 Aug 2006 07:49:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846018#M777381</guid>
      <dc:creator>fabiosax</dc:creator>
      <dc:date>2006-08-18T07:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846019#M777382</link>
      <description>A shutdown would be better.</description>
      <pubDate>Fri, 18 Aug 2006 07:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846019#M777382</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-08-18T07:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846020#M777383</link>
      <description>Thansk to all .. I'm going to follow what you suggested.. and let you know...&lt;BR /&gt;but just the last question:&lt;BR /&gt;after having replaced the datafile with the restored one should i just restart the db? &lt;BR /&gt;I'm in the meanwhile readind documentation and they suggested to do a recover tablespace after teh startup, should I?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Fabio&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Aug 2006 08:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846020#M777383</guid>
      <dc:creator>fabiosax</dc:creator>
      <dc:date>2006-08-18T08:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846021#M777384</link>
      <description>STOP!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;with Oracle it is not just as easy as that!&lt;BR /&gt;You can't just replace the datafile like that. You may corrupt your database further!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;At worst you will have to restore your whole database on another machine and do recovery using sqlcopy or export.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 18 Aug 2006 08:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846021#M777384</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-08-18T08:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846022#M777385</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;What backup strategy to you have in place?&lt;BR /&gt;&lt;BR /&gt;If you have a cold backup, you will have to do a full restore and recovery.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You should follow the steps as per the strict guidelines.&lt;BR /&gt;&lt;BR /&gt;If this is something mission critical, it will be preferrable to contact oracle support!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 18 Aug 2006 08:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846022#M777385</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-08-18T08:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846023#M777386</link>
      <description>Ok..&lt;BR /&gt;so may i follow these instructions:&lt;BR /&gt;--ALTER TABLESPACE xxxx OFFLINE IMMEDIATE;&lt;BR /&gt;--cp&lt;BR /&gt;--RECOVER TABLESPACE xxxx&lt;BR /&gt;--ALTER TABLESPACE xxxx ONLINE;&lt;BR /&gt;&lt;BR /&gt;Thanks so much.&lt;BR /&gt;Fabio</description>
      <pubDate>Fri, 18 Aug 2006 08:45:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846023#M777386</guid>
      <dc:creator>fabiosax</dc:creator>
      <dc:date>2006-08-18T08:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846024#M777387</link>
      <description>hi fabio,&lt;BR /&gt;&lt;BR /&gt;i would prefer to do a safe:&lt;BR /&gt;&lt;BR /&gt;a. create new tablespace&lt;BR /&gt;b. move tables to new tablespace using: 'alter table &lt;TABLENAME&gt; move tablespace &lt;NEW tablespace=""&gt;&lt;BR /&gt;c. rebuild associated indexes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;how big is the tablespace?&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;/NEW&gt;&lt;/TABLENAME&gt;</description>
      <pubDate>Fri, 18 Aug 2006 08:50:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846024#M777387</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-08-18T08:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846025#M777388</link>
      <description>Hi..&lt;BR /&gt;about 160Mb with 135Md of data.&lt;BR /&gt;The problem is that the actual datafile has 3 blocks corrupted and after having tried to fix them i had problems fixing orphan keys.&lt;BR /&gt;So i thought to replace the actual datafile with an old one but with less data and with the same structure.&lt;BR /&gt;Sorry for all my questions but i' trying to fix something i never faced.&lt;BR /&gt;So I wonder if exist a method to replace the actual defect datafile with an old one but with less data.&lt;BR /&gt;Thanks yogeeraj really appreciated!!!&lt;BR /&gt;//FAbio</description>
      <pubDate>Fri, 18 Aug 2006 08:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846025#M777388</guid>
      <dc:creator>fabiosax</dc:creator>
      <dc:date>2006-08-18T08:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846026#M777389</link>
      <description>hi fabio,&lt;BR /&gt;&lt;BR /&gt;this is the last help that i can provide you for today.&lt;BR /&gt;&lt;BR /&gt;A document containing information on how to Handle Oracle Block Corruptions in Oracle7/8/8i/9i/10g&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 18 Aug 2006 09:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846026#M777389</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-08-18T09:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846027#M777390</link>
      <description>Thanks so much.&lt;BR /&gt;Regards&lt;BR /&gt;//Fabio</description>
      <pubDate>Fri, 18 Aug 2006 09:07:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846027#M777390</guid>
      <dc:creator>fabiosax</dc:creator>
      <dc:date>2006-08-18T09:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846028#M777391</link>
      <description>hi fabio,&lt;BR /&gt;&lt;BR /&gt;hope you managed to fix the problem.&lt;BR /&gt;&lt;BR /&gt;keep us updated.&lt;BR /&gt;&lt;BR /&gt;kind regaards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Sat, 19 Aug 2006 00:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846028#M777391</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-08-19T00:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Moving datafile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846029#M777392</link>
      <description>Hello there, &lt;BR /&gt;just to let you know that we managed to fix the problem avoiding to use the old datafile.&lt;BR /&gt;We just used the rowid to select data from the corrupted datafile ( the errors was into a table) and then insert it to a new table.&lt;BR /&gt;&lt;BR /&gt;Thanks to everyone for your support.&lt;BR /&gt;Regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Thu, 24 Aug 2006 08:41:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-datafile/m-p/3846029#M777392</guid>
      <dc:creator>fabiosax</dc:creator>
      <dc:date>2006-08-24T08:41:53Z</dc:date>
    </item>
  </channel>
</rss>

