Kuanysh Zhaksylyk
02/12/2025, 5:42 AMmeltano run tap-mysql target-postgres
command. After the process has successfully completed, I re-run the process using the meltano run tap-mysql target-postgres
command and load the increment.
My tap and target configs:
plugins:
extractors:
- name: tap-mysql
variant: transferwise
pip_url: git+<https://github.com/edgarrmondragon/pipelinewise-tap-mysql.git@patch-1>
config:
database: ***
engine: mysql
session_sqls:
- SET @@session.max_execution_time=0 # No limit
- SET @@session.time_zone='+0:00'
- SET @@session.wait_timeout=86400
- SET @@session.net_read_timeout=86400
- SET @@session.net_write_timeout=86400
- SET @@session.innodb_lock_wait_timeout=3600
select:
- schema-table.*
metadata:
'*':
replication-method: LOG_BASED
loaders:
- name: target-postgres
variant: meltanolabs
pip_url: meltanolabs-target-postgres
config:
batch_size_rows: 50000
hard_delete: true
load_method: upsert
use_copy: true
validate_records: true
sanitize_null_text_characters: true
Edgar Ramírez (Arch.dev)
02/13/2025, 6:57 PM