Unix Technical Forum

unable to create INITIAL extent

This is a discussion on unable to create INITIAL extent within the Oracle Miscellaneous forums, part of the Oracle Database category; --> I've never seen this message before. My sql was creating a table. DBD::Oracle::st execute failed: ORA-01658: unable to create ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-07-2008, 10:47 PM
Michael Hill
 
Posts: n/a
Default unable to create INITIAL extent

I've never seen this message before. My sql was creating a table.

DBD::Oracle::st execute failed: ORA-01658: unable to create INITIAL extent
for s
egment in tablespace CHG_AGENT_DATA (DBD ERROR: OCIStmtExecute) at blah,
blah, blah

Am I out of tablespace?

Mike


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2008, 10:47 PM
Frank van Bortel
 
Posts: n/a
Default Re: unable to create INITIAL extent

Michael Hill wrote:

> I've never seen this message before. My sql was creating a table.
>
> DBD::Oracle::st execute failed: ORA-01658: unable to create INITIAL extent
> for s
> egment in tablespace CHG_AGENT_DATA (DBD ERROR: OCIStmtExecute) at blah,
> blah, blah
>
> Am I out of tablespace?
>
> Mike
>
>


No, you initial extent is bigger than what you can handle.
So, well, actually - you are out of tablespace! The point is,
you probably have "enough" tablespace left; you're just trying
to allocate a huge chunk. Probably no need for it.

Versions of Oracle might help. This message used to be quite common
in the pre 9i days, with dictionary managed tablespaces, and an export
with import, using default parameters (compress=Y, which is a no-no!)

State the initial extent clause on your create table statement,
and check what your tablespace has got as initial - as you have
found out, even empty tables use a *lot* of space.

And change to locally managed tablespaces with reasonable storage
parameters (where reasonable would be something along the line of
"your largest object should not have thousands of extents"), and
stop worrying about extents.

--

Regards,
Frank van Bortel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2008, 10:47 PM
Mark D Powell
 
Posts: n/a
Default Re: unable to create INITIAL extent

"Michael Hill" <hillmw@charter.net> wrote in message news:<10p1pavm42chk36@corp.supernews.com>...
> I've never seen this message before. My sql was creating a table.
>
> DBD::Oracle::st execute failed: ORA-01658: unable to create INITIAL extent
> for s
> egment in tablespace CHG_AGENT_DATA (DBD ERROR: OCIStmtExecute) at blah,
> blah, blah
>
> Am I out of tablespace?
>
> Mike


Mike, you might be out of tablespace, but you could also just be
requesting a huge initial extent that is larger than any free extent
in the target tablespace.

You can query dba_free_space to see how much and in what size chunks
free space exists for a tablespace.

If the target database is version 8.l or higher locally managed
tablespaces with uniform extents are a wonderful thing for managing
(predicting) tablespace growth and eliminating the free space
fragmentation problem of dictionary managed tablespaces.

HTH -- Mark D Powell --
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-07-2008, 10:49 PM
DA Morgan
 
Posts: n/a
Default Re: unable to create INITIAL extent

Michael Hill wrote:

> I've never seen this message before. My sql was creating a table.
>
> DBD::Oracle::st execute failed: ORA-01658: unable to create INITIAL extent
> for s
> egment in tablespace CHG_AGENT_DATA (DBD ERROR: OCIStmtExecute) at blah,
> blah, blah
>
> Am I out of tablespace?
>
> Mike


1. Version?
2. Operating system?
3. Available space in tablespace?
4. Available space on physical disk?

--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com