Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3870
  • Last Modified:

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

Hi:

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,
Lucy
0
Lucia
Asked:
Lucia
  • 2
1 Solution
 
meluhkCommented:
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.
0
 
LuciaAuthor Commented:
Hi I am not familiar at all with Oracle.  Thanks, Lucy
0
 
JacekMychaCommented:
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>;).
JacekMycha
0
 
LuciaAuthor 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.

Sincerely,
Lucy
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now