|
With MySQL 5.0 now well established, the prevalence of the toy database brigade has greatly diminished. MySQL has a rich feature set catering to a much greater proportion of users, and recent moves by Oracle have shown that they too take MySQL seriously.
MySQL Cluster though, which two years ago was less than the v in vaporware, has come along in leaps and bounds and has made itself a significant part of any serious MySQL DBA's repertoire. It now also integrates well with ordinary replication.
- Row-based replication, that allow non-deterministic statements to be accurately replicated.
- The ability to write log files to tables instead of files (and therefore to query them with SQL statements).
- More control over how tables are physically stored, with partitioning.
- Better replication of and between MySQL clusters.
- A flexible plugin API allowing components to be loaded and unloaded while the server is running.
- A load emulator application, mysqlslap.
- The ability to dump tablespaces with mysqldump.
- The event scheduler, which confers the ability to run statements based on time.
- A bigger, better metadata database.
- A number of XML functions.
- A script to ease updating to a new version, mysql_upgrade.
- New features for the little-known instance manager, allowing one to list all log files, return part of a log file, and supply configuration options.
- The ability to write triggers, which contain direct references to tables by name.
- The table_type variable, as well as the TYPE definition and the SHOW TABLE TYPES statement, since what were once called table types are now referred to as storage engines.
- The log_bin_trust_routine_creators variable.
- The ability to define (n) in TIMESTAMP(n). The TIMESTAMP field will rather always store and return the full DATETIME.
- The BACKUP TABLE and RESTORE TABLE statements. Reading between the lines, this does not mean MySQL has left you at the mercy of the hard drive gods. Rather, it is likely to indicate that a proper online backup facility is imminent, although concrete plans are sketchy at present. Currently, these statements only work for MyISAM tables, and lock each table one at a time. Getting a clean backup of multiple tables requires issuing LOCK statements, which for large or busy tables has a significant impact. The mysqlhotcopy script is suggested instead for now.
- The SHOW LOGS and SHOW BDB LOGS statements. The much more specific synonym SHOW ENGINE BDB LOGS is preferred.
- The LOAD TABLE FROM MASTER statement. This is not particularly useful (LOAD DATA FROM MASTER is more commonly used), and practically this statement is mostly used for debugging LOAD DATA, and is rather likely to cause havoc if used on existing slaves.
- The SHOW INNODB and SHOW MUTEX statements. Preferred now are the much clearer SHOW ENGINE INNODB STATUS and SHOW ENGINE INNODB MUTEX statements.
| Comments: | ||
No Messages FoundYou can post questions/corrections/feedback here
| ||
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


