June 20, 2013

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

…disk IO performance hit that comes with DRBD. When you run a virtual machine, in most cases your virtual…an obvious disclaimer here in that the aforementioned statements reflect only my opinion and not any …that MySQL/NDB Cluster is also somewhat similar to Oracle RAC; all of the SQL nodes in a MySQL

Post: Percona Server for MySQL 5.5.30-30.2 now available

of memory allocators on MySQL performance can be found in this blogpost. (Ignacio Nin) This release of Percona Server for MySQL has fixed a number of performanceWhen mysqldump was used with –innodb-optimize-keys option it produced invalid SQL for cases when

Post: Percona Server 5.5.30-30.2 rerelease fixes non-restart issue

of memory allocators on MySQL performance can be found in this blogpost. (Ignacio Nin) This release of Percona Server for MySQL has fixed a number of performanceWhen mysqldump was used with –innodb-optimize-keys option it produced invalid SQL for cases when

Post: Flexviews - part 3 - improving query performance using materialized views

statements from standard input, and outputs the SQL_API statements representing the original SQL statementsWhen the view is ‘enabled’, the contents are created: mysqlof SQL features not available with the incremental method, like ORDER BY or use of NOW(), it but still provides improved performance

Post: Statement based replication with Stored Functions, Triggers and Events

…is the behavior of the MySQL when it needs… some other cases help us …SQL process will stop with an error. Example: mysql> CREATE FUNCTION this_year() RETURNS INT DETERMINISTIC RETURN YEAR(CURDATE()); mysqlwhen using SET user-variables and then using it to perform… before the statement. MySQL uses the …

Post: SQL Injection Questions Followup

SQL in stored procedures extensively.  They found that it was awkward because of the limits of the procedure language MySQLperform a successful breakin to test for this type of security flaw. The more difficult part is making sure to test for all such cases in your code where SQL statements

Post: Infinite Replication Loop

… 99% of all cases) commits a transaction, the DML statements from …sql statement. As some of them are looping, the timestamp of those statements does not increase, causing a flip ofmysql 4 (this position will increase every time writes are performed on the active master, so just take a position when

Post: MySQL Prepared Statements

performance of simple query (single row point select) using standard statement, prepared statement and have it served from query cache. Prepared statementsMySQL API is it can switch between prepared and non-prepared statements transparently (in most cases

Post: MySQL Query Cache

…have performed and even depending on snapshot they are working on. If you’re using statements outside ofof the queries – in this case you can set query_cache_type to “DEMAND” and use only SQLwhen it is good idea to use query cache ? Third party application – You can’t change how it works with MySQL

Post: Improved InnoDB fast index creation

performed a number of simple benchmarks. Let’s start with a table containing 4 million rows and one secondary key: mysqlstatementsof cases when this optimization is not applicable: UNIQUE indexes in ALTER TABLE are ignored to enforce uniqueness where necessary when