dave_lyons
10/13/2021, 2:02 PMitersize in tap-postgres seems to be hardcoded, 3) Snowflake batch_size, 4) Snowflake warehouse size.
Any tips greatly appreciated!edgar_ramirez_mondragon
10/13/2021, 8:04 PMhow do I select entities at a pipeline level?Do you mean at runtime, or using the
schedules feature? In the first case you can use environment variables like
TAP_POSTGRES__SELECT='["public-my_table.*","public-another_table.*"]' meltano elt tap-postgres target-snowflake
In the second case, you define values in the env object: https://meltano.com/docs/project.html#schedulesedgar_ramirez_mondragon
10/13/2021, 8:10 PMMy Postgres instance doesn't have WAL turned on - if I don't do that, are there limitations/concerns I should be aware of about using xmin full table replication?I'm not aware of any postgres tap that uses xmin. They all use either full table, increment a column like
updated_at, or log-based.
How might I improve performance?What you mention is what I'd recommend. Some people create a pipeline for every table so they can parallelize as much as possible
dave_lyons
10/13/2021, 8:44 PMfull table and not only does the select query include a xmin::text::bigint column, but when the job pipe broke and I restarted, it resumed based on where age(xmin::xid) <= age('569696045'::xid) . That's what I was referring.dave_lyons
10/13/2021, 8:47 PMtap-postgres nor manage entity selection anywhere - but I'm starting to get the impression Meltano is a CLI-first platform and the UI is more of a work-in-progress?edgar_ramirez_mondragon
10/13/2021, 9:15 PMdave_lyons
10/13/2021, 11:35 PMedgar_ramirez_mondragon
10/14/2021, 12:31 AMmeltano elt ... .
2. Disable unnesting in the target and leave those transformations to the data warehouse.
3. Create one extractor for each table (using different select filters) with plugin inheritancedave_lyons
10/14/2021, 12:37 AMdave_lyons
10/14/2021, 12:39 AMdave_lyons
10/14/2021, 12:45 AMtarget-snowflake? The repo says the plugin does it but makes no mention of being able to turn it off.edgar_ramirez_mondragon
10/14/2021, 2:21 PMdave_lyons
10/14/2021, 4:53 PMitersize is hardcoded at 20000 in tap-postgres, and CPU/memory usage on Postgres, Snowflake, and even my local machine is nowhere near exhausted so that's not the bottleneck. What else can I do?edgar_ramirez_mondragon
10/14/2021, 6:43 PMdave_lyons
10/14/2021, 6:44 PMedgar_ramirez_mondragon
10/14/2021, 6:44 PMdave_lyons
10/14/2021, 6:45 PMdave_lyons
10/14/2021, 6:48 PMedgar_ramirez_mondragon
10/16/2021, 6:18 PMmatt_cooley
02/16/2022, 11:25 PMdave_lyons
02/17/2022, 12:45 AM