More sensible header structure. Cute cow at the bottom

This commit is contained in:
Ian Gulliver
2019-04-25 03:18:54 +00:00
parent a3dfa24549
commit 8663055dd3
34 changed files with 282 additions and 303 deletions

View File

@@ -42,7 +42,7 @@ On A:
SHOW DATABASES;
### The AUTO\_INCREMENT problem
## The AUTO\_INCREMENT problem
AUTO\_INCREMENT-type columns get used in just about every MySQL table. Theyre a quick way to build primary keys without thinking. However, there are obvious problems in a multi-master setup (if inserts happen on both servers at the same time, theyll both get the same ID). The official MySQL solution (start the IDs on both servers at numbers significantly different from each other) is a nasty hack.