gram77
asked on
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What can you make out of this?
so, what about the free space in the tablespace LTC_DATA_128M?
ASKER
angel:
what do you what to know about LTC_DATA_128M?
what do you what to know about LTC_DATA_128M?
see the queries proposed here:
http://vsbabu.org/oracle/sect03.html
the second one and the last one are the ones interesting here.
http://vsbabu.org/oracle/sect03.html
the second one and the last one are the ones interesting here.
ASKER
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?
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?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
)