expdp导出遇到ORA-39064: 无法写入日志文件
来源:互联网 发布:自由游戏程序员 编辑:程序博客网 时间:2024/06/10 08:53
expdp导出遇到ORA-39064: 无法写入日志文件
. . 导出了 "USER_XXXX"."TAB_YYYY" 0 KB 0 行ORA-39064: 无法写入日志文件ORA-29285: 文件写入错误
经过搜索mos,有如下的文章给出了解决方案:
Error ORA-39064 Might Be Encountered By DataPump Export (EXPDP) When NLS_LANG Is Different From Database Character Set (Doc ID 1321034.1)
在该方案中给出的解决方案是:Please set the character set in environment variable NLS_LANG to database character set.
以下全文转载该mos文章,不做翻译:
Applies to:
Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 15-Apr-2013***
Symptoms
In a multi-byte character set environment, if the client variable NLS_LANG is set to a character set which is different from database the character set, then DataPump export may encounter errors like:
ORA-29285: file write error
The Utilities manual specifies:
"Note: Data Pump Export writes the log file using the database character set. If your client NLS_LANG environment setting sets up a different client character set from the database character set, then it is possible that table names may be different in the log file than they are when displayed on the client output screen."
Cause
This was investigated in Bug 6136923 (closed as 'Not a Bug') with reference to unpublihsed documentation bug 3174256.
DataPump internally uses the package UTL_FILE and this does not correctly return the characters during NLS conversion.
Solution
Please set the character set in environment variable NLS_LANG to database character set.
The following information was added to manual:
Oracle Database PL/SQL Packages and Types Reference
Using UTL_FILE:
"When data encoded in one character set is read and Globalization Support is told (such as by means of NLS_LANG) that it is encoded in another character set, the result is indeterminate. If NLS_LANG is set, it should be the same as the database character set."
- expdp导出遇到ORA-39064: 无法写入日志文件
- 用expdp导出时遇到ORA-12170报错处理
- ace日志无法写入文件
- 使用 ASM 存储 expdp 导出文件(ORA-39070)
- ora-09817 无法写入审计文件
- ORA-09817: 无法写入审计文件。
- EXPDP导出ORA-39127错误
- expdp 导出schema ora-39095
- expdp时遇到ORA-31693&ORA-00922
- expdp导出时报错,ORA-12154 TNS: 无法解析指定的连接标识符
- EXPDP导出数据时报错ORA-12154
- expdp时遇到ORA-31693&ORA-02354&ORA-01466
- impdp/expdp导入导出出现ORA-39006 ORA-39213错误
- expdp导出报错ORA-39002、ORA-39070解决办法
- expdp导出报错ORA-31693&ORA-39826
- expdp 导出 ORA-31638 ORA-25448 错误处理
- expdp query导出报错 ORA-29913 ORA-01722
- expdp导出报错ORA-39002、ORA-39070解决办法
- hihoCoder 1049 : 后序遍历
- LeetCode 202:Happy Number
- [1]Cocos2d-x之建立项目
- iOS UIButton的第四种状态(选中高亮)
- kindle资源网址
- expdp导出遇到ORA-39064: 无法写入日志文件
- android布局的id和+id的区别
- 对于理解操作系统的产生有帮助的文章
- Surrounded Regions BFS遍历
- java.lang.UnsatisfiedLinkError(tomcat启动报错)
- 用皮亚诺公里做了一个C++模板元编程语言
- [leetcode][string] ZigZag Conversion
- Palindrome Partitioning DFS
- C语言提高之——指针表达式