Comments (1)
- Does table_1 need to be the first table which have new tenant_id record(earlier than other tables table_2, table_3...)?
No, not necessarily for the distribution/colocation purposes. But if your data model requires that, you may make tenant_uuid a primary key for table_1.
- Does table_1 need to have full tenant_id record(not allow table_2, table_3... have the tenant_id which not in table_1 table)?
Again, if your data model requires this relationship, you may define a foreign_key constraint for tenant_uuid in table_2 and table_3 that references tenant_uuid in table_1.
You may colocate the tables without those constraints as well.
from citus.
Related Issues (20)
- High Availability improvements coming? Use Replicas for reads? HOT 1
- postgres[495645]: segfault at 0 ip 00007f318b17e1f4 sp 00007ffc7f1b15d8 error 4 in citus.so[7f318b0a4000+ee000] likely on CPU 93 (core 1, socket 1) HOT 5
- PostgreSQL 17 support HOT 1
- wrong one
- Execution order of statements of a transaction HOT 1
- pg_stats_user_tables last_autovacuum for distrubuted tables HOT 3
- Having error while using checkout v4 action in check-sql-snapshots
- Debezium support HOT 2
- [Feature request] Worker nodes read only mode
- looks like Issue with MERGE Command. HOT 1
- [doc] wrong code comments for function PopUnassignedPlacementExecution HOT 1
- [Feature question] CDC support in Citus
- `alter_table_set_access_method` AccessExclusiveLock HOT 2
- ERROR: no binary output function available for type theta_sketch HOT 5
- Distributed transactions under a concurrency scenario HOT 2
- Assert when executing SELECT citus_set_coordinator_host('localhost');
- postgresql is crashing when selecting from citus columnar table HOT 2
- PG17Beta2 Support - Regression tests sanity
- Query on Best Practices for Handling High Bandwidth on the Coordinator in Large Citus Clusters
- Pg_basebackup error: COPY stream ended before last file was finished14 on Citus worker
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citus.