Y
Hacker News
new
|
ask
|
show
|
jobs
by
barrkel
3614 days ago
Foreign keys are a major problem in MySQL if you do lots of writes, especially bulk writes. As is auto-increment (table-lock for load data infile, yay!).
We allocate our own IDs, and disable foreign keys for bulk loading.