<?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 Database from Windows in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711005#M790968</link>
    <description>dear pinki,&lt;BR /&gt;&lt;BR /&gt;Importing oracle database from windows to unix shouldnt be a problem. &lt;BR /&gt;&lt;BR /&gt;export the full database using exp command from sqlplus&lt;BR /&gt;&lt;BR /&gt;import it using imp in unix at sqlplus after installing and configuring oracle.&lt;BR /&gt;&lt;BR /&gt;You have to make sure of the following..&lt;BR /&gt;&lt;BR /&gt;all required kernel tuning has been done for oracle.&lt;BR /&gt;&lt;BR /&gt;oracle is installed without any erros&lt;BR /&gt;&lt;BR /&gt;all PATH variabled has been set&lt;BR /&gt;&lt;BR /&gt;all datafiles exist in the database created in unix, the locations of the datafiles can differ and it should not be a problem.&lt;BR /&gt;&lt;BR /&gt;Could you get the error details?&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva</description>
    <pubDate>Tue, 17 Jan 2006 10:49:28 GMT</pubDate>
    <dc:creator>Sivakumar TS</dc:creator>
    <dc:date>2006-01-17T10:49:28Z</dc:date>
    <item>
      <title>Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711001#M790964</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;i have installed oracle9i database on a HP-UX11.11, and i need to import all the info from another oracle 9i database on a windows server, is it possible? if yes, how can i do it?&lt;BR /&gt;i have the dump file created by the  exp command, but the imp command fails because there are many things that arent compatible, for example the location of the datafiles...&lt;BR /&gt;&lt;BR /&gt;Can anyone help me please.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Pinki</description>
      <pubDate>Tue, 17 Jan 2006 10:40:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711001#M790964</guid>
      <dc:creator>Pinki Meggi</dc:creator>
      <dc:date>2006-01-17T10:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711002#M790965</link>
      <description>You can try to copy the datafiles (source database should be down at the moment!) and then, on the new machine, recreate control files.&lt;BR /&gt;&lt;BR /&gt;Something like this:&lt;BR /&gt;&lt;BR /&gt;STARTUP NOMOUNT&lt;BR /&gt;CREATE CONTROLFILE SET DATABASE "DBNAME" RESETLOGS NOARCHIVELOG&lt;BR /&gt;MAXLOGFILES xxx&lt;BR /&gt;MAXLOGMEMBERS xxx&lt;BR /&gt;MAXDATAFILES xxx&lt;BR /&gt;MAXINSTANCES xxx&lt;BR /&gt;MAXLOGHISTORY xxx&lt;BR /&gt;LOGFILE&lt;BR /&gt;GROUP 1 (&lt;BR /&gt;'/path/to/redo/log/number/one',&lt;BR /&gt;'/path/to/mirror'&lt;BR /&gt;) SIZE xxxM,&lt;BR /&gt;GROUP 2 (&lt;BR /&gt;..............&lt;BR /&gt;) SIZE 70M&lt;BR /&gt;DATAFILE&lt;BR /&gt;'/path/to/first/datafile',&lt;BR /&gt;'/etc/etc/etc'&lt;BR /&gt;CHARACTER SET xxxxxxxxx;&lt;BR /&gt;ALTER DATABASE OPEN RESETLOGS;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2006 10:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711002#M790965</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2006-01-17T10:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711003#M790966</link>
      <description>Pinki,&lt;BR /&gt;can you not just import the user data with the user=(user1,user2..) parameter?&lt;BR /&gt;Or are you asking about a complete database move? Are you set up for portable tablespaces?</description>
      <pubDate>Tue, 17 Jan 2006 10:46:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711003#M790966</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-01-17T10:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711004#M790967</link>
      <description>Hi Pinki,&lt;BR /&gt;&lt;BR /&gt;It should be possible...&lt;BR /&gt;&lt;BR /&gt;First things you need to tell us:&lt;BR /&gt;&lt;BR /&gt;1- the windows and HP-UX database versions? &lt;BR /&gt;&lt;BR /&gt;2- The Win export utlity and the HP-UX import utility versions?&lt;BR /&gt;&lt;BR /&gt;3- What is the exact command you are using for export?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Tue, 17 Jan 2006 10:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711004#M790967</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-17T10:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711005#M790968</link>
      <description>dear pinki,&lt;BR /&gt;&lt;BR /&gt;Importing oracle database from windows to unix shouldnt be a problem. &lt;BR /&gt;&lt;BR /&gt;export the full database using exp command from sqlplus&lt;BR /&gt;&lt;BR /&gt;import it using imp in unix at sqlplus after installing and configuring oracle.&lt;BR /&gt;&lt;BR /&gt;You have to make sure of the following..&lt;BR /&gt;&lt;BR /&gt;all required kernel tuning has been done for oracle.&lt;BR /&gt;&lt;BR /&gt;oracle is installed without any erros&lt;BR /&gt;&lt;BR /&gt;all PATH variabled has been set&lt;BR /&gt;&lt;BR /&gt;all datafiles exist in the database created in unix, the locations of the datafiles can differ and it should not be a problem.&lt;BR /&gt;&lt;BR /&gt;Could you get the error details?&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva</description>
      <pubDate>Tue, 17 Jan 2006 10:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711005#M790968</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-01-17T10:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711006#M790969</link>
      <description>Hi Pinki,&lt;BR /&gt;&lt;BR /&gt;Forget the first 2 questions: what is the exact command you are using for export?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Tue, 17 Jan 2006 10:49:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711006#M790969</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-17T10:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711007#M790970</link>
      <description>Hi all, thanks for replies&lt;BR /&gt;&lt;BR /&gt;Im asking for a complete database move.&lt;BR /&gt;&lt;BR /&gt;The windows and HP-UX version are 9.2.0 and 9.2.0.1 respectively&lt;BR /&gt;&lt;BR /&gt;The win import/export utility are the same and the command are:&lt;BR /&gt;&lt;BR /&gt;exp admin/password@siges_hostname FILE=expdat.dmp log=export.log FULL=y&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;imp sys/password@instance AS SYSDBA FULL=y FILE=expdat.dmp log=import.log&lt;BR /&gt;&lt;BR /&gt;The first error i got is:&lt;BR /&gt;&lt;BR /&gt;  . importing objects from user system to user system&lt;BR /&gt;IMP-00017: failed with ORACLE 12913 error:&lt;BR /&gt;   "CREATE TABLESPACE "USERS" BLOCKSIZE 8192 DATAFILE 'E:\ORACLE\ORADATA\SIGES\USERS01.dbf' ...."&lt;BR /&gt;&lt;BR /&gt;IMP-00003: Cannot create dictionary managed tablespace&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can attach the log file if it is necessary&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Pinki&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2006 11:07:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711007#M790970</guid>
      <dc:creator>Pinki Meggi</dc:creator>
      <dc:date>2006-01-17T11:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711008#M790971</link>
      <description>Hi Pinki,&lt;BR /&gt;&lt;BR /&gt;I think it is better for you to a "User Mode" export as Peter Godron suggested:&lt;BR /&gt;&lt;BR /&gt;exp admin/password@siges_hostname FILE=expdat.dmp log=export.log direct=Y OWNER=(User A,...)&lt;BR /&gt;&lt;BR /&gt;And while the export runs in the source database (Windows) you can create the necessary tablespaces in the destination database (HP-UX):&lt;BR /&gt;&lt;BR /&gt;creare tablespace &lt;NAME&gt;&lt;BR /&gt;datafile '/.../FILE1' SIZE &lt;SIZE&gt;M&lt;BR /&gt;default storage (&lt;BR /&gt;initial 100K&lt;BR /&gt;next 50K&lt;BR /&gt;minextents 1&lt;BR /&gt;maxextents 50&lt;BR /&gt;pctincrease 0);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;/SIZE&gt;&lt;/NAME&gt;</description>
      <pubDate>Tue, 17 Jan 2006 11:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711008#M790971</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-17T11:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711009#M790972</link>
      <description>Well, &lt;BR /&gt;&lt;BR /&gt;It is better not to use direct if you want to export REF, LOB, BFILE or object type columns (which include VARRAYs and nested tables)...</description>
      <pubDate>Tue, 17 Jan 2006 11:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711009#M790972</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-17T11:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711010#M790973</link>
      <description>hi Pinki,&lt;BR /&gt;&lt;BR /&gt;is it feasible for you to precreate all the objects before importing the data?&lt;BR /&gt;&lt;BR /&gt;e.g. tablespaces, tables, views, packages, etc.&lt;BR /&gt;&lt;BR /&gt;if yes, let us know, the steps will be much clearer to define.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 17 Jan 2006 23:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711010#M790973</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-01-17T23:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711011#M790974</link>
      <description>Hi, thanks once again for your kind attention.&lt;BR /&gt;&lt;BR /&gt;We are migrating from windows to hp-ux, and i need to copy all information from database running on windows system, i mean i need to have the same database running now on HP-UX.&lt;BR /&gt;&lt;BR /&gt;so in your opinion i have to create first all datafiles, tablespaces, users, etc ... and after that import, just the data? It will be a tough job, but it is feasible. I prefered to do the import in one step, because the database is being used by the users of my company but if i have no option i can do it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for help&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Pinki</description>
      <pubDate>Wed, 18 Jan 2006 04:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711011#M790974</guid>
      <dc:creator>Pinki Meggi</dc:creator>
      <dc:date>2006-01-18T04:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711012#M790975</link>
      <description>Hi Pinki.&lt;BR /&gt;With the Oracle Enterprise Manager you can create many of  the necessary scripts to create your new database ( DDL scripts ).&lt;BR /&gt;And give a thought to the item, whether you need locally managed tablespace, because you do not have that much influence on these.&lt;BR /&gt;For the export create a parameter file with all necessary options.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Wed, 18 Jan 2006 04:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711012#M790975</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2006-01-18T04:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711013#M790976</link>
      <description>Hi Pinki,&lt;BR /&gt;&lt;BR /&gt;You may want to try to clone the database (this works fine from an HP-UX instance to create a new HP-UX instance but I never tried it with your situation).&lt;BR /&gt;&lt;BR /&gt;Here are the steps...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the source DB (windows):&lt;BR /&gt;&lt;BR /&gt;shutdown immediate;&lt;BR /&gt;&lt;BR /&gt;ftp the datafiles, redolog files, control files in BINARY mode and init&lt;SID&gt;.ora in ASCII mode to there new HP-UX destinations (init&lt;SID&gt;.ora is normally at $ORACLE_HOME/dbs)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the destination DB (HP-UX):&lt;BR /&gt;&lt;BR /&gt;Make sure init&lt;SID&gt;.ora is pointing to the correct control files location.&lt;BR /&gt;&lt;BR /&gt;svrmgrl or sqlplus&lt;BR /&gt;&lt;BR /&gt;connect / as sysdba;&lt;BR /&gt;&lt;BR /&gt;STARTUP NOMOUNT&lt;BR /&gt;CREATE CONTROLFILE REUSE SET DATABASE "&lt;HP_UX_DB_INSTANCE_NAME&gt;" RESETLOGS NOARCHIVELOG&lt;BR /&gt;    MAXLOGFILES 16&lt;BR /&gt;    MAXLOGMEMBERS 2&lt;BR /&gt;    MAXDATAFILES 200&lt;BR /&gt;    MAXINSTANCES 1&lt;BR /&gt;    MAXLOGHISTORY 453&lt;BR /&gt;LOGFILE&lt;BR /&gt;  GROUP 1 (&lt;BR /&gt;    '/disc1/.../log01a.dbf',&lt;BR /&gt;    '/disc2/.../log01b.dbf'&lt;BR /&gt;  ) SIZE 10M,&lt;BR /&gt;  GROUP 2 (&lt;BR /&gt;    '/disc1/.../log02a.dbf',&lt;BR /&gt;    '/disc2/.../log02b.dbf'&lt;BR /&gt;  ) SIZE 10M&lt;BR /&gt;DATAFILE&lt;BR /&gt;  '/.../system01.dbf',&lt;BR /&gt;  '/.../rbs01.dbf',&lt;BR /&gt;  '/.../temp01.dbf',&lt;BR /&gt;  '/.../user1x01.dbf',&lt;BR /&gt;  '/.../user1d01.dbf',&lt;BR /&gt;...&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;recover database; --it may error out but continue anyway...&lt;BR /&gt;&lt;BR /&gt;alter database open resetlogs;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As I said, I never tried it but it may work...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;/HP_UX_DB_INSTANCE_NAME&gt;&lt;/SID&gt;&lt;/SID&gt;&lt;/SID&gt;</description>
      <pubDate>Wed, 18 Jan 2006 04:40:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711013#M790976</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2006-01-18T04:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711014#M790977</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;thanks a lot fo help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I will try it, hope it will work.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Pinki</description>
      <pubDate>Wed, 18 Jan 2006 04:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711014#M790977</guid>
      <dc:creator>Pinki Meggi</dc:creator>
      <dc:date>2006-01-18T04:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711015#M790978</link>
      <description>hi pinki,&lt;BR /&gt;&lt;BR /&gt;to generate the DDLs you can also use:&lt;BR /&gt;&lt;BR /&gt;yd@MYDB.MU&amp;gt; select dbms_metadata.get_ddl( 'TABLE', 'EMP', 'SCOTT' ) from dual;&lt;BR /&gt;&lt;BR /&gt;DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT')&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;  CREATE TABLE "SCOTT"."EMP"&lt;BR /&gt;   (    "EMPNO" NUMBER(4,0),&lt;BR /&gt;        "ENAME" VARCHAR2(10),&lt;BR /&gt;        "JOB" VARCHAR2(9),&lt;BR /&gt;        "MGR" NUMBER(4,0),&lt;BR /&gt;        "HIREDATE" DATE,&lt;BR /&gt;        "SAL" NUMBER(7,2),&lt;BR /&gt;        "COMM" NUMBER(7,2),&lt;BR /&gt;        "DEPTNO" NUMBER(2,0),&lt;BR /&gt;         CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")&lt;BR /&gt;  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255&lt;BR /&gt;  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645&lt;BR /&gt;  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)&lt;BR /&gt;  TABLESPACE "SYSTEM"  ENABLE,&lt;BR /&gt;         CONSTRAINT "EMP_FK_EMP" FOREIGN KEY ("MGR")&lt;BR /&gt;          REFERENCES "SCOTT"."EMP" ("EMPNO") ENABLE,&lt;BR /&gt;         CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")&lt;BR /&gt;          REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE&lt;BR /&gt;   ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING&lt;BR /&gt;  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645&lt;BR /&gt;  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)&lt;BR /&gt;  TABLESPACE "SYSTEM"&lt;BR /&gt;&lt;BR /&gt;Hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 18 Jan 2006 04:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711015#M790978</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-01-18T04:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711016#M790979</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;for the generation of tablespace scripts you can also proceed as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ exp userid=/ full=y&lt;BR /&gt;&lt;BR /&gt;Export: Release 8.1.7.4.0 - Production on Wed Jan 13 14:14:13 2006&lt;BR /&gt;&lt;BR /&gt;(c) Copyright 2000 Oracle Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Connected to: Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production&lt;BR /&gt;With the Partitioning option&lt;BR /&gt;JServer Release 8.1.7.4.0 - Production&lt;BR /&gt;Export done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set&lt;BR /&gt;&lt;BR /&gt;About to export the entire database ...&lt;BR /&gt;. exporting tablespace definitions&lt;BR /&gt;. exporting profiles&lt;BR /&gt;. exporting user definitions&lt;BR /&gt;. exporting roles&lt;BR /&gt;. exporting resource costs&lt;BR /&gt;. exporting rollback segment definitions&lt;BR /&gt;. exporting database links&lt;BR /&gt;. exporting sequence numbers&lt;BR /&gt;. exporting directory aliases&lt;BR /&gt;. exporting context namespaces&lt;BR /&gt;. exporting foreign function library names&lt;BR /&gt;. exporting object type definitions&lt;BR /&gt;. exporting system procedural objects and actions  ^C &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;=== press CTRL-C&lt;BR /&gt;EXP-00008: ORACLE error 1013 encountered&lt;BR /&gt;ORA-01013: user requested cancel of current operation&lt;BR /&gt;EXP-00000: Export terminated unsuccessfully&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ grep 'CREATE TABLESPACE' expdat.dmp&lt;BR /&gt;CREATE TABLESPACE "RBS_TS_01" DATAFILE  '/d01/oradata/ora817dev/rbs_ts_01.dbf' &lt;BR /&gt;SIZE 31563776 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "RBS_TS_02" DATAFILE  '/d02/oradata/ora817dev/rbs_ts_02.dbf' &lt;BR /&gt;SIZE 157392896 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "RBS_TS_03" DATAFILE  '/d03/oradata/ora817dev/rbs_ts_03.dbf' &lt;BR /&gt;SIZE 26320896 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "RBS_TS_04" DATAFILE  '/d04/oradata/ora817dev/rbs_ts_04.dbf' &lt;BR /&gt;SIZE 48340992 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "RBS_TS_05" DATAFILE  '/d01/oradata/ora817dev/rbs_ts_05.dbf' &lt;BR /&gt;SIZE 26320896 REUSE AUTOEXTEND ON NEXT 1048576  MAXSIZE 2000M EXTENT MANAGEMENT &lt;BR /&gt;LOCAL  UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "USERS" DATAFILE  '/d04/oradata/ora817dev/users.dbf' SIZE &lt;BR /&gt;661127168 REUSE AUTOEXTEND ON NEXT 524288  MAXSIZE 2000M EXTENT MANAGEMENT LOCAL &lt;BR /&gt; UNIFORM SIZE 524288 ONLINE PERMANENT  NOLOGGING&lt;BR /&gt;CREATE TABLESPACE "DRSYS" DATAFILE  '/d04/oradata/ora817dev/drsys.dbf' SIZE &lt;BR /&gt;36700160 REUSE AUTOEXTEND ON NEXT 524288  MAXSIZE 2000M EXTENT MANAGEMENT LOCAL  &lt;BR /&gt;UNIFORM SIZE 524288 ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "XXX" DATAFILE  '/tmp/xxx.dbf' SIZE 105373696 REUSE AUTOEXTEND &lt;BR /&gt;ON NEXT 104857600  MAXSIZE 32767M DEFAULT  STORAGE(INITIAL 40960 NEXT 40960 &lt;BR /&gt;MINEXTENTS 1 MAXEXTENTS 505 PCTINCREASE 50) ONLINE PERMANENT &lt;BR /&gt;CREATE TABLESPACE "TMP" DATAFILE  '/tmp/tmp.dbf' SIZE 1048576 REUSE EXTENT &lt;BR /&gt;MANAGEMENT LOCAL  UNIFORM SIZE 65536&lt;BR /&gt;CREATE TABLESPACE "CLAMS" DATAFILE  '/d03/oradata/ora817dev/clams.dbf' SIZE &lt;BR /&gt;78118912 REUSE AUTOEXTEND ON NEXT 524288  MAXSIZE 2000M EXTENT MANAGEMENT LOCAL  &lt;BR /&gt;UNIFORM SIZE 524288&lt;BR /&gt;&lt;BR /&gt;Alternatively, in Oracle 9i, you can again use the DBMS_METADATA package to get the tablespace scripts:&lt;BR /&gt;&lt;BR /&gt;yd@MYDB.MU&amp;gt; select dbms_metadata.get_ddl( 'TABLESPACE', 'USERS' ) from dual;&lt;BR /&gt; &lt;BR /&gt;DBMS_METADATA.GET_DDL('TABLESPACE','USERS')&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt; &lt;BR /&gt;  CREATE TABLESPACE "USERS" DATAFILE&lt;BR /&gt;  '/u01/oracle/p1/oradata/ora920/users01.dbf' SIZE 26214400 REUSE&lt;BR /&gt;  AUTOEXTEND ON NEXT 1310720 MAXSIZE UNLIMITED&lt;BR /&gt;  LOGGING ONLINE PERMANENT BLOCKSIZE 8192&lt;BR /&gt;  EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 18 Jan 2006 05:13:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711016#M790979</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-01-18T05:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711017#M790980</link>
      <description>You might find it helpful to use RMAN or sqlplus to back up the control file to trace on the source system. Then, on the target system take the control file from the source and modifiy the database file locations (since windows and HPUX won't agree on the locations). Build the database on the target prior to attempting to import the source. Since the datafiles are already built, the imp won't (or at least should not) try to build them. I believe that was the source of your problems early on where imp complained about trying to create a data file at E:/.....&lt;BR /&gt;&lt;BR /&gt;Hope this helps. I've moved from HPUX to linux using imp so it takes care of the Big Endian/Little Endian compatibility problem.&lt;BR /&gt;&lt;BR /&gt;-Hope this helps&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jan 2006 10:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711017#M790980</guid>
      <dc:creator>R. Allan Hicks</dc:creator>
      <dc:date>2006-01-18T10:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711018#M790981</link>
      <description>A database clone will not work.  You must export/import.&lt;BR /&gt;&lt;BR /&gt;The 'lazy' way to do the export/import is to:&lt;BR /&gt;- exp full=y to get everything on the Windows Box&lt;BR /&gt;- Create a new database on the HP-UX with the tablespaces you need and the same version or higher of the database (e.g. 9.2.0.7)&lt;BR /&gt;- Import the full Windows export into the HP.&lt;BR /&gt;- Re-run catalog/catproc to clean up orphan packages on HP-UX&lt;BR /&gt;&lt;BR /&gt;A slightly better way is the user import rather than 'full', but I usually don't bother since the database I migrate often have a LOT of users.</description>
      <pubDate>Wed, 18 Jan 2006 11:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711018#M790981</guid>
      <dc:creator>SteveKirby</dc:creator>
      <dc:date>2006-01-18T11:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import Database from Windows</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711019#M790982</link>
      <description>Install Oracle on to the taget database and do a Export of your existing database  then Import this will setup the structures. You will need to run catalog.sql and catproc.sql. &lt;BR /&gt;&lt;BR /&gt;1. catalog.sql creates the data dictionary. &lt;BR /&gt;2. catproc.sql creates all structures required for PL/SQL. &lt;BR /&gt;&lt;BR /&gt;  Export&lt;BR /&gt;  ------&lt;BR /&gt; set ORACLE_SID=mysid&lt;BR /&gt; set ORACLE_HOME=c:oracleora9i&lt;BR /&gt; exp userid=system/manager file=c:exportsmysid.dmp&lt;BR /&gt; log=c:exportsmysid.log full=y&lt;BR /&gt;&lt;BR /&gt;  Import&lt;BR /&gt;  ------&lt;BR /&gt; imp userid=system/oracle file=c:exportsmysid.dmp log=c:\temp\uw.log&lt;BR /&gt;&lt;BR /&gt;  Monitor Import&lt;BR /&gt;  --------------&lt;BR /&gt; select substr(sql_text,instr(sql_text,'INTO "'),30) table_name,&lt;BR /&gt; rows_processed,&lt;BR /&gt; round((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1)            minutes, &lt;BR /&gt; trunc(rows_processed/((sysdate-to_date(first_load_time,'yyyy-mm-dd                   hh24:mi:ss'))*24*60)) rows_per_min&lt;BR /&gt; from   sys.v_$sqlarea&lt;BR /&gt; where  sql_text like 'INSERT %INTO "%'&lt;BR /&gt; and  command_type = 2&lt;BR /&gt; and  open_versions &amp;gt; 0;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Simon</description>
      <pubDate>Wed, 18 Jan 2006 12:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-database-from-windows/m-p/3711019#M790982</guid>
      <dc:creator>Simon Wickham_6</dc:creator>
      <dc:date>2006-01-18T12:53:44Z</dc:date>
    </item>
  </channel>
</rss>

