activate vacuum analyze again
This commit is contained in:
parent
3646a0ca09
commit
34d0e9cffb
1 changed files with 3 additions and 4 deletions
|
|
@ -36,10 +36,9 @@ models:
|
|||
# it's very fitting for our needs. You can read more here:
|
||||
# https://www.crunchydata.com/blog/postgresl-unlogged-tables
|
||||
dwh_dbt:
|
||||
# VVVVVVVVVVV Commented for testing purposes. We probably wanna uncomment eventually!!!
|
||||
# +post-hook:
|
||||
# sql: "VACUUM ANALYZE {{ this }}"
|
||||
# transaction: false
|
||||
+post-hook:
|
||||
sql: "VACUUM ANALYZE {{ this }}"
|
||||
transaction: false
|
||||
# ^ This makes dbt run a VACUUM ANALYZE on the models after building each.
|
||||
# It's pointless for views, but it doesn't matter because Postgres fails
|
||||
# silently withour raising an unhandled exception.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue