Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我在 postgres 中有一个按月分区的表,其中满足以下条件:
分区/子表的约束检查对我有帮助吗?由于触发器处理月末期间,它们似乎是多余的,因此无济于事,但我觉得我可能会遗漏一些东西。
查询计划器需要约束,它使用约束来知道在哪里可以找到特定数据。请参阅文档。