0

I have a Tablespace with some tables and I can insert data without problem. Now I want to create a new table and I get this:

  1. 00000 - "unable to create INITIAL extent for segment in tablespace %s" *Cause: Failed to find sufficient contiguous space to allocate INITIAL extent for segment being created.

My question is: if there is a space problem, why am I able to insert data but not create new tables?

This is the CREATE script:

CREATE TABLE EC_SYS_NOTIFY_KYC (
  ID NUMBER(38,0) PRIMARY KEY,  
  ID_OP NUMBER(38,0),
  PROCESS_ID VARCHAR2(50) NOT NULL,   
  SYSTEM_ID VARCHAR2(50) NOT NULL)
TABLESPACE ECONTKYC_LARGE_1;
erikrunia
  • 2,371
  • 1
  • 15
  • 22

1 Answers1

0

Space in Oracle is allocated in chunks called 'extents'. Your existing tables have already been allocated extents containing enough space to allow inserts for now, but you don't have enough unallocated free space in the tablespace to add a whole new extent, which is needed for a new table.

Eventually inserts into existing tables will start to fail as well, when their existing space is used up and they need more.

William Robertson
  • 15,273
  • 4
  • 38
  • 44