database - 如果我使用 citus,我可以使用 join 吗?
问题描述
citus 如果我使用 citus 可以使用 join 吗?
是的,它们表现出色吗?
..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... ..................................................... …………………………………………………………………………………………………………
解决方案
citus 如果我使用 citus 可以使用 join 吗?
是的,您可以在 Citus 中使用联接。
https://docs.citusdata.com/en/v10.0/develop/reference_sql.html#joins。
仅支持不同 Citus 表类型之间的大多数连接,但其中一些需要启用重新分区连接。
https://docs.citusdata.com/en/v10.0/develop/api_guc.html?highlight=enable_repartition_joins#citus-enable-repartition-joins-boolean
从 Citus 10 开始,还支持本地表和分布式表之间的连接。
https://docs.citusdata.com/en/v10.0/develop/api_guc.html?highlight=enable_repartition_joins#citus-local-table-join-policy-enum
是的,它们表现出色吗?
当表位于同一位置时,Citus 可以非常有效地连接表。
https://docs.citusdata.com/en/v10.0/develop/reference_sql.html#co-located-joins