Question about how to export blob and clob fields in a later version of the database from the Oracle9i client exp

Source: Internet
Author: User

Title: question about how to export blob and clob fields in a later version of the database from the Oracle9i client exp

Body:

Use the client exp command of Oracle9i (Version: 9.2.0.1.0) to export the Oracle10g Database. If the table contains blob or clob fields, the following error is returned:

---------

EXP-00003: storage definitions for segments (13,115) not found

---------

The table cannot be exported successfully.

After searching for materials and testing, it is found that a problem may be caused by version differences.

The problem can be corrected through the following operations:

1. Modify the catexp. SQL file of the Oracle client.

The catexp. SQL file is installed on the Oracle client in the path ../ora92/rdbms/admin.

Back up the catexp. SQL file before modification.

Open the catexp. SQL file and find the view "exu9tne ".

Then, the statement "Union all select * From SYS. exu9tneb" is added to the last row defined by the view exu9tne.

The format is as follows:

---------

Create or replace view exu9tne (

Tsno, fileno, blockno, length)

Select ts #, segfile #, segblock #, Length

From SYS. uet $

Where ext # = 1

Union all

Select * From SYS. exu9tneb

/

---------

2. Run the script with the sys account:

 

----------

Create or replace view exu9tne (

Tsno, fileno, blockno, length)

Select ts #, segfile #, segblock #, Length

From SYS. uet $

Where ext # = 1

Union all

Select * From SYS. exu9tneb
/

Grant select on SYS. exu9tne to public;

----------

 

After the above operations, you can use the exp command on the Oracle9i client to successfully export tables containing blob or clob fields in the Oracle10g Database.

 

By jrq

2009/02/20

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.