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

add video url to faq #5861

Merged
merged 5 commits into from
Jul 31, 2024
Merged

add video url to faq #5861

merged 5 commits into from
Jul 31, 2024

Conversation

mirnawong1
Copy link
Contributor

this pr adds a video url to also explain how to solve the job memory limit failure in job run and development

internal slack: https://dbt-labs.slack.com/archives/C05CJT5MJF2/p1722309301858119?thread_ts=1721059396.203019&cid=C05CJT5MJF2

@mirnawong1 mirnawong1 requested a review from a team as a code owner July 30, 2024 09:20
Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Jul 31, 2024 8:23pm

@github-actions github-actions bot added content Improvements or additions to content Docs team Authored by the Docs team @dbt Labs size: x-small This change will take under 3 hours to fix. and removed Docs team Authored by the Docs team @dbt Labs labels Jul 30, 2024
@github-actions github-actions bot added Docs team Authored by the Docs team @dbt Labs and removed Docs team Authored by the Docs team @dbt Labs labels Jul 30, 2024
@mirnawong1 mirnawong1 enabled auto-merge (squash) July 30, 2024 09:41
:::tip Check out video example
As an additional resource, check out this example video add URL here, which demonstrates how to refactor the sample code by reducing the number of columns returned.
:::tip Video example
As an additional resource, check out [this example video](https://www.youtube.com/watch?v=sTqzNaFXiZ8), which demonstrates how to refactor the sample code by reducing the number of columns returned.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

columns returned

rows returned

@@ -17,11 +17,10 @@ Some common reasons for higher memory usage are:

There are various reasons why you could be experiencing this error. We recommend you review your data models to see if there are any opportunities to optimize or refactor them. For example, you can try to reduce the number of columns being selected, use `group` or `where` clauses to filter data early in the query, or use `limit` clauses to reduce the amount of data being processed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are various reasons why you could be experiencing this error. We recommend you review your data models to see if there are any opportunities to optimize or refactor them. For example, you can try to reduce the number of columns being selected, use group or where clauses to filter data early in the query, or use limit clauses to reduce the amount of data being processed.

There are various reasons why you could be experiencing this error but they are mostly the outcome of retrieving too much data back into dbt (via run_query() operations or similar macros, or even using database/schemas that have lots of other non-dbt related tables/views). You can try to reduce the amount of data / number of rows retrieved back into dbt by refactoring the SQL in your run_query() operation using group, where or limit clauses. Additionally, you can also use a database/schema with fewer non-dbt related tables/views.

@github-actions github-actions bot added the Docs team Authored by the Docs team @dbt Labs label Jul 31, 2024
@github-actions github-actions bot added size: small This change will take 1 to 2 days to address and removed size: x-small This change will take under 3 hours to fix. labels Jul 31, 2024
@mirnawong1
Copy link
Contributor Author

thanks @jeremyyeo ! can you please have another look?

@mirnawong1 mirnawong1 merged commit f14de56 into current Jul 31, 2024
10 checks passed
@mirnawong1 mirnawong1 deleted the add-video-faq branch July 31, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content Docs team Authored by the Docs team @dbt Labs size: small This change will take 1 to 2 days to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants