I have a partitioned table that belongs to tablespace report. I want to move it to tablespace record instead.
One possibility is to drop the table and
If this is an option, the easiest way could be to rename the table (ALTER TABLE requestLog
RENAME TO requestLogTmp;
), create the same table with all indexes in the correct tablespace and copy the data from the old table:
INSERT INTO requestLog ( SELECT * FROM requestLogTmp )
When everything is up and running, you can drop the old table.