oracle exp/impÃüÁîÏê½â
E:\>exp help=y
ͨ¹ýÊäÈë EXP ÃüÁîºÍÓû§Ãû/¿ÚÁÄú¿ÉÒÔ
ÔÚÓû§ / ¿ÚÁîÖ®ºóµÄÃüÁî:
ʵÀý: EXP SCOTT/TIGER
»òÕߣ¬ÄúÒ²¿ÉÒÔͨ¹ýÊäÈë¸úÓи÷ÖÖ²ÎÊýµÄ EXP ÃüÁîÀ´¿ØÖÆ“µ¼³ö”µÄÔËÐз½Ê½¡£
ÒªÖ¸¶¨²ÎÊý£¬Äú¿ÉÒÔʹÓùؼü×Ö:
¸ñʽ: EXP KEYWORD=value »ò KEYWORD=(value1,value2,...,valueN)
ʵÀý: EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
»ò TABLES=(T1: P1,T1: P2)£¬Èç¹û T1 ÊÇ·ÖÇø±í
USERID ±ØÐëÊÇÃüÁîÐÐÖеĵÚÒ»¸ö²ÎÊý¡£
¹Ø¼ü×Ö ËµÃ÷£¨Ä¬ÈÏ£©
---------------------------------------------------
USERID Óû§Ãû/¿ÚÁî
FULL µ¼³öÕû¸öÎļþ (N)
BUFFER Êý¾Ý»º³åÇøµÄ´óС
OWNER ËùÓÐÕßÓû§ÃûÁбí
FILE Êä³öÎļþ (EXPDAT.DMP)
TABLES ±íÃûÁбí
COMPRESS µ¼ÈëÒ»¸ö·¶Î§ (Y)
RECORDLENGTH IO ¼Ç¼µÄ³¤¶È
GRANTS µ¼³öȨÏÞ (Y)
INCTYPE ÔöÁ¿µ¼³öÀàÐÍ
INDEXES µ¼³öË÷Òý (Y)
RECORD ¸ú×ÙÔöÁ¿µ¼³ö (Y)
ROWS µ¼³öÊý¾ÝÐÐ (Y)
PARFILE ²ÎÊýÎļþÃû
CONSTRAINTS µ¼³öÏÞÖÆ (Y)
CONSISTENT ½»²æ±íÒ»ÖÂÐÔ
LOG ÆÁÄ»Êä³öµÄÈÕÖ¾Îļþ
STATISTICS ·ÖÎö¶ÔÏó (ESTIMATE)
DIRECT Ö±½Ó·¾¶ (N)
TRIGGERS µ¼³ö´¥·¢Æ÷ (Y)
FEEDBACK ÏÔʾÿ x ÐÐ (0) µÄ½ø¶È
FILESIZE ¸÷ת´¢ÎļþµÄ×î´ó³ß´ç
QUERY Ñ¡¶¨µ¼³ö±í×Ó¼¯µÄ×Ó¾ä
ÏÂÁйؼü×Ö½öÓÃÓÚ¿É´«ÊäµÄ±í¿Õ¼ä
TRANSPORT_TABLESPACE µ¼³ö¿É´«ÊäµÄ±í¿Õ¼äÔªÊý¾Ý (N)
TABLESPACES ½«´«ÊäµÄ±í¿Õ¼äÁбí
E:\>imp help=y
¿ÉÒÔͨ¹ýÊäÈë IMP ÃüÁîºÍÄúµÄÓû§Ãû/¿ÚÁî
¸úÓÐÄúµÄÓû§Ãû / ¿ÚÁîµÄÃüÁî:
ʵÀý: IMP SCOTT/TIGER
»òÕß, ¿ÉÒÔͨ¹ýÊäÈë IMP ÃüÁîºÍ¸÷ÖÖ×Ô±äÁ¿À´¿ØÖÆ“µ¼Èë”°´ÕÕ²»Í¬²ÎÊý¡£
ÒªÖ¸¶¨²ÎÊý£¬Äú¿ÉÒÔʹÓùؼü×Ö:
¸ñʽ: IMP KEYWORD=value »ò KEYWORD=(value1,value2,...,vlaueN)
ʵÀý: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
»ò TABLES=(T1: P1,T1: P2)£¬Èç¹û T1 ÊÇ·ÖÇø±í
USERID ±ØÐëÊÇÃüÁîÐÐÖеĵÚÒ»¸ö²ÎÊý¡£
¹Ø¼ü×Ö ËµÃ÷£¨Ä¬ÈÏ£©
----------------------------------------------
USERID Óû§Ãû/¿ÚÁî
FULL µ¼ÈëÕû¸öÎļþ (N)
BUFFER Êý¾Ý»º³åÇø´óС
fromUSER ËùÓÐÈËÓû§ÃûÁбí
FILE ÊäÈëÎļþ (EXPDAT.DMP)
TOUSER Óû§ÃûÁбí
SHOW Ö»ÁгöÎļþÄÚÈÝ (N)
TABLES ±íÃûÁбí
IGNORE ºöÂÔ´´½¨´íÎó (N)
RECORDLENGTH IO ¼Ç¼µÄ³¤¶È
GRANTS µ¼ÈëȨÏÞ (Y)
INCTYPE ÔöÁ¿µ¼ÈëÀàÐÍ
INDEXES µ¼ÈëË÷Òý (Y)
COMMIT Ìá½»Êý×é²
Ïà¹ØÎĵµ£º
ËäȻѧϰJavaºÜ¾ÃÁË£¬×Ô¼ºÒ²Á¬½Ó¹ýһЩÊý¾Ý¿â£¬±ÈÈçmysqlÖ®ÀàµÄ£¬Èç½ñÄØ£¬Ò²Ñ§Ï°ÁËÒ»¶Îʱ¼äµÄOracle£¬È»¶øÄØ£¬½ñÌìÊÇÎÒµÚÒ»´ÎÁ¬½ÓOracle£¬ºÙºÙ£¬Ó¦¸Ã»¹²»ËãÌ«³Ù°É¡£
½ñÌìÄØ£¬Óе㱿׾£¬´ó¼ÒĪЦ£¡
ÎÒÕâÊÇÒ»¸ö²éѯÀý×Ó
Ê×ÏÈ£¬Ô ......
ѧϰOracle DBAÒ²°ë¸ö¶àѧÆÚÁË£¬½ñÌìÃÍÈ»²Å·¢ÏÖ£¬ÔÀ´ÎÒµÄÊ黹ÊǺÜеģ¬ÉϿβÙ×÷ʱºòÒ²Ö»ÊÇÖªµÀ´ó¸ÅÔõô×ö£¬µ«ÊÇÒªÕæµÄÈ«²¿×Ô¼º×ö£¬¶ø²»È¥·Ê黹ÊÇÓÐÒ»¶¨µÄÄѶȵģ¬ËùÒÔÄØ£¬½ñÌ쿪ʼ½«DBA´ÓÍ·¸´Ï°Ò»±é£¬Í¬Ê±ÔÙ²Ù×÷Ò»±é¡£
µÚÒ»Õ£¬Ñ§µÄÊÇOracleµÄÌåϵ½á¹¹£ ......
½«±í¿Õ¼äºÍÊý¾ÝÎļþ´ÓÒ»¸öλÖÃÒƶ¯µ½ÁíÒ»¸öλÖõIJÙ×÷·½·¨
Ò»£® OFFLINE
OFFLINE ·ÖΪALTER DATABASE Óë ALTER TABLESPACE OFFLINE£¬
ËûÃǵÄÇø±ð²Î¿´blog£ºhttp://blog.csdn.net/tianlesoftware/archive/2009/11/29/4898800.aspx
°´Êý¾ÝÎļþÀ´£º
1.ÏȽ«ÏàÓ¦µÄÊý¾ÝÎļþ offline
ALTER DATABASE DATAFILE 'D:\OR ......
ÔÚµ¼ÍêÊý¾ÝÖ®ºó·¢ÏÖ oracleµÄ°²×°ÅÌÖ»Óм¸MµÄ¿Õ¼äÁË¡£
ÏÖÔÚÓÐÁ½¸ö·½°¸¿ÉÒÔÑ¡Ôñ
1.°ÑÊý¾ÝÎļþתÒƵ½ÁíÍâÒ»¸öÅÌÈ¥¡£
ÎÒµ¼Êý¾ÝµÄʱºòÊÇÕâÑù×öµÄ 1.н¨Ò»¸ö±í¿Õ¼ä£¬Îª±í¿Õ¼äÌí¼ÓÒ»¸öÊý¾ÝÎļþ£¨assure_dt£©¡£2.н¨Óû§£¬±í¿Õ¼äÖ¸Ïò²½Öè1н¨µÄ±í¿Õ¼ä¡£
È»ºóµ¼Èë¡£ÎÒÓõÄÊÇoracle 10g
ÎÊÌâ1.ΪʲôÎÒÌí¼ÓµÄÊý¾ÝÎļþas ......