Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1047246
  • 博文数量: 74
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 2950
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-15 00:17
文章分类

全部博文(74)

文章存档

2009年(1)

2008年(73)

我的朋友

分类: 服务器与存储

2008-06-29 19:47:08

导出的步骤很简单,主要注意下面红色的问题:
 
1)xmlschema-base columes只能用老exp导出
2)字符集问题
 
参考
 
 
1)
SQL> create or replace directory expdir as '/dump';
SQL> GRANT read,write ON DIRECTORY expdir TO public;
# chown -R oracle:oinstall /dump
# chmod -R 755 /dump
expdp system/open1sys full=y DIRECTORY=expdir DUMPFILE=df1.dmp LOGFILE=lf1.log

if you have xmlschema-base columes
Cause: Object has XMLSchema-based columns, which are
unsupported by Data Pump.
Action: Use the original exp and imp utilities to move this
object.
 
exp system/open1sys full=y file=/dump/dfdirect.dmp direct=y
 
if EXP-00091: Exporting questionable statistics happened.
Export terminated successfully with warnings.

NLS_LANG=_.
SQL> select * from nls_database_parameters;
PARAMETER                      VALUE
------------------------------ ----------------------------------------
NLS_LANGUAGE                   AMERICAN
NLS_TERRITORY                  AMERICA
NLS_CURRENCY                   $
NLS_ISO_CURRENCY               AMERICA
NLS_NUMERIC_CHARACTERS         .,
NLS_CHARACTERSET               WE8ISO8859P1
NLS_CALENDAR                   GREGORIAN
NLS_DATE_FORMAT                DD-MON-RR
NLS_DATE_LANGUAGE              AMERICAN
NLS_SORT                       BINARY
NLS_TIME_FORMAT                HH.MI.SSXFF AM
PARAMETER                      VALUE
------------------------------ ----------------------------------------
NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY              $
NLS_COMP                       BINARY
NLS_LENGTH_SEMANTICS           BYTE
NLS_NCHAR_CONV_EXCP            FALSE
NLS_NCHAR_CHARACTERSET         AL16UTF16
NLS_RDBMS_VERSION              10.2.0.1.0
export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
阅读(1802) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~