Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter_dbs - Run takes a long time due to a lot of databases and tables #9

Open
visch opened this issue Aug 16, 2023 · 1 comment
Open

Comments

@visch
Copy link
Member

visch commented Aug 16, 2023

Thread: https://meltano.slack.com/archives/C01TCRBBJD7/p1692197784713329

When your mysql instance has a lot of DB's and tables you may only want to pull from one of the databases as right now it's taking >5 min for this user to run discovery due to https://github.com/meltano/sdk/blob/main/singer_sdk/connectors/sql.py#L499-L513

@jlloyd-widen
Copy link

FWIW, I created a version of this tap and ran into this exact problem. I found a way to speed it up. It's probably very ugly. But in case any of the code is useful or instructive, please feel free to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants