[openstreetmap/openstreetmap-website] Partition large tables (#2076)
notifications at github.com
Fri Nov 30 16:32:06 UTC 2018
> Well I imagine they are mostly, if not all, on the id column but I don't see anything which allows that in that text?
If you partition on id and have a primary key on id, any two duplicate ids will have to go to the same leaf, where they would violate the unique constraint on the leaf.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev