MySQL

  • InnoDB isolation levels
    Dec 20, 2010 ·

    When asking what THE advantage of InnoDB over other MySQL engines like MyISAM is, then 9 out of 10 times the answer will be that InnoDB supports transactions. And it’s true. But there is more …

    Read more →
  • Composite key autoincrements
    Dec 17, 2010 ·

    Autoincrement is sometimes called a “poor-man-sequence”. Sequences in other DB systems are counters that can be used for automatically number fields when inserting data, just like …

    Read more →
  • About using UTF-8 fields in MySQL
    Dec 4, 2010 ·

    I sometimes hear: “make everything utf-8 in your database, and all will be fine”. This so-called advice could not be further from the truth. Indeed, it will take care of …

    Read more →
  • Cardinality & Selectivity
    Feb 7, 2010 ·

    Cardinality and selectivity are two keywords that are very important when dealing with optimization in MySQL queries and indexes. This article will go a bit in depth on both terms and tries to let you …

    Read more →
  • Covering indices
    Dec 22, 2009 ·

    It’s almost to easy to use a SELECT * FROM query in your code. First of all, you instantly get all the fields from your database so you don’t have to worry about changing your queries when …

    Read more →