citusdata / citusdata/citus

Distributed Tables Compound Primary Keys Alternatives

Open
#2,419 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

Hi,

Is the compound primary keys (the table's primary key field + distribution field) to create a distributed table is a must? is there other way to create distributed table without having to modify the existing single column primary key into a compound one? perhaps by creating a unique index consisting of the compound fields should be enough to guarantee? Currently I'm using an ORM that doesn't (fully) support compound primary keys. Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.