May 22, 2012

Post: Innodb Performance Optimization Basics

… good performance innodb_log_buffer_size=4M 4M is good for most cases unless you’re piping large blobs to Innodb in this case increase it a bit. innodb_flush_log_at_trx_commit=2… one of our MySQL Presentations. Application tuning for Innodb Especially when coming from MyISAM background there would be some changes you would…

Post: My Innodb Feature wishes

… difference in Performace with MyISAM and Innodb is huge for read only workload it is caused by the fact Innodb does not have prefix compression for its indexes, as MyISAM has which in certain cases… outside of it. The other item with blobs – currently if I’m not mistaken blobs are stored each in its own “segment…

Comment: Falcon Storage Engine Design Review

… would emphasize it in current Limits section though. Isolation Modes: Innodb, Oracle, PostgreSQL also support MVCC but frequently offer it in… done optional. Oracle and Innodb have a global option but could be done on Table, same way as MyISAM does it. Checksums… may throw an error. Blob Handling: Just regarding your comment about blob materialization – Innodb also will only read the blob if it is accessed…

Post: Should you move from MyISAM to Innodb ?

…size is close to memory size), generally slower writes, slower blob handling, concurrency issues, problems dealing with very large number of…logging. Innodb Needs Tuning As a final note about MyISAM to Innodb migration I should mention about Innodb tuning. Innodb needs tuning. Really. MyISAM for many…

Post: MySQL Server Memory Usage

…_size, innodb_buffer_pool_size, innodb_additional_memory_pool_size, innodb_log_buffer_size, query_cache_size. If you’re using MyISAM seriously you… bulk_insert_buffer_size bytes of memory if done to MyISAM tables. myisam_sort_buffer_size used for ALTER TABLE, OPTIMIZE TABLE… have unbound memory requirements retriving result sets from remove queries. Blobs may require 3x time of memory. This is important if…

Post: Falcon Storage Engine Design Review

… to most storage engines, it certainly can be applied for MyISAM and Innodb. I remember there were plans to implement such handler… may end up in non-recoverable stage. This is why Innodb has “innodb double write buffer”. Jim does not believe this is… often. [+] Blob handling optimizations Jim loves BLOBs as his own child, so Falcon is optimized in Blob handling for example having direct blob writes…

Post: What exactly is read_rnd_buffer_size

… with key value – which are offsets for MyISAM and primary key values for Innodb or storing full data which is being retrieved… length can be converted to fixed size (basically everything but BLOB/TEXT) MySQL can use read_rnd_buffer to optimize data… sometime to see how it really impacts performance both for MyISAM and Innodb.

Post: What to tune in MySQL Server after installation

… tune if you’re using Innodb tables. Innodb tables are much more sensitive to buffer size compared to MyISAM. MyISAM may work kind of…. If you have update activity spikes however or work with blobs a lot you might want to increase it. Do not… should use smaller values. innodb_flush_log_at_trx_commit Crying about Innodb being 100 times slower than MyISAM ? You probably forgot to…

Post: How number of columns affects performance ?

… place when internal data structures are populated (everything but TEXTs/BLOBs is fixed length when it is being processed). This conversion… fast. So this is all about MyISAM, what is about Innodb ? Here are results for Innodb with all data in buffer pool, to… columns they might bite you with surprise slowdown. MyISAM is much faster than Innodb when it comes to in memory full table…

Post: 10+ Ways to Crash or Overload MySQL

… keep max_prepared_stmt_count very low. Prepared Statements and Blob Data If you’re want to get memory consumed by… Space For MyISAM tables hosting providers used to use disk quotas for MyISAM tables. You can also use similar technique with innodb_file_per_table. However you can’t control growth of Innodb system…