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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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 Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

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]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
jwittenmCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.