June 18, 2013

Post: Handling big result sets

… unbuffered query with prepared statement protocol by 2.53 times. It is often though mysql_store_result is faster than mysql_use_result, as you can see in certain conditions it could be opposite. Prepared statements are… you have query which retrieves a lot of data from MySQL prepared statements may also perform better, probably because of binary protocol and…

Post: Wishes for new "Pure PHP" MySQL driver

… of statements which can’t be prepared – I would like library to take care of emulating these for me. Arrays in Prepared Statements Dealing with certain types of queries, ie queries with IN is so painful with prepared statements – I would like… like to be able to run multiple queries for multiple MySQL connections at once. For scale out applications data to generate…

Post: MySQL Query Cache

… great feature called “Query Cache” which is quite helpful for MySQL Performance optimization tasks but there are number of things you… not support prepared statements and cursors Query Cache works with query text and want full result set at once. In prepared statements there is…_hits/Qcache_inserts Other portion of overhead comes from modification statements which you can calculate by (Com_insert+Com_delete+Com…

Post: Ultimate MySQL variable and status reference list

…constantly referring to the amazing MySQL manual, especially the option and variable reference table. But… port_open_timeoutblogpercona.commanual preload_buffer_sizeblogpercona.commanual Prepared_stmt_countblogpercona.commanual print_defaultsblogpercona.commanual profilingblogpercona.commanual …

Post: Top 5 Wishes for MySQL

… saying about Prepared Statements in MySQL 4.1 which came without query cache support but even worse not all of statements could be prepared not to mention other issues. I’m saying about SubSelects which were added in MySQL 4.1… long time. For example Query Cache support for Prepared Statements is only fixed in MySQL 5.1 and Most of other items are…

Post: New SpecJAppServer results at MySQL and Sun.

… can also see Server prepared statements were disabled for the run (same as we had few years ago). Prepared statements generally should have helped this benchmark because it has a lot of same queries an Prepared Statements can be more… it better to disable them. The MySQL Settings are probably what is the most interesting: MySQL 5.0 Tuning in /etc/my…

Post: MySQL Server Memory Usage

… to be impractical. Here is why: List of rarely considered MySQL Server Memory Requirements Thread buffers can be allocated more than… procedures may require a lot of memory Prepared statements and Cursors. Single connection may have many prepared statements and cursors. Their number finally can…

Post: How much memory can MySQL use in the worst case?

… it around until the query is done. And there are prepared statements, which you can create and never deallocate. Any more? Of… * 1024 * 100); Query OK, 0 rows affected (2.34 sec) mysql> select get_lock(@a, 1); +—————–+ | get_lock(@a, 1) | +—————–+ | 1… lock key. Note how long it took to run these statements! And now mysqld is suddenly using 324M of memory, up…

Post: 7 Reasons why MySQL Quality will never be the same

… features. MySQL 4.1 was out for years and yet I would say no more than 5% of users use prepared statements. Bug Reporting and Tracking The MySQL 3.23 received quality was at some extent because there were no bugs.mysql.com… from Innodb included default MySQL. Why is not this part of stock MySQL 5.1 ? I guess because MySQL 5.1 release was…