Db2

Db2

Where DBAs and data experts come together to stop operating and start innovating. Connect, share, and shape the AI era with us.


#Data


#Data
#Databases
#Operatingsystems
#Db2
#Databasesolutions
 View Only
  • 1.  Moving tables from default to another

    Posted 06/02/25 05:20 AM

    Greetings, experts,

    I hope you can share your thoughts if you have experience placing a set of tables from the default USERSPACE1 to a separate one using db2move, or other tools like Data Studio and other IDEs.

    Appreciate your generous time a lot!



    ------------------------------
    Senen Jr Dimanahan
    ------------------------------


  • 2.  RE: Moving tables from default to another

    Posted 06/02/25 01:01 PM

    Please review:

    https://www.ibm.com/docs/en/db2/12.1.0?topic=reference-data-movement-options

    I frequently use LOAD FROM CURSOR - but you may want to consider export/import (using named pipes) - or ADMIN_MOVE_TABLE procedure.



    ------------------------------
    Jan Nelken
    Db2 (LUW) DBA
    Open for job
    Katowice or Krakow
    +48 783 109 863
    ------------------------------



  • 3.  RE: Moving tables from default to another

    Posted 06/03/25 04:51 AM

    Hello there, Jan,

    Thank you very much for providing inputs. I managed to move the tables after reading and using admin_move_table sp. It's more straightforward compared to db2move - tablespace_map.

    My best regards,



    ------------------------------
    Senen Jr Dimanahan
    ------------------------------