Solved

how to solve  ORA-01658 error ?

Posted on 2003-11-04
3
6,698 Views
Last Modified: 2012-06-21
how 2 find the solution for this error , while creating a table ?

ORA-01658: unable to create INITIAL extent for segment in tablespace ABFXM


ukmca.
0
Comment
Question by:ukmca
[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
3 Comments
 
LVL 3

Accepted Solution

by:
patelgokul earned 20 total points
ID: 9677304
ORA-01658: unable to create INITIAL extent for segment in tablespace name
Cause: Failed to find sufficient contiguous space to allocate INITIAL extent for segment being created.

Action: Use ALTER TABLESPACE ADD DATAFILE to add additional space to the tablespace or retry with a smaller value for INITIAL.

0
 
LVL 6

Expert Comment

by:chedgey
ID: 9677388
If your tablespace is heavily fragmented then a short-term fix would be to create the table with a smaller INITIAL extent value.

To give an indication of your fragmentation you can run::

Set LINESIZE 132
Set PAGESIZE 100
Column KBytesFree Format 999,999,990.00
Column KBytesLargest Format 999,999,990.00
Column KBytesSmallest Format 999,999,990.00
Column NoOfSegments Format 999,999,990
Select TABLESPACE_NAME
       ,Sum(Bytes)/1024 KBytesFree
       ,Max(Bytes)/1024 KBytesLargest
       ,Min(Bytes)/1024 KBytesSmallest
       ,Count(*) NoOfSegments
  From DBA_FREE_SPACE
Group By TABLESPACE_NAME

In the long term you should address fragmentation issues by re-assessing your storage and defragmenting the tablespace(s).

Regards

Chedgey
0
 

Expert Comment

by:spd800
ID: 9908433
I am getting the following ;

Connected to: Personal Oracle8i Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production

Export file created by EXPORT:V08.01.06 via conventional path

Warning: the objects were exported by CORE4012, not by you

import done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set
export server uses US7ASCII NCHAR character set (possible ncharset conversion)
. importing CORE4012's objects into REPOS_MANAGER
IMP-00017: following statement failed with ORACLE error 1658:
 "CREATE TABLE "CK_INSTALLED_OBJECTS" ("CI_STAGE" VARCHAR2(20) NOT NULL ENABL"
 "E, "CI_TYPE" VARCHAR2(13) NOT NULL ENABLE, "CI_NAME" VARCHAR2(128) NOT NULL"
 " ENABLE, "CI_CREATED" VARCHAR2(1) NOT NULL ENABLE, "CI_NO_OF_ROWS" NUMBER, "
 ""CI_DIR" VARCHAR2(10), "CI_FILENAME" VARCHAR2(12), "CI_COMMENT" VARCHAR2(10"
 "0), "CI_PIN_FLAG" VARCHAR2(1), "CI_OWNER" VARCHAR2(40), "CI_INITIAL" VARCHA"
 "R2(6), "CI_NEXT" VARCHAR2(6), "CI_PCTINCREASE" VARCHAR2(2), "CI_TABLESPACE""
 " VARCHAR2(20), "CI_TABLE_IRID" NUMBER)  PCTFREE 10 PCTUSED 40 INITRANS 1 MA"
 "XTRANS 255 LOGGING STORAGE(INITIAL 1048576 NEXT 16384 MINEXTENTS 1 MAXEXTEN"
 "TS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAU"
 "LT)                             "
IMP-00003: ORACLE error 1658 encountered
ORA-01658: unable to create INITIAL extent for segment in tablespace TBS_RGTAB
. . importing table          "CK_PRODUCT_ELEMENTS"        545 rows imported
Import terminated successfully with warnings.


any help?
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

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