I spent some time earlier this week trying to debug a permissions problem in Drupal. After a lot of head-scratching, it turned out that Drupal assumes that when you run INSERT queries sequentially on a table with an auto_increment integer column, the values that are assigned to this column will also be sequential, ie: 1, [...]
Filed under: Good practice / Bad practice by cafuego on Sunday, June 21, 2009 | Social tagging: auto_increment > checking > drupal > master > mysql > replication > scaling
5 Comments »
A little challenge for you… given an existing app that does not know about separate master/slave connections, and you want to enable working in a replicated infrastructure. Simply redirecting all SELECTs to the slave connection will not work. Why? Hint: there are at least two reasons, depending on other factors. There may be more. Comments are [...]
Filed under: Uncategorized by arjen on Tuesday, April 28, 2009 | Social tagging: application > master > mysql > replication > slave
8 Comments »
Well isn’t that interesting, hidden all the way at the end of the MySQL 5.4 information are two words that really peaked my interest: Replication Heartbeat. And it wasn’t even using caps or other highlighting in the original text. Reading through the feature list of 5.4, I’m very impressed. All necessary/useful stuff for the real world, [...]
Filed under: Uncategorized by arjen on Tuesday, April 21, 2009 | Social tagging: 5.4 > heartbeat > mysql > replication
1 Comment »