Solved

how to solve  ORA-01658 error ?

Posted on 2003-11-04
3
6,676 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now