…memory usage might be even larger – bulk inserts may allocate bulk_insert_buffer_size bytes of memory if done to MyISAM tables. myisam_sort_buffer…
Post: How much memory can MySQL use in the worst case?
… added memory for InnoDB: specifically, the buffer pool. (There’s also an innodb_additional_…sort_buffer_size := 1 * 1024 * 1024 * 1024;” and my sort_buffer_size is now 1GB. And a single query may cause multiple sort buffers… to compute the maximum possible memory usage, and there cannot be because …
Post: Wanted: Better memory profiling for MySQL
…memory. I would look at memory consumed by Innodb (it is often higher than innodb_buffer_pool_size) substract memory used by other global buffers… space for temporary tables or sort memory. Though I’m not expecting … could account statistics for their own memory usage which is when merged together to …
Post: Choosing innodb_buffer_pool_size
… MySQL buffers – query cache, key_buffer, mysql threads, temporary tables, per thread sort buffer which can be allocated. There are also things like innodb additional memory… can try locking MySQL in memory by using –memlock – just be careful as in case you have memory usage spike you may have…
Comment: Database problems in MySQL/PHP Applications
…memory usage too high innodb_buffer_pool_size = 8000M #innodb_additional_mem_pool_size = 80M # Set .._log_file_size to 25 % of buffer pool size innodb…
Post: 10+ Ways to Crash or Overload MySQL
…tables ? This can be offset by keeping myisam_sort_buffer_size low, but then performance would suffer. …and accessing large amount of Innodb tables you can allocate large amount of memory on server. The … allows to run queries with uncontrolled resource usage. Host Block You can have given client …
Post: Heikki Tuuri Innodb answers - Part I
… compression. The downside in gzip is increased usage of CPU time. PZ: We will see …sorted indexes with Innodb (with index built by sort) this is when this should be helpful the most. Q3: Does Innodb…kernel’s buffer pool. In high load situations where INNODB is using most of the system’s memory …
Post: Shard-Query EC2 images available
…32 and 64 bit varieties. Due to memory requirements, the InnoDB versions are only available on 64 bit … There will be another blog post about the usage and performance of the splitter. It is …3306 read-buffer-size=512K read-rnd-buffer-size=1M skip-host-cache skip-name-resolve sort-buffer-size=512K…
Comment: How much memory can MySQL use in the worst case?
… any Innodb related memory usage like buffer pool, redo buffer, additional mem pool etc. you might want to first look into that. use either show innodb status show variables like ‘inno%’; also what your key buffer size, sort buffer size and query cache setting…
Post: The new cool MySQL patch has landed! Check your queries performance!
…, while Disk_filesort means that sorting was done through temporary files. INNODB USAGE The final part are the InnoDB usage statistics. MySQL currently allows you… small hash array representing the entire buffer pool, because it could take a lot of memory to map all the pages. The…

