Solved

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

Posted on 2009-07-11
4
864 Views
Last Modified: 2012-05-07
I am getting error message, does it mean the there is no room on the server or error with the sql?
CREATE TABLE PACKLIST

  ( PACKLIST_NO NUMBER(25,0) NOT NULL    

  , DRAWING VARCHAR2(30) 

  , REVISION_LEVEL VARCHAR2(5)

  , CUSTOMER_NO NUMBER(8,0) NOT NULL    

  , CUSTOMER_PART_NO VARCHAR2(20)

  , SCHEDULED_SHIP_DATE DATE

  , ORIGINAL_SHIP_DATE DATE 

  , ACTUAL_SHIPPED_DATE DATE

  , ORDER_ACK_DATE DATE

  , UNITS NUMBER(20,0)

  , PRICE_PER_UNIT NUMBER(20,2)

  , GROUP_BY VARCHAR2(30)

  , QUANTITY_SHIPPED NUMBER(20,0)

  , CUSTOMER_SHIP_ID NUMBER(8,0) NOT NULL  

  , SATISFIED CHAR(1)

  , CONSTRAINT SATISFY_YN CHECK(SATISFIED IN ('Y', 'N'))

  , CONSTRAINT PACKLIST_PK PRIMARY KEY(PACKLIST_NO)

  , CONSTRAINT CUSTOMER_SHIP_ID_FK FOREIGN KEY(CUSTOMER_SHIP_ID)  

    REFERENCES SHIPPING(CUSTOMER_SHIP_ID));

Open in new window

0
Comment
Question by:ba_trainer
  • 2
4 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 24832667
it means you have no room in the oracle tablespace (users).
all files arrived at either their max size, or are not autogrowth enabled.
or, the disk all the datafiles are on is full indeed.

there is no error with the statement itself.
0
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 500 total points
ID: 24832671
Your USERS tablespace is full. Either extend it or add datafiles, or create PACKLIST in a different tablespace.

We usually don't create much in USERS anyway, it is usually for small experiments, user specific tables, etc.

You could do this, but it requires DBA privs:

alter table users add datafile '/ora/oradata/ORA1/users02.dbf' size 100m;


Or you could change the create statement to put in another tablespace (DATA) for example:

create table packlist (
 ...
) tablespace data;


What are your tablespaces?
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24832727
Hi, actually angelIII made a good point. You may also want to add autoextend to your tablespaces.
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

Suggested Solutions

Title # Comments Views Activity
grouping on time windows 6 43
Query Records that don't match 8 34
the whoisactive update 12 39
PL/SQL Display based on value 4 19
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

910 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

24 Experts available now in Live!

Get 1:1 Help Now