Hi ALL,
I've a master table CIB which contains around 80 Millions of data,and it has around 300 columns .
One table CIB_TMP table needs to be created simply (just loading from CIB table)from CIB table with full data
but this CIB_TMP table will have only 3 columns.
My question is , looking into performance issue How to create this ?
I've the following solutions :
1. Using DIRECT PARALLEL LOAD .
degree of parallelism = 16,we have 4 processors.
(insert /*+ parallel(CIB_TMP,16) */ into table CIB_TMP (A,B,C) select /*+ parallel(CIB,16) */ A,B,C from CIB
Here the problem is,I can't do BLOCK COMMIT.Because I don't have any rownumber field in the table.
Can ROLLBACK SEGMENT store this much amount(80 Millions) of data? Will it work?
2. Create one materialized view CIB_MV on CIB with rownumber (rownumber is for for keeping record count of CIB)
And then load data using parallel insert into CIB_TMP from CIB_MV with block operation.
3. Spool entire data from CIB table into a Unix flat file.
Split the flat file into 4 files.
Load the files through SQL *LOADER using parallel Direct path into CIB_TMP table.
Is it possible to spool 80 millions of data from a table to a Unix flat file?
If not possible , then Is there any solution for this ?
Any suggestion will be highly appreciated ......
I've a master table CIB which contains around 80 Millions of data,and it has around 300 columns .
One table CIB_TMP table needs to be created simply (just loading from CIB table)from CIB table with full data
but this CIB_TMP table will have only 3 columns.
My question is , looking into performance issue How to create this ?
I've the following solutions :
1. Using DIRECT PARALLEL LOAD .
degree of parallelism = 16,we have 4 processors.
(insert /*+ parallel(CIB_TMP,16) */ into table CIB_TMP (A,B,C) select /*+ parallel(CIB,16) */ A,B,C from CIB
Here the problem is,I can't do BLOCK COMMIT.Because I don't have any rownumber field in the table.
Can ROLLBACK SEGMENT store this much amount(80 Millions) of data? Will it work?
2. Create one materialized view CIB_MV on CIB with rownumber (rownumber is for for keeping record count of CIB)
And then load data using parallel insert into CIB_TMP from CIB_MV with block operation.
3. Spool entire data from CIB table into a Unix flat file.
Split the flat file into 4 files.
Load the files through SQL *LOADER using parallel Direct path into CIB_TMP table.
Is it possible to spool 80 millions of data from a table to a Unix flat file?
If not possible , then Is there any solution for this ?
Any suggestion will be highly appreciated ......