Solved

ORA-01653 Table space error

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
Via a live example, show how to take different types of Oracle backups using RMAN.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

615 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