Solved

ORA-01653 Table space error

Posted on 2008-06-22
5
1,060 Views
Last Modified: 2013-12-07
Im running an exe which calls an oracle procedure. For recoveribility testing, I ran the exe when table space was full and it returned error. The table space was made free and the exe was executed again, but it is now showing the error ,
ORA-01653: unable to extend table USER1.TABLE1 by 8 in tablespace TABLESPACE1

TABLE 1 is a table which gets inserted and updated in the above said procedure.

Can anybody help me on this ?
0
Comment
Question by:praveen_r_13
[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
  • 2
  • 2
5 Comments
 
LVL 11

Expert Comment

by:mohammadzahid
ID: 21844121
what version of Oracle are you using?

You may want to:

- add another data file
- manually deallocate extends (deallocate space not used)
- run coalesce on a tablespace to elimiate tablespace fragmentation.

goto this site on example/syntax.

http://www.psoug.org/reference/tablespaces.html

0
 

Author Comment

by:praveen_r_13
ID: 21844187
Oracle version is 10g and i want to know why this error is only shown for TABLE1. So many other tables are also getting inserted and updated from that procedure .
0
 
LVL 11

Expert Comment

by:mohammadzahid
ID: 21848426
You need to check minextents and maxextents parameter of your table where error is occuring on. Maybe you are hitting maxextents for the segment.

SELECT * FROM dba_tables
WHERE table_name = 'TABLE1';
0
 
LVL 17

Expert Comment

by:ram_0218
ID: 21848614
what exactly the procedure is doing? can you paste the code snippet here?

i agree with second post, ultimately you've got to do one of those to sort it out. if thats something outta your control, may be you can post your code here and we can see if we can be of any help.
0
 

Accepted Solution

by:
praveen_r_13 earned 0 total points
ID: 21923028
The problem was with oracle itslef.
Consider the following scenario.
Table space is full and we are droping one table of size 4 MB. Then if we try to bulk insert 4MB, then oracle will not throw the error "unable to extend table USER1.TABLE1 by 8 in tablespace TABLESPACE1".
But inserting data in small chunks worked.

Anyways, I added one more datat file and the problem was solved.



0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

710 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