Q
Problem solve Get help with specific problems with your technologies, process and projects.

Temp segment not created in temp tablespace

I have a large table with a large index. Data is appended into it everyday using SQL*Loader via direct path. Data loading is fine, however, it always hits the ORA-1652 error and leaves the index unusable.

I have enough space in the TEMP tablespace, and it's also the temporary tablespace for the account. The ORA-1652 error said that it cannot extend a temp segment in my index tablespace.

I wonder why it creates temp segment in my index tablespace, but not in my temp tablespace.
When you create an index, or rebuild an index, the index is marked as a temporary segment in the beginning. Once the index has been created, or rebuilt, the temporary segment is changed into an index segment. You are getting this error because your index creation or rebuild does not have enough space in the tablespace you want to create the index in. It has nothing to do with temporary sorting space.

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close