ORA-01653 Table space error

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 ?
praveen_r_13Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
praveen_r_13Connect With a Mentor Author Commented:
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
 
mohammadzahidCommented:
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
 
praveen_r_13Author Commented:
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
 
mohammadzahidCommented:
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
 
ram_0218Commented:
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
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.

All Courses

From novice to tech pro — start learning today.