bubba
10/25/2023, 3:17 PMtap-postgres
(meltanolabs variant), and running the extraction takes 2+ hours do to having to fetch the catalog / tap properties. I have limited to the public
schema using the filter_schemas
config. How can I bypass the discovery or increase the speed? Is the only solution to manually specify a catalog? Also how long is the default catalog cached for?visch
10/25/2023, 3:53 PMtime tap-postgres --config config.json --discover
The time is 2 hours, that's a crazy long time!? How many tables are in your public schema, I wonder if we could replicatebubba
10/25/2023, 4:55 PMfilter_schemas
only filters after the discovery. i.e. it is fetching schema and its tables. But filters to the public schema after everything is fetched.bubba
10/25/2023, 4:59 PM4451
tables/views and the public schema has 3452
visch
10/25/2023, 5:46 PMvisch
10/25/2023, 5:47 PMbubba
10/25/2023, 6:29 PMtap-postgres --config config.json --discover 59.60s user 10.66s system 1% cpu 1:21:01.21 total
Looking at the output of the command I see tables from other schemas. I have v0.0.2
installed with meltano.
As for a temporary work around I modified the code to fetch the catalog for my table and am passing it in directly.
It looks like its taking about a second to pull the schema per table.visch
10/25/2023, 6:32 PMvisch
10/25/2023, 6:41 PMbubba
10/25/2023, 6:43 PMbubba
10/25/2023, 6:49 PMbubba
11/02/2023, 3:34 PM