June 19, 2013

Post: Choosing a MySQL HA Solution - Post-Webinar Q&A

… For example, if you see a large number of long-running queries in the output of SHOW PROCESSLIST that …isn’t anything quite like that in the MySQL world, except maybe MyISAM files on top of a clustered …get the server up with –skip-grant-tables and insert a few rows into an InnoDB table, but …

Post: Using MyISAM in production

…. If this happened make sure you have decent myisam_sort_buffer_size and large myisam_max_sort_file_size otherwise recovery may be…. MyISAM uses table locks and has concurrent inserts which can go concurrently with selects. This is sometimes presented as great concurrency for inserts… select statements but it has to be one insert at the time. Happily inserts in MyISAM are rather fast so it rarely is the…

Post: Concatenating MyISAM files

Recently, I found myself involved in the migration of a large read-only InnoDB database to MyISAM (eventually packed). The only issue was…, 23B rows. Not small… I calculated that with something like insert into MyISAM_table… select * from Innodb_table… would take about 10… was simply to do insert into MyISAM_table select * from MyISAM_table1 and so on for the 16 files. Since MyISAM are flat files…

Post: Beware of MyISAM Key Cache mutex contention

insert rate… or so it seemed. In reality inserting in parallel into different tables when indexes fit in memory results in… to the thread local space. Happily MyISAM allows you to create multiple key caches ….not expect so large difference for Inserts. I have already wrote about very large impact on…

Post: Quick comparison of MyISAM, Infobright, and MonetDB

… who has MyISAM tables with many columns (the same one Peter wrote about recently). The client’s performance is suffering in part… SQL statements. I wanted to see how fast MyISAM vs. MonetDB would interpret really large INSERT statements, the kind produced by mysqldump. But… it: you can, should you choose to, give it instructions in MonetDB Assembly Language (MAL), the underlying language. An abstracted front…

Post: MySQL Server Variables - SQL layer or Storage Engine specific.

in MyISAM format in “mysql” database. Plus HEAP/MEMORY tables are used for temporary tables which may become MyISAM if they are large

Post: Predicting how long data load would take

… not end here. If indexes are built by inserts in Btree order in which entries are inserted in the index can affect performance dramatically. Table… type MyISAM may benefit from bulk_insert_tree_size increase myisam_sort_buffer_size or key_buffer_size increase. Innodb typically needs large innodb…

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

… full-text search), that’s largely where the similarities end. NOTE 1…MyISAM rather than InnoDB. Loading the data was done via a simple Perl script, inserting….dir_test_innodb | optimize | status | OK | +———————-+———-+———-+———-+ 1 row in set (4.60 sec) mysql> select …

Post: High-Performance Click Analysis with MySQL

… cost of repairing huge MyISAM tables and taking downtime, I would not use MyISAM for anything but read-… hard-to-scale database server for the initial insertion, because you can write CSV files with any … queries, but that’s often justified by a large reduction in table size. I sort of stumbled upon …

Comment: Innodb Performance Optimization Basics

… than MyISAM to insert the data – it all depends on what you’re looking at. For inserts in single table by single user MyISAM most likely will win because of Transactional overhead in Innodb, however if you have large system and many concurrent inserts or…