Solved

ORA-01653 Table space error

Posted on 2008-06-22
5
1,048 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
  • 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now