Db2

Db2

Connect with Db2, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only
  • 1.  DB2 cross platform migration from on prem to GCP

    Posted 16 hours ago

    Hi All,

    I am in the process of migrating an on prem DB2 database to GCP. The on prem DB2 server are windows and GCP Db2 servers are ubuntu 22.04. DB2 version is 11.5.9. Since the OS versions are different a simple backup and restore won't work. I am following the below guide to migrate (our application is Maximo)

    How to move Maximo DB2 database between different platforms

    Ibm remove preview
    How to move Maximo DB2 database between different platforms
    Moving Maximo DB2 database from Windows to Linux
    View this on Ibm >

    The issue is the db2move export is taking a long time, as the current DB size is around 750GB? It is writing at 10-12GB per hour which is really slow and not a feasible approach for production migration. Any recommendations on how to tackle this migration and reduce the downtime required?

    Abhinav



    ------------------------------
    Abhinav Bhuria
    ------------------------------


  • 2.  RE: DB2 cross platform migration from on prem to GCP

    Posted 15 hours ago

    Try LOAD from CURSOR method - you will avoid writing intermediate files; did you try db2move export using pipes?



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



  • 3.  RE: DB2 cross platform migration from on prem to GCP

    Posted 13 hours ago

    Hi Jan,

    I am exploring that option, but it requires connectivity between the on prem and the gcp db2 servers correct? Also how fast is this as compared to db2move
    I haven't tried the db2move using pipes will check it out?

    Abhinav



    ------------------------------
    Abhinav Bhuria
    ------------------------------



  • 4.  RE: DB2 cross platform migration from on prem to GCP

    Posted 12 hours ago
    Load from cursor and db2move using pipes share the same advantage: data movement does not require physical writes to and physical reads from intermediate disk files it's memory to memory transfer.

    You need to be able to connect to source and target; with db2move using either pipes or physical intermediate files on disk you need connection as well.





  • 5.  RE: DB2 cross platform migration from on prem to GCP

    Posted 12 hours ago

    PS 

    You really need connectivity between client and source and between client and target; you do not need connectivity directlyt between source and target.



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



  • 6.  RE: DB2 cross platform migration from on prem to GCP

    Posted 12 hours ago

    Hi Jan,

    Thanks for the response

    So just for clarification. If I have on prem machine A and GCP machine B, in order to use load from cursors or db2move using pipes I can provision a machine C on network, which should be able to connect to both GCP DB2 server and the on prem machine A correct?

    Can you point me to some documentation or examples for this, that would be very helpful?

    Abhinav



    ------------------------------
    Abhinav Bhuria
    ------------------------------



  • 7.  RE: DB2 cross platform migration from on prem to GCP

    Posted 11 hours ago

    Start here:

    https://www.ibm.com/docs/en/db2/12.1.x?topic=data-moving-using-cursor-file-type

    Let us know if you need more...:-)



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