search
HomeDatabaseMysql TutorialOracle 11.2.0.1 RAC使用exp遭遇ORA-01455错误解决办法

Oracle 11.2.0.1 RAC使用exp遭遇ORA-01455错误解决办法

1.环境描述

OS:Linux RedHat5.5

Oracle version:Oracle RAC 11.2.0.1

2.问题描述

使用exp导出数据库中多个用户数据,语句为exp buffer=4096000 file=exp.dmp wner=user1,user2….

当导出至最后结尾出时报出ORA-1455: converting column overflows integer datatype 错误。

3.解决步骤

遇到这个问题后,经过百度、google、以及metalink查找,共得到以下几种办法,但均为解决(可能情况不同,遇到这个错误的朋友可以尝试一下几种解决办法)

1:在exp命令中加上index=n命令可解决此错误。

2:metalink中 note [ID 1083330.1]中写出的解决办法如下:


Solution

On 11.2, by default deferred segment creation future is turned on. When a table created with locally managed tablespace then its property value is very big. If we insert any row in the table then it's segment gets created and property value updated to 536870912. Supported workarounds for this problem are:

1. If a table is created in this manner it is required to contain data even if the data is then deleted afterwards.

Or:

2. Initially create the table with SEGMENT CREATION IMMEDIATE option, or set the parameter:

 

alter system set deferred_segment_creation=false;


and create the table afterwards in a new session.
 

把一个deferred_segment_creation

默认为TRUE的参数修改为false。

以上两种方式我均尝试过,,宣告失败,但是经过其他测试发现有另外两种办法解决,外加一个特定案例,不清楚是否是解决办法

1.经过同事高手指点,由于我的数据库中存在一个物化视图,如果将此物化视图删除,可成功解决,另,非常奇怪的是物化视图还不能是利用pl/sql等工具删除,一定要通过drop命令删除此物化视图才可以解决。我是如此解决,但不清楚是否是通用问题。

 

2.放弃exp/imp,而使用数据泵EXPDP方式导出,亦可解决此问题。

3.大招!可通过升级到Oracle 11.2.0.3版本得到解决。

linux

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How do you alter a table in MySQL using the ALTER TABLE statement?How do you alter a table in MySQL using the ALTER TABLE statement?Mar 19, 2025 pm 03:51 PM

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

How do I configure SSL/TLS encryption for MySQL connections?How do I configure SSL/TLS encryption for MySQL connections?Mar 18, 2025 pm 12:01 PM

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

How do you handle large datasets in MySQL?How do you handle large datasets in MySQL?Mar 21, 2025 pm 12:15 PM

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?Mar 21, 2025 pm 06:28 PM

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

How do you drop a table in MySQL using the DROP TABLE statement?How do you drop a table in MySQL using the DROP TABLE statement?Mar 19, 2025 pm 03:52 PM

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

How do you create indexes on JSON columns?How do you create indexes on JSON columns?Mar 21, 2025 pm 12:13 PM

The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

How do you represent relationships using foreign keys?How do you represent relationships using foreign keys?Mar 19, 2025 pm 03:48 PM

Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

How do I secure MySQL against common vulnerabilities (SQL injection, brute-force attacks)?How do I secure MySQL against common vulnerabilities (SQL injection, brute-force attacks)?Mar 18, 2025 pm 12:00 PM

Article discusses securing MySQL against SQL injection and brute-force attacks using prepared statements, input validation, and strong password policies.(159 characters)

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft