Solved

ORA-01653 Table space error

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example, show how to take different types of Oracle backups using RMAN.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

820 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