Using Primary Key Parts In A Secondary Index Of An InnoDB Table
Recently, I was asked what would happen if a primary key was explicitly put into a secondary index of an InnoDB table. For example, given a tableemployees, ... read more
employees, ... read more
PRIMARY index. Unfortunately, this same problem exists in secondary indices, and usually to an even greater effect since the data are rarely ordered at insertion time. ... read more
PRIMARY index using a monotonic primary key. Before moving on to secondary indices, we'll consider random-order inserts. ... read more
auto_increment
auto_increment maybe wasn't as glowing as it should have been, but we really shouldn't let one little auto_increment really is an invaluable tool, and today we'll consider why. ... read more
list_of_things table during a single UPDATE. I mentioned it was an improvement to the problem, but not a complete fix. Today, we'll see why. ... read more
REPEATABLE READ. ... read more
autocommit
autocommit for all new connections, and, as noted yesterday, autocommit can be remarkably powerful when used carefully for two separate reasons: ... read more
I in ACID stands for Isolation, which is a property that determines whether or not a transaction can see the progress of other transactions. Transaction isolation is a complex system generally defined by the allowance of certain "read phenomena". ... read more