-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-3565] SUPER SLOW dbt run -m model_name #9402
Comments
Thanks for letting us know about this @ashwintastic. Just to confirm, are you using the Could you share the logs for version 1.6 versus 1.7? Are you sure the bottleneck is metadata queries like |
I'm using dbt-databricks adapter logs for 1.7 is posted in the above description, logs for 1.6 is here Are you sure the bottleneck is metadata queries like show table extended rather than that particular incremental model taking a long time to build? Yes, model building takes only few seconds but dbt takes the model building execution after it finishes metadata queries which are bottleneck
|
Since the |
@dbeatty10 there is a standing issue that I've filed on this repo before (#9046), which is basically that even if the operation is only concerning 1 model, core calls |
Thanks for linking to #9046 @benc-db ! Does #9046 (comment) answer your question? If not, could you follow-up within #9046 with whatever questions you have that are still outstanding? |
Is this a new bug in dbt-core?
Current Behavior
I’m running dbt run -m model_name , which is super slow when I checked the logs dbt is checking each and every tables, views in that schema by running show extended table.
Earlier in version 1.6 it was responding faster
Expected Behavior
It should pick the model asap, but it is checking for each table, views in that schema describe table
Steps To Reproduce
dbt run -m model_name
Relevant log output
Environment
Which database adapter are you using with dbt?
spark
Additional Context
No response
The text was updated successfully, but these errors were encountered: