ORA-01659: unable to allocate MINEXTENTS beyond 2 in tablespace

I am using Oracle 8i on SunOS 5. It is a datawarehousing system

 I got the following error while running an application
      alter table abc split partition PHMMAXVAL at (to_date('2008JAN', 'YYYYMON')) into
                  *
ERROR at line 1:
ORA-01659: unable to allocate MINEXTENTS beyond 2 in tablespace abc_DATA_128M

2008-02-07 02:19:02 Aborted at sp_myproc

What is the reason for this error and what is the remedy.

Please note that I cannot do any dba stuff like add datafiles or extend tablespace etc. Thanks.
gram77Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
>What is the reason for this error and what is the remedy.
eventually the tablespace(s) for the table partitions/indexes for this table are too small to accomodated the requested extents.

check the configuration of the table/partitions/indexes and the free (contineous) space of the tablespaces involved.
0
 
gram77Author Commented:
Free space in tablespace LTC_DATA_128M: 256 MB
    alter table abc split partition PHMMAXVAL at (to_date('2008JAN', 'YYYYMON')) into
                  *
ERROR at line 1:
ORA-01659: unable to allocate abc beyond 2 in tablespace LTC_DATA_128M


CREATE TABLE abc

(

PRESC_REL_ID NUMBER,
PHRM_REL_ID NUMBER,
NDC11_PRODUCT_ID VARCHAR2(11),
MDS7_PRODUCT_ID VARCHAR2(7),
DEA_NUMBER VARCHAR2(11),
ME_NUMBER VARCHAR2(11),
MONTH DATE,
PYR_SRC_ID NUMBER,
FACILITY VARCHAR2(5),
FACILITY_TYPE VARCHAR2(25),
FACILITY_ZIP3 VARCHAR2(3),
TRX_UNITS NUMBER,
TRX_COUNTS NUMBER,
NRX_UNITS NUMBER,
NRX_COUNTS NUMBER,
CRDT_DT DATE
)
PARTITION PHMMAXVAL VALUES LESS THAN (MaxValue)
LOGGING
TABLESPACE LTC_DATA_128M
PCTUSED 40
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 128M
NEXT 128M
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
FREELISTS 1
FREELIST GROUPS 1
BUFFER_POOL DEFAULT
)
0
 
gram77Author Commented:
What can you make out of this?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
so, what about the free space in the tablespace LTC_DATA_128M?
0
 
gram77Author Commented:
angel:
what do you what to know about LTC_DATA_128M?
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
see the queries proposed here:
http://vsbabu.org/oracle/sect03.html
the second one and the last one are the ones interesting here.
0
 
gram77Author Commented:
thanks for the site.

Could you please let me know the solution to the problem.

Is adding datafile to the tablespace the only solution we have?

I think in the warehousing system, they are creating a new partition without deleting
the old partition. So this error has come.

The solution I feel is that they should first remove the oldest partition in the
table and then add a new partition. Am I right?
0
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
>The solution I feel is that they should first remove the oldest partition in the
table and then add a new partition. Am I right?

that is a possible solution, but only if the data does not need to be kept.
0
 
jwittenmConnect With a Mentor Commented:
You need to increase the size of the datafiles for this tablespace.  You have so little space in the tablespace that the initial 'minextents' for the segment you are trying to create cannot be stored there.
0
All Courses

From novice to tech pro — start learning today.