Re-organisation of table using CLOB datatype column
I need to move some tables from the current tablespace(schema) to another tablespace. I also need to poupalte these data back to original tablespace as a part of table re-oragnisation using
ALTER TABLE tablename MOVE TABLESPACE
It may be re-oranised in the same tablepsace or another.
But one of my table contains CLOB datatype. I wanted to know this type of data type would be handled using Oracle 8.1.7.
I wish to follow steps, if CLOB datatype handelded
A. Create a new tablespace TEMP_DATA with autoextend option of datafile
B. Move all the tables of schema (tablespace) in the new tablespace, moving the data we want to save over temporarily
C. Truncate all the tables from schema
D. Resize the current tablespace, if required.
E. Move the data from TEMP_DATA back to the current
tablespace
F. Re-build all the concern unusable or invalidated indexes
I need to move some tables from the current tablespace(schema) to another tablespace. I also need to poupalte these data back to original tablespace as a part of table re-oragnisation using
ALTER TABLE tablename MOVE TABLESPACE
It may be re-oranised in the same tablepsace or another.
But one of my table contains CLOB datatype. I wanted to know this type of data type would be handled using Oracle 8.1.7.
I wish to follow steps, if CLOB datatype handelded
A. Create a new tablespace TEMP_DATA with autoextend option of datafile
B. Move all the tables of schema (tablespace) in the new tablespace, moving the data we want to save over temporarily
C. Truncate all the tables from schema
D. Resize the current tablespace, if required.
E. Move the data from TEMP_DATA back to the current
tablespace
F. Re-build all the concern unusable or invalidated indexes
G. Drop the TEMP_DATA tablespace
I'm not sure where the question is here, you seem to have it all in hand...
Are you asking if this is possible in 8.1.7?:
Code:
ALTER TABLE tab_with_lob
MOVE LOB(c/blob_column) STORE AS (
TABLESPACE new_tablespace
)
/
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Thanks for your reply. But, I wanted to know any impact or missingd data by just my moving table to another tablepspace which contatns LOB type of column.
ALTER TABLE tablename MOVE TABLEPSCAE tablespace name
Your alter-table-move statement will move your "table" to the new tablespace while keeping your LOB data in the same place where it was before alter-table-move.
You can always conduct a test and see how nice it behaves.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Bookmarks