Solved

dbms_redefinition error

Posted on 2007-03-20
1
895 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.

Join & Write a Comment

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now