MySQL

From GMOD
Revision as of 22:59, 16 January 2008 by Scott (Talk | contribs)

Jump to: navigation, search

MySQL is a popular open source database management system (DBMS). It's generally considered to be the easiest of all relational database management systems to install (Unix or Windows). It's not always viewed as favorably by database experts as it lacks certain features that they may consider useful, but one cannot deny that Mysql has proved its utility in both the open source and commercial worlds. An excellent first database for those who have no prior experience with relational databases.

See also:

Scott Cain's thoughts on why you shouldn't use MySQL for Chado

Note: I plan on fleshing this out more, but I wanted to get my thoughts down while I'm thinking about it.

  • The ability to either have or not have transactional integrity (and look out if you accidently forget to declare one of your tables as INNODB). See http://sql-info.de/en/mysql/transaction-innodb-table.html, http://sql-info.de/en/mysql/database-definition.html#2_3 and http://sql-info.de/en/mysql/database-definition.html#2_4
  • Silent dropping or truncation of data (To me, this is a VERY BIG DEAL if you care about your data.) See http://sql-info.de/mysql/gotchas.html#1_13 for a simple example that is still broken on MySQL 5.0.45.
    • See the story below about silently throwing away data when inserting it; while MySQL 5 doesn't appear to be affected by this, you might see why my perception of MySQL is perhaps a little shaded by these events.
  • Poor support for triggers (for example, you can't have more than one trigger that has the same trigger action time and event and triggers to not get executed when the event is caused by a cascading foreign key action (which Chado makes considerable use of)).
  • We already have several years of development of tools devoted to PostgreSQL. I don't have the time to devote to porting, especially since PostgreSQL is an excellent RDMS.