|
Oracle 8i ¿¡¼´Â OSÀÇ filesizeº¸´Ù Å« export file¿¡ ´ëÇÑ filesize option À» Á¦°øÇÏ¿© export fileÀ»
splitÇÒ ¼ö ÀÖ´Ù. µû¶ó¼ 2G ÀÇ limit¿¡ °É¸° export file¿¡ ´ëÇØ O/S »óÀÇ compress³ª splitÀ» »ç¿ëÇÒ
Çʿ䰡 ¾ø¾îÁ³´Ù.
FILESIZE VALUE.
FILESIZE=0 (default) Causes one file.
FILESIZE=1024 Causes 1K files to be generated.
FILESIZE=1K Same as above.
FILESIZE=1M Causes 1Meg files to be generated.
FILESIZE=1G Causes 1Gig files to be generated.
## Example
3G ORDERS table À» 3°³ÀÇ export file·Î ³ª´©¾î¼ export. three 1G export files.
exp demo/demo file=(orders_1.dmp,orders_2.dmp,orders_3.dmp)
log=orders.log filesize=1g tables=orders
## Test
CKCHOI:/home13/rctest8i/server/ckchoi> exp boss/boss file=x1,x2,x3,x4 filesize=1M
Export: Release 8.1.6.0.0 - Production on Thu Jul 5 09:47:20 2001
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to: Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
Export done in KO16KSC5601 character set and KO16KSC5601FIXED NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user BOSS
. exporting object type definitions for user BOSS
About to export BOSS's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export BOSS's tables via Conventional Path ...
. . exporting table AA 65536 rows exported
. . exporting table AAA 3 rows exported
. . exporting table AB 8 rows exported
. . exporting table AC 8 rows exported
. . exporting table ADATE 1 rows exported
. . exporting table ASAS 0 rows exported
. . exporting table ASDF 5 rows exported
. . exporting table BONUS 0 rows exported
. . exporting table DEPT 4 rows exported
. . exporting table DUMMY 1 rows exported
. . exporting table DUMMY_Y 0 rows exported
. . exporting table DUMMY_Z 0 rows exported
. . exporting table EE 65536 rows exported
. . exporting table EEE 0 rows exported
. . exporting table EESS 14 rows exported
. . exporting table EMP 14 rows exported
. . exporting table EMP1
continuing export into file x2.dmp
continuing export into file x3.dmp
continuing export into file x4.dmp
57344 rows exported
. . exporting table EMP11 1 rows exported
. . exporting table EMPTTT 6 rows exported
. . exporting table EMP_TEST 19 rows exported
. . exporting table FF 0 rows exported
. . exporting table FFF 0 rows exported
. . exporting table FFF1 0 rows exported
. . exporting table FI 6 rows exported
. . exporting table LLL 2 rows exported
. . exporting table LLLLL 0 rows exported
. . exporting table LONGTAB 1 rows exported
. . exporting table LONGTAB2 1 rows exported
. . exporting table LONTAB 4 rows exported
. . exporting table MLOG$_DEPT 7 rows exported
. . exporting table MLOG$_EMP_TEST 0 rows exported
. . exporting table MO 12 rows exported
. . exporting table N 10 rows exported
. . exporting table NN 0 rows exported
. . exporting table NUM 1 rows exported
. . exporting table PART_TBL
. . exporting partition PART_TBL_03 0 rows exported
. . exporting partition PART_TBL_04 0 rows exported
. . exporting partition PART_TBL_05 0 rows exported
. . exporting table PLAN_TABLE 0 rows exported
. . exporting table PP 0 rows exported
. . exporting table PPP 0 rows exported
. . exporting table P_EMP
. . exporting partition EMP_P1 8 rows exported
. . exporting partition EMP_P2 5 rows exported
. . exporting table RUPD$_DEPT
. . exporting table RUPD$_EMP_TEST
. . exporting table SALGRADE 5 rows exported
. . exporting table SSTEST 1 rows exported
. . exporting table TBL 0 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting snapshots
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully without warnings.
CKCHOI:/home13/rctest8i/server/ckchoi> ls -als x*
2048 -rw-r--r-- 1 rctest8i dba 1048576 Jul 5 09:47 x1.dmp
2048 -rw-r--r-- 1 rctest8i dba 1048576 Jul 5 09:47 x2.dmp
2048 -rw-r--r-- 1 rctest8i dba 1048576 Jul 5 09:47 x3.dmp
840 -rw-r--r-- 1 rctest8i dba 430080 Jul 5 09:47 x4.dmp
CKCHOI:/home13/rctest8i/server/ckchoi>
CKCHOI:/home13/rctest8i/server/ckchoi> imp boss/boss file=x1,x2,x3,x4 filesize=1M full=y show=y
log=imp.log
Connected to: Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
Export file created by EXPORT:V08.01.06 via conventional path
import done in KO16KSC5601 character set and KO16KSC5601FIXED NCHAR character set
. importing BOSS's objects into BOSS
"CREATE DATABASE LINK "BOSSRAIN" CONNECT TO "BOSS" IDENTIFIED BY "BOSS" USIN"
"G 'ckchoi'"
"CREATE DATABASE LINK "KIMDH" CONNECT TO "BOSS" IDENTIFIED BY "BOSS" USING '"
"kimdh'"
"CREATE DATABASE LINK "KIMDH.WORLD" CONNECT TO "BOSS" IDENTIFIED BY "BOSS" U"
"SING 'kimdh'"
"CREATE DATABASE LINK "RC734KO" CONNECT TO "BOSS" IDENTIFIED BY "BOSS" USING"
" 'rc734ko'"
.
.
.
.
.
.
.
.
.
.
.
.
"ALTER PROCEDURE "TT" COMPILE TIMESTAMP '2001-06-14:18:03:22'"
"BEGIN SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG('BOSS','DEPT'); END;"
"BEGIN SYS.DBMS_SNAPSHOT_UTL.SYNC_UP_LOG('BOSS','EMP_TEST'); END;"
"CREATE SNAPSHOT LOG ON "BOSS"."DEPT" WITH PRIMARY KEY USING ("MLOG$_DEPT", "
"(3, 'CKCHOI', 98, '2001-04-20:12:05:53', '2001-04-20:12:05:53', '2001-04-20"
":12:05:53', 1, "DEPTNO", '2001-04-20:12:05:53', 2, 0, ("RUPD$_DEPT")))"
"CREATE SNAPSHOT LOG ON "BOSS"."EMP_TEST" WITH PRIMARY KEY USING ("MLOG$_EMP"
"_TEST", (3, 'CKCHOI', 98, '2001-05-28:15:07:44', '2001-05-28:15:07:44', '20"
"01-05-28:15:07:44', 1, "EMPNO", '2001-05-28:15:07:44', 2, 0, ("RUPD$_EMP_TE"
"ST")))"
"BEGIN dbms_job.isubmit(job=>5,what=>'dbms_refresh.refresh(''"BOSS"."EMP_T"
"EST"'');',next_date=>to_date('2001-05-22:15:50:43','YYYY-MM-DD:HH24:MI:SS')"
",interval=>'sysdate+(1/24/60/60) ',no_parse=>TRUE); END;"
"BEGIN null; END;"
"BEGIN dbms_refresh.make('"BOSS"."EMP_TEST"',list=>null,next_date=>null,in"
"terval=>null,implicit_destroy=>TRUE,lax=>FALSE,job=>5,rollback_seg=>NULL,pu"
"sh_deferred_rpc=>TRUE,refresh_after_errors=>FALSE,purge_option => 1,paralle"
"lism => 0,heap_size => 0); END;"
"ALTER TABLE "DEPT" ENABLE CONSTRAINT "DEPT_DEPTNO_PK""
"ALTER TABLE "EMP_TEST" ENABLE CONSTRAINT "EMP_EMPNO_PK1""
"ALTER TABLE "LLL" ENABLE CONSTRAINT "LLL_AA_PK""
"ALTER TABLE "PPP" ENABLE CONSTRAINT "AAA_ABCD_PK""
"ALTER TABLE "EMP1" ENABLE CONSTRAINT "EMP1_DEPTNO_FK""
"ALTER TABLE "FFF1" ENABLE CONSTRAINT "FFF_AB_FK""
Import terminated successfully without warnings.
CKCHOI:/home13/rctest8i/server/ckchoi>
###########################################################################
reference to

|