Solved

dbms_redefinition error

Posted on 2007-03-20
1
901 Views
Last Modified: 2013-12-19
Getting this error when trying to use dbms_redefinition package.

SQL> execute dbms_redefinition.start_redef_table('CSUH_custom', 'aa_temp3', 'aa_temp3_staging');

BEGIN dbms_redefinition.start_redef_table('CSUH_custom', 'aa_temp3', 'aa_temp3_staging'); END;

 

*

ERROR at line 1:

ORA-12008: error in materialized view refresh path

ORA-01632: max # extents (4096) reached in index

CSUH_CUSTOM.ACTIVITY_ACCUMULATOR_PK_NEW

ORA-06512: at "SYS.DBMS_REDEFINITION", line 8

ORA-06512: at "SYS.DBMS_REDEFINITION", line 146

ORA-06512: at line 1

 What steps should i take now?
0
Comment
Question by:xoxomos
1 Comment
 
LVL 7

Accepted Solution

by:
Fayyaz earned 250 total points
ID: 18762369
First you have to stop the redefinition process using
dbms_redefinition.finish_redef_table or
dbms_redefinition.abort_redef_table
Then you have to correct the error of max extents in your index CSUH_CUSTOM.ACTIVITY_ACCUMULATOR_PK_NEW
Increase the max extents using ALTER INDEX .... STORAGE command to a reasonable value and start the redefinition process again
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question