ORA-01652 Unable to extend temp segment by 64 in tablespace TEMP


I am using Import / Export Wizard in SQL SERVER 2000.
When copying tables into SQL SERVER from Oracle database I receive the following error:

ORA-01652 Unable to extend temp segment by 64 in tablespace TEMP

What does this mean from the ORACLE side.

Thank you,
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ORA-01652: unable to extend temp segment by string in tablespace string
Cause: Failed to allocate an extent for temporary segment in tablespace.
Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrockAuthor Commented:
Hi I am not familiar at all with Oracle.  Thanks, Lucy
Oracle documentation says:
"When processing queries, Oracle often requires temporary workspace for intermediate
stages of SQL statement parsing and execution. Oracle automatically allocates this disk
space called a temporary segment. Typically, Oracle requires a temporary segment as a
database area for sorting. Oracle does not create a segment if the sorting operation can
be done in memory."

Import/Export Wizard executes queries against Oracle database. One of these queries didn't fit into memory and Oracle wrote intermediate results to the disk, i.e. to a 'temporary segment'. The 'temporary segment' grew so much it didn't fit into TEMP tablespace. Your Oracle database run out of space for temporary data.
What can you do?
1. Retry. It could be because there were other queries that performed extensive sorting at the time you run Import/Export Wizard.
2. If retry didn't help, contact your DBA and ask to increase TEMP tablespace (or if you are your own DBA,  execute ALTER TABLESPACT TEMP ADD DATAFILE '<filename>' SIZE <filesize>;).
BrockAuthor Commented:
Thank you JaceMycha.

This is quite thorough. I am working remotely from the server.
I understand exactly what you are telling me to do.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.