Solved

dbms_redefinition error

Posted on 2007-03-20
1
907 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ER Diagram 3 52
Shared Service Environment 2 54
Performance Issue in Oracle 3 46
Dbms_job.change procedure 16 37
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…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to recover a database from a user managed backup

739 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