Postgres 12 MATERIALIZED CTE much faster

前端 未结 0 479
旧巷少年郎
旧巷少年郎 2021-01-31 20:02

With the move to Postgres 12, one of my queries went from 6 seconds to 7.5 minutes. I was able to fix this by adding MATERIALIZED to the CTE expressions. What I don\'t understan

相关标签:
回答
  • 消灭零回复
提交回复
热议问题