Exemplo: a migração de dados para um destino do Azure , com base no uso da ferramenta CLI do Azure

Relatório de Execução:

[i1156@lat111 ~]$ db2hpu -i i1156 -f sysin_azure
INZM031I Optim High Performance Unload for Db2 06.05.00.003.01(230710) 
64 bits 07/10/2023 (Linux lat111 3.10.0-862.14.4.el7.x86_64 #1 SMP Fri Sep 21 09:07:21 UTC 2018 x86_64)
INZI473I Memory limitations: 'unlimited' for virtual memory and 'unlimited' for data segment
       ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+
000001 GLOBAL CONNECT TO SAMPLE;
000002
000003 MIGRATE TABLESPACE
000004 LOCK NO QUIESCE NO
000005
000006 SELECT * FROM EMPLOYEE;
000007
000008 OUTFILE("outfile")
000009 LOADDEST("OBJECT_STORAGE AZURE "AZURE_CLI_ALIAS")
000010
000011 FORMAT DEL;
INZU462I HPU control step start: 07/10/2023 13:36:16.795.
INZU463I HPU control step end  : 07/10/2023 13:36:17.150.
INZU464I HPU run step start    : 07/10/2023 13:36:17.845.
INZU543I HPU utility will perform load operations on lat111 host.
INZU683I HPU utility has prepared 42 rows for an upload to the AZURE destination.
INZU741I [lat111] HPU utility has performed an upload of the outfile file to the AZURE destination at the location configured: 
         check its execution report in the /home/i1156/EMPLOYEE.msg file.
INZU465I HPU run step end      : 07/10/2023 13:36:19.000.
INZI441I HPU successfully ended: Real time -> 0m2.204976s
User time -> 0m0.103546s : Parent -> 0m0.103546s, Children -> 0m0.000000s
Syst time -> 0m0.027143s : Parent -> 0m0.027143s, Children -> 0m0.000000s

Seção Azure associada no arquivo db2hpu.dest :

[Azure]
alias=AZURE_CLI_ALIAS
account=my_azure_account
container=my_container
Credenciais associadas a Azure no arquivo db2hpu.creds :
[AZURE_CLI_ALIAS]
type=azure
password=FAE6B57CC297B86F268F651F0018393187F92C0B87573C6B6B3F3BCE2E098BDCD83F46B84008EC83...