当前位置:网站首页>[no steps in a small step to a thousand miles] Oracle Application derivative ora-01455 error reporting processing
[no steps in a small step to a thousand miles] Oracle Application derivative ora-01455 error reporting processing
2022-04-23 06:58:00 【Sebastien23】
【 Every step is worth a thousand miles 】Oracle Applied derivative Ora-01455 Error handling
The problem background
Application in use exp Tools from Oracle The following error messages are received when exporting data from :
EXP-00008: ORACLE error 1455 encountered
ORA-01455: converting column overflows integer datatype
Problem analysis
stay Oracle Search the official website and get the following information :
Symptoms:
An ORA-1455 error is raised while attempting to export a table that uses more than 2^32 database blocks of space within the source database via the classic export utility (exp).
Cause:
Numeric overflow for an OCI variable associated to the exp utility used when the SYS.EXU9STO table contents are referenced from within the OCI code. The issue is investigated in bug 15985925 EXP: ORA-01455: CONVERTING COLUMN OVERFLOWS INTEGER DATATYPE.
Solution:
The workaround is to use the DataPump export utility (expdp) to export those tables that exceed 2^32 database blocks of space.
Simply speaking , There is a large table with more data than 2 32 2^{32} 232 Data blocks , In the use of exp The derivative of the tool will report ORA-1455 error . The solution is to use the latest official derivative tool expdp.
Treatment method
Let the app use expdp Instrumental derivative . And exp The difference is , In the use of expdp You need to create a directory object first (Directory), And the exported data must be stored in the operating system directory corresponding to the directory object .
To create local dump Catalog
mkdir -p /app/dump
chown -R scott:scott /app/dump
setfacl -R -m u:oracle:rwx /app/dump
setfacl -R -d -m u:oracle:rwx /app/dump
Create directory objects
-- create directory directory_name as 'directory_os_path';
create directory DMP_DIR as '/app/dump';
Grant user rights
-- grant read,write on directory directory_name to username;
grant read,write on directory DMP_DIR to SCOTT;
Check user permissions
set linesize 120
col grantor format a12
col grantee format a12
col table_schema format a16
col table_name format a16
col privilege format a16
select * from all_tab_privs where table_name='DMP_DIR';
Derived data
# expdp username/password DIRECTORY=directory_name DUMPFILE=file_name TABLES=table_name
expdp SCOTT/password DIRECTORY=DMP_DIR DUMPFILE=dump01.dmp TABLES=productinfo
版权声明
本文为[Sebastien23]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230557416317.html
边栏推荐
- JS implementation of web page rotation map
- MySQL【ACID+隔离级别+ redo log + undo log】
- [Lombok quick start]
- redis 常见问题
- The time format is incorrect, and an error is reported when running the SQL file
- AttributeError: ‘dict‘ object has no attribute ‘iteritems‘
- 【代码解析(6)】Communication-Efficient Learning of Deep Networks from Decentralized Data
- 【Shell脚本练习】将新加的磁盘批量添加到指定的VG中
- The arithmetic square root of X in leetcode
- MySQL server standalone deployment manual
猜你喜欢
随机推荐
Offset et client pour obtenir des informations sur l'emplacement des éléments Dom
Typescript (top)
ES入门学习笔记
LeetCode刷题|13罗马数字转整数
Baidu map coordinates, Google coordinates and Tencent coordinates are mutually transformed
【代码解析(4)】Communication-Efficient Learning of Deep Networks from Decentralized Data
Each traversal usage of tp6
[ES6 quick start]
【Lombok快速入门】
页面缓存问题解决方法(慎用)
阅读笔记:Secure Federated Matrix Factorization
JS performance optimization
openvswitch 编译安装
【不积跬步无以至千里】MySQL报大量unauthenticated user连接错误
Ansible基本命令、角色、内置变量与tests判断
SQL学习|集合运算
PHP 无限极分类和树形
rdma 编程详解
leetcode刷题之x的算术平方根
Usage of if conditional statements in SQL