Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ORA-01555 snapshot too old while creating index

orclrunnerApr 17 2017 — edited Apr 18 2017

11gR2

I have a hash partitioned table with about 3 billion rows. I'm trying to create a local index.

This is archived data which is no longer used by the application. We want to create an index before we start deleting the older archived data so the process goes faster.

I'm not surprised there is data missing in the undo tablespace, but is there a work around for this issue?

ORA-01555 caused by SQL statement below (SQL ID: 3bnqhw22dvmtv, SCN: 0x0008.339eb56f):

CREATE INDEX A_RECORDS_ARC_idx ON A_RECORDS_ARC(a_rec_id) LOCAL

   STORE IN (a_rec_arc)

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2017
Added on Apr 17 2017
6 comments
2,026 views