<?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: Import oracle8 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261655#M888469</link>
    <description>Hmm.  Users will be recreated in the database with the passwords and tablespaces from the original database.  However, if the default or temporary tablespace name changes, the user creation will fail.  &lt;BR /&gt;&lt;BR /&gt;Tables/indexes will be created in the original tablespace.  That is why changing a tablespace name is not normally a good idea.  The only way to import a table into another tablespace is to create the table in the new tablespace, and import with the "IGNORE=Y" option on the import.  This can be dangerous, as this could possibly import data twice if there is not a primary key or unique key associated with the table.  &lt;BR /&gt;&lt;BR /&gt;You can get a list of the table and index creation statements by issing the 'imp' command with the "INDEXFILE=table.sql", which will give all of the commands.  If you just want the tables (no indexes), then you need to issue the "INDEXES=N" option as well.&lt;BR /&gt;&lt;BR /&gt;Unless you really need to change the tablespace names, I would recommend going back to the original names instead of trying to change them.  &lt;BR /&gt;&lt;BR /&gt;Let me know if you have any questions.  &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brian</description>
    <pubDate>Wed, 28 Apr 2004 17:25:12 GMT</pubDate>
    <dc:creator>Brian Crabtree</dc:creator>
    <dc:date>2004-04-28T17:25:12Z</dc:date>
    <item>
      <title>Import oracle8</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261653#M888467</link>
      <description>Hi,&lt;BR /&gt;i do it to import in a new , and empty ,database oracle8 a export full from another database.&lt;BR /&gt;I do it to create previously a users or they are created automatically.&lt;BR /&gt;The data tablespace was created in a new database with different names.&lt;BR /&gt;Thanks.&lt;BR /&gt;Francesco</description>
      <pubDate>Wed, 28 Apr 2004 09:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261653#M888467</guid>
      <dc:creator>Francesco_13</dc:creator>
      <dc:date>2004-04-28T09:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Import oracle8</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261654#M888468</link>
      <description>Francesco,&lt;BR /&gt;&lt;BR /&gt;You can import to same user or another user. Create users with appropriate privileges (and quota) 1st.&lt;BR /&gt;&lt;BR /&gt;If the tablespace name changes you will have to create the tables 1st and then import the DATA using  parameter IGNORE=Y.&lt;BR /&gt;&lt;BR /&gt;This is explained with more details in Metalink doc ID 1012307.6&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Wed, 28 Apr 2004 09:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261654#M888468</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-04-28T09:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Import oracle8</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261655#M888469</link>
      <description>Hmm.  Users will be recreated in the database with the passwords and tablespaces from the original database.  However, if the default or temporary tablespace name changes, the user creation will fail.  &lt;BR /&gt;&lt;BR /&gt;Tables/indexes will be created in the original tablespace.  That is why changing a tablespace name is not normally a good idea.  The only way to import a table into another tablespace is to create the table in the new tablespace, and import with the "IGNORE=Y" option on the import.  This can be dangerous, as this could possibly import data twice if there is not a primary key or unique key associated with the table.  &lt;BR /&gt;&lt;BR /&gt;You can get a list of the table and index creation statements by issing the 'imp' command with the "INDEXFILE=table.sql", which will give all of the commands.  If you just want the tables (no indexes), then you need to issue the "INDEXES=N" option as well.&lt;BR /&gt;&lt;BR /&gt;Unless you really need to change the tablespace names, I would recommend going back to the original names instead of trying to change them.  &lt;BR /&gt;&lt;BR /&gt;Let me know if you have any questions.  &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Wed, 28 Apr 2004 17:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261655#M888469</guid>
      <dc:creator>Brian Crabtree</dc:creator>
      <dc:date>2004-04-28T17:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Import oracle8</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261656#M888470</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes you can import from the original database from one user to the new database into another user in a straight forward way if the default tablespaces of the users were called the same name.&lt;BR /&gt;&lt;BR /&gt;But you had mentioned that you created the data tablespace in the new database with different names.&lt;BR /&gt;&lt;BR /&gt;Now you can still import the data, but you need to create the tables and indexes first.&lt;BR /&gt;&lt;BR /&gt;So in your new database, as you had already created the tablespaces, first create the users assign the default tablespace and temporaryt tablespace and grant privileges and quotes.&lt;BR /&gt;&lt;BR /&gt;Then on your old database, export the data user by user by owner = &lt;USERNAME&gt; option.&lt;BR /&gt;&lt;BR /&gt;Then on the new database you can run a fake import with the option imp fromuser=&lt;NAME&gt; touser=&lt;NAME&gt; and show =Y. This will not import but create a log file which will contain all the create table and index statements. &lt;BR /&gt;&lt;BR /&gt;Then you can edit this log file and save it as .sql and run against the new database to create the tables and indexes. &lt;BR /&gt;&lt;BR /&gt;Then import from the same export dump file with fromuser=&lt;USERNAME&gt; touser=&lt;USERNAME&gt; and ignore=Y options. &lt;BR /&gt;&lt;BR /&gt;You can do this for all the schemas in the old database to be imported into the new database.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;BR /&gt;&lt;BR /&gt;Indira A&lt;BR /&gt;&lt;/USERNAME&gt;&lt;/USERNAME&gt;&lt;/NAME&gt;&lt;/NAME&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Wed, 28 Apr 2004 20:01:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261656#M888470</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2004-04-28T20:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Import oracle8</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261657#M888471</link>
      <description>Thanks to all.&lt;BR /&gt; I have created only before the users ad assigned to default tablespace, then i have imported.&lt;BR /&gt;Create before the tables, for rollback question was no ideally for me.&lt;BR /&gt;Best regards.</description>
      <pubDate>Thu, 29 Apr 2004 08:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-oracle8/m-p/3261657#M888471</guid>
      <dc:creator>Francesco_13</dc:creator>
      <dc:date>2004-04-29T08:03:38Z</dc:date>
    </item>
  </channel>
</rss>

