All tables should have a Primary Key
Categories
(Bugzilla :: Database, defect)
Tracking
()
People
(Reporter: mockodin, Assigned: mockodin)
References
(Blocks 1 open bug)
Details
(Whiteboard: [wanted-bmo])
Attachments
(1 file)
Comment 1•16 years ago
|
||
| Assignee | ||
Comment 2•16 years ago
|
||
| Assignee | ||
Comment 3•16 years ago
|
||
Comment 4•16 years ago
|
||
Updated•16 years ago
|
| Assignee | ||
Comment 5•16 years ago
|
||
| Assignee | ||
Updated•16 years ago
|
| Assignee | ||
Comment 10•14 years ago
|
||
Comment 11•14 years ago
|
||
Comment 12•2 years ago
|
||
This bug has been biting us repeatedly in the form of failed backups and slow writes on a Galera cluster. Seeing that it's been stalled for a little while™ now I'm trying to prepare a patch in https://github.com/mbethke/bugzilla/tree/bug-535821-pk-for-all-tables
So far I've just made a trivial 2-line change and it seems to run just fine, but I've never worked on Bugzilla before so it will need some testing especially WRT schema upgrades.
Comment 13•2 years ago
|
||
Comment 14•1 year ago
|
||
I agree we should have this for performance reasons. As pointed out in earlier comments here, primary keys also make replication of inserts faster on MySQL, which is our primary supported DB.
We probably need this patch on the Harmony branch as well.
Comment 15•1 year ago
|
||
The PR is ready: https://github.com/bugzilla/bugzilla/pull/194
If you could you have a look at it and let me know if it's OK like this (this is my first Bugzilla PR), I'll be happy to add the change to any other branches.
Description
•