Moving data between tablespaces may be required.
Moving objects between tablespaces
Getting ready
First, create your tablespaces. Once the old and new tablespaces exist, we can issue the commands to move them.
How to do it…
Tablespaces can contain both permanent and temporary objects.
Permanent data objects are tables, indexes, and TOAST objects. We don't need to worry too much about TOAST objects because they are created in and always live in the same tablespace as their main table. So, if you alter the tablespace of a table, its TOAST objects will also move...