I am new to loading data warehouses databases.
I hung after 6 hours loading (after 2.1 billion rows) a large fact table (2.4 billion rows) and got the error message below. At the time of the hang the tablespace dbf file was 67,108,848KB and there is 164GB of free space on the drive which is being managed with RAID5.
statement in resumable session 'RAYGG.WEATHER01_NUM10_FACT_ALL.1' was suspended due to
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
This is running on windows 32bit 2003 server with 3gb RAM. This is a brand new use of this server and hard drive - it was just wiped and reimaged before I put this databse on the machine so defragmentation is not an issue.
There were two tables specified in the parfile. After this table hung the impdp loaded the second smaller table as shown below in the impdp log.
I am stumped - there is plenty of room left on the drive, the next table loaded ok, there is no space limit in the table definition, there is no space limitation on tablespace.
____________________________
Here is the table desc
____________________________
DROP TABLE WEATHER2 CASCADE CONSTRAINTS;
CREATE TABLE WEATHER2
( DIR CHAR(3 BYTE),
SPD INTEGER,
(a bunch of other rows)
)
TABLESPACE FACT_TS
PCTFREE 10 PCTUSED 75 INITRANS 1 MAXTRANS 255 LOGGING
STORAGE(PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1);
____________________________________________
here is the tablespace create statments
____________________________________________
CREATE TABLESPACE FACT_TS DATAFILE 'E:\app\metardw\oradata\metardw\DATAFILE\FACT_TS.DBF'
SIZE 512M REUSE AUTOEXTEND ON NEXT 512M
EXTENT MANAGEMENT LOCAL
BLOCKSIZE 16K
AUTOALLOCATE
DEFAULT COMPRESS FOR OLTP;
_____________________________
This is the log from impdp
_____________________________
C:\>impdp raygg/raygg parfile=C:\Oracle\DBAScripts\imp_WEATHER01_num10_FACT_ALL.
PAR
Import: Release 11.2.0.1.0 - Production on Mon Nov 29 22:15:52 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "RAYGG"."WEATHER01_NUM10_FACT_ALL" successfully loaded/unloaded
Starting "RAYGG"."WEATHER01_NUM10_FACT_ALL": raygg/******** parfile=C:\Oracle\D
BAScripts\imp_WEATHER01_num10_FACT_ALL.PAR
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-39171: Job is experiencing a resumable wait.
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
ORA-39171: Job is experiencing a resumable wait.
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
<<<The above error messages occur 24 times in total>>>
ORA-39171: Job is experiencing a resumable wait.
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
ORA-31693: Table data object "METARDW"."WEATHER2" failed to load/unload and is b
eing skipped due to error:
ORA-02354: error in exporting/importing data
ORA-30032: the suspended (resumable) statement has timed out
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
. . imported "METARDW"."WEATHER3" 128.2 KB 2189 rows
Job "RAYGG"."WEATHER01_NUM10_FACT_ALL" completed with 24 error(s) at 07:53:37
I was testing the loading with a smaller volume of the dmp file using query statements that limited the number of rows loaded by table using the TABLES and QUERY options as
tables=dwuser.hc_dim
QUERY=hc_dim:"WHERE rownum < 20000"
THis worked very effectively but the reverse will not I tried loading rownum > 19999 and 0 rows were loaded.
So even after I allocate another datafile for the tablespace (not sure what else to do) I do not know how to restart the load - I only can assume I must restart from the beginning. The only other alternative I can think of would be to create a unique primary key and rerun the load anticipating the load would refuse loading all duplicate keys but then would resume loading after the load finds the end of the previously loaded rows. But I don't know if this would take almost as long as the original load. The big dif is that it skips all those writes of the tablespace.
Any help would be appreciated.
I hung after 6 hours loading (after 2.1 billion rows) a large fact table (2.4 billion rows) and got the error message below. At the time of the hang the tablespace dbf file was 67,108,848KB and there is 164GB of free space on the drive which is being managed with RAID5.
statement in resumable session 'RAYGG.WEATHER01_NUM10_FACT_ALL.1' was suspended due to
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
This is running on windows 32bit 2003 server with 3gb RAM. This is a brand new use of this server and hard drive - it was just wiped and reimaged before I put this databse on the machine so defragmentation is not an issue.
There were two tables specified in the parfile. After this table hung the impdp loaded the second smaller table as shown below in the impdp log.
I am stumped - there is plenty of room left on the drive, the next table loaded ok, there is no space limit in the table definition, there is no space limitation on tablespace.
____________________________
Here is the table desc
____________________________
DROP TABLE WEATHER2 CASCADE CONSTRAINTS;
CREATE TABLE WEATHER2
( DIR CHAR(3 BYTE),
SPD INTEGER,
(a bunch of other rows)
)
TABLESPACE FACT_TS
PCTFREE 10 PCTUSED 75 INITRANS 1 MAXTRANS 255 LOGGING
STORAGE(PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1);
____________________________________________
here is the tablespace create statments
____________________________________________
CREATE TABLESPACE FACT_TS DATAFILE 'E:\app\metardw\oradata\metardw\DATAFILE\FACT_TS.DBF'
SIZE 512M REUSE AUTOEXTEND ON NEXT 512M
EXTENT MANAGEMENT LOCAL
BLOCKSIZE 16K
AUTOALLOCATE
DEFAULT COMPRESS FOR OLTP;
_____________________________
This is the log from impdp
_____________________________
C:\>impdp raygg/raygg parfile=C:\Oracle\DBAScripts\imp_WEATHER01_num10_FACT_ALL.
PAR
Import: Release 11.2.0.1.0 - Production on Mon Nov 29 22:15:52 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "RAYGG"."WEATHER01_NUM10_FACT_ALL" successfully loaded/unloaded
Starting "RAYGG"."WEATHER01_NUM10_FACT_ALL": raygg/******** parfile=C:\Oracle\D
BAScripts\imp_WEATHER01_num10_FACT_ALL.PAR
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-39171: Job is experiencing a resumable wait.
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
ORA-39171: Job is experiencing a resumable wait.
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
<<<The above error messages occur 24 times in total>>>
ORA-39171: Job is experiencing a resumable wait.
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
ORA-31693: Table data object "METARDW"."WEATHER2" failed to load/unload and is b
eing skipped due to error:
ORA-02354: error in exporting/importing data
ORA-30032: the suspended (resumable) statement has timed out
ORA-01653: unable to extend table METARDW.WEATHER2 by 4096 in tablespace FACT_TS
. . imported "METARDW"."WEATHER3" 128.2 KB 2189 rows
Job "RAYGG"."WEATHER01_NUM10_FACT_ALL" completed with 24 error(s) at 07:53:37
I was testing the loading with a smaller volume of the dmp file using query statements that limited the number of rows loaded by table using the TABLES and QUERY options as
tables=dwuser.hc_dim
QUERY=hc_dim:"WHERE rownum < 20000"
THis worked very effectively but the reverse will not I tried loading rownum > 19999 and 0 rows were loaded.
So even after I allocate another datafile for the tablespace (not sure what else to do) I do not know how to restart the load - I only can assume I must restart from the beginning. The only other alternative I can think of would be to create a unique primary key and rerun the load anticipating the load would refuse loading all duplicate keys but then would resume loading after the load finds the end of the previously loaded rows. But I don't know if this would take almost as long as the original load. The big dif is that it skips all those writes of the tablespace.
Any help would be appreciated.