Is it possible to move a subset of a table to a different tablespace?

Hello again,

We are planing to remove old data in our database.

When we did the last time that we did something like this:
remove the table so xy date timestamp < DATE; -date is a special code, all data before should be deleted.

To is a bit more complex there is a cascade constraint (?) in the child table that will be deleted when the parent in xy row is removed.

Due to the amount of data that will be deleted our DBAs had much to do with the logs (redo and archive) switching in the past.
Now our DBAs fact the suggestion to move the data, will, which should be deleted, to a different tablespace (new). After you have moved the new tablespace should be deleted.
I understand our DBAs want to reduce it again or archive newspapers.

But is it really possible to move only the selected rows of a tablespace to another? I have found that tutorials to move an entire table.


Thanks in advance
Andreas

Andreas S. wrote:

But is it really possible to move only the selected rows of a tablespace to another? I have found that tutorials to move an entire table.

Partitioned tables, Yes. The non partitioned tables, no *.

* There are hacks that could be considered in an attempt to force the movement of the line of a tablespace to another, but these are ugly, nasty and all simply horrible - and is not reliable either.

Tags: Database

Similar Questions

Maybe you are looking for