June 19, 2013

Post: Ultimate MySQL variable and status reference list

… amazing MySQL manual, especially the option and …lock_wait_timeoutblogpercona.commanual locked_in_memoryblogpercona.commanual logblogpercona.commanual …tablesblogpercona.commanual optimizer_prune_levelblogpercona.commanual optimizer_search_depthblogpercona.commanual optimizer_switchblogpercona….

Post: Distributed Set Processing with Shard-Query

…. Every SQL statements breaks down into a relational algebra equation. In Algebra you …speaks SQL, but right now only MySQL storage nodes are supported. Amdahl’…OPTIMIZATIONS: * Base level table name: `aggregation_tmp#74082863` * IN list optimization enabled * Detected an IN list with 2 items * IN

Post: MySQL Upgrade Webinar Questions Followup

… significant development since MySQL 4.1, so in-place upgrade of MySQL 5.0 to MySQL 5.5 … statements? Yes. This is exactly how it is done in many cases. There is really no gain in…TABLE) or disabling some of the optimization/statistics related features in new version. Innodb statistics can especially …

Post: Be productive with the MySQL command line

mysql> pager Default pager wasn’t set, using stdout. Using edit When you try to optimize …to write documentation or when you are in the middle of an emergency, you …statements you typed and their output, pretty much like the Unix tee command: mysql> tee queries.log Logging to file ‘queries.log’ mysql

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

…, however, MySQL apparently has no problem with either of the following statements: mysql> insert into …optimize_start_time | | | optimize_end_time | | | stopword_table_name | | | use_stopword | 1 | | table_state | 0 | +—————————+———+ 10 rows in set (0.02 sec) mysql> optimize

Post: MySQL Users Conference - Innodb

… bunch of others due to statement level MySQL Replication which among other requirements, needs all auto-increment values in multiple value insert to… full statement duration. The problem with multi value inserts however is the following – even if you know number of values in insert statementoptimized on systems with 1-2 SATA drives so they are far from optimal for server grade IO subsystems. These are for MySQL

Post: MySQL EXPLAIN limits and errors.

… tables (selects in FROM clause) are used. MySQL will execute these subselects on explain to provide plan for top most statement, so if you made an error in select in from… is also not used in optimization which may produce suboptimal plans if stored functions are used in queries. In general in my opinion EXPLAIN needs…

Post: New SpecJAppServer results at MySQL and Sun.

… an Prepared Statements can be more efficient on the server side but I guess something is not as well optimized with them as it could be which makes it better to disable them. The MySQL Settings are probably what is the most interesting: MySQL 5.0 Tuning in /etc/my.cnf (included in FDA) [mysqld…

Post: MySQL Query Cache

… helpful for MySQL Performance optimization tasks but there are number of things you need to know. First let me clarify what MySQL Query…” it proceeds with query lookup in cache if not – skips it. Does not support prepared statements and cursors Query Cache works with query text and want full result set at once. In prepared statements there is…

Post: 10+ Ways to Crash or Overload MySQL

… by single prepared statement you can create statement with thousands of placeholders and send data for each of them using mysql_stmt_send_long_data call – Server buffers such data until you have executed prepared statement. Innodb Table Cache…_packet. However some MySQL optimizations such as equity propagation and range expansion can cause Parse Tree to blow up in size. For most…