Home » RDBMS Server » Server Administration » Error (Oracle 9i)
Error [message #474043] Thu, 02 September 2010 04:43 Go to next message
ajaykumarkona
Messages: 399
Registered: August 2010
Senior Member
Hi Experts,

While I am running some SQL query I am getting the following error

unable to extend table SB.CERTIFICATION_H by 16 in
tablespace DATA


What is the resolution for this please help me.
It is very very urgent for me.
Your earliest response will be very helpful to me.
Thanks
Re: Error [message #474044 is a reply to message #474043] Thu, 02 September 2010 04:48 Go to previous messageGo to next message
cookiemonster
Messages: 13923
Registered: September 2008
Location: Rainy Manchester
Senior Member
Increase the size of the DATA tablespace.
Re: Error [message #474045 is a reply to message #474044] Thu, 02 September 2010 05:03 Go to previous messageGo to next message
Michel Cadot
Messages: 68653
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
ALWAYS post the complete error message.

ORA-01653: "unable to extend table %s.%s by %s in tablespace %s"
 *Cause:  Failed to allocate an extent of the required number of blocks for
          a table segment in the tablespace indicated.
 *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
          files to the tablespace indicated.


The more complete is your question, the faster you get an appropriate answer.
So if it is very very urgent then post a very very complete question.
Read OraFAQ Forum Guide you will know how to do it, especially also concernng Oracle version.

Regards
Michel

[Updated on: Thu, 02 September 2010 05:05]

Report message to a moderator

Re: Error [message #474048 is a reply to message #474045] Thu, 02 September 2010 05:16 Go to previous messageGo to next message
ajaykumarkona
Messages: 399
Registered: August 2010
Senior Member
Thanks for your reply.
How can we find used and free space in DATA tablespace
Re: Error [message #474049 is a reply to message #474048] Thu, 02 September 2010 06:01 Go to previous messageGo to next message
Michel Cadot
Messages: 68653
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
DBA_FREE_SPACE
DBA_EXTENTS

Regards
Michel
Re: Error [message #474064 is a reply to message #474049] Thu, 02 September 2010 09:14 Go to previous messageGo to next message
ajaykumarkona
Messages: 399
Registered: August 2010
Senior Member
I want to find the used and free tablespace for DATA tablespace I have used the following query .
But I did,t get any output even DATA tablespace is there.

select TABLESPACE_NAME, BYTES_USED/1024, BYTES_FREE/1024 from V$TEMP_SPACE_HEADER
WHERE tablespace_name LIKE '%DATA%';

Please help me.
Re: Error [message #474067 is a reply to message #474064] Thu, 02 September 2010 09:22 Go to previous messageGo to next message
Michel Cadot
Messages: 68653
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Please use the views I mentioned + DBA_DATA_FILES depending on what you want exactly.
All catalog views are described in Database Reference

Regards
Michel
Re: Error [message #474068 is a reply to message #474064] Thu, 02 September 2010 09:22 Go to previous messageGo to next message
cookiemonster
Messages: 13923
Registered: September 2008
Location: Rainy Manchester
Senior Member
Unsurprising since that view is for temporary tablespaces.
Maybe you should try querying the views Michel told you to use.
Re: Error [message #474079 is a reply to message #474068] Thu, 02 September 2010 10:16 Go to previous messageGo to next message
ThomasG
Messages: 3211
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
Also, what's the point of looking if there is free space when Oracle already told you through the error that there isn't?
Re: Error [message #474110 is a reply to message #474079] Thu, 02 September 2010 12:30 Go to previous message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
I'm going to hazard a guess that the OP will see total free space as having enough, not aware that Oracle need contiguous free space to make a new extent, which in this case is probably 131072 bytes (with 8k blocksize).
Previous Topic: How to change db timezone parameter.
Next Topic: Finding constraints on tables
Goto Forum:
  


Current Time: Sun May 19 19:08:48 CDT 2024