June 19, 2013

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

… event_scheduler = OFF; ENABLE every event with “ALTER EVENT event_name ENABLEEnable again the event_scheduler. …logged as an extra event just before the statement. MySQL uses the INSERT_ID variable to store that…. What is the behavior if we insert multiple values and we have gaps? Example: Imagine …

Post: MySQL Upgrade Webinar Questions Followup

…I would recommend using Percona Server with enabled expand_fast_index_creation feature, as … using STATEMENT or ROW replication. MIXED mode means you will have to deal with STATEMENT and…available. Another thing to mention having multiple instances of different MySQL versions on the same box typically…

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

…inserting one row at a time with AutoCommit enabled – remember, the focus here isn’t on… column, however, MySQL apparently has no problem with either of the following statements: mysql> insert into dir_…entirely possible to DROP multiple FT indexes with InnoDB in the same ALTER TABLE statement, but it…

Post: MySQL 4 to MySQL 5 Upgrade performance regressions

… durable. You have to have log-bin enabled to get replication or point in time recovery…stage or have “commit” queries in the processlist for multiple statement transactions. Looking at SHOW INNODB STATUS you … MySQL 4.1 until MySQL has taken it away from you as already happened with MySQL 4.0. MySQL

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

… changes in multiple transactions. After…statements from standard input, and outputs the SQL_API statements representing the original SQL statementsmysql> call flexviews.enable( -> flexviews.get_id(‘demo’,'complete_example2′)); Query OK, 0 rows affected (42 min 42.14 sec) mysql> call flexviews.enable

Post: MySQL Query Cache

… Other portion of overhead comes from modification statements which you can calculate by (Com_insert+… how it works with MySQL to add caching but you can enable query cache so it works…Distirbuted caching systems can effectively use memory on multiple systems so there is no duplication. Memcached …

Post: Using Flexviews - part one, introduction to materialized views

MySQL 2011 CE, and I figured I should blog about it before then. For those unfamiliar, Flexviews enablesstatements is a table, so conceptually so too is the output of a SQL statement. MySQL even includes a SQL statement… the view is accessed. If multiple statements access the same view repeatedly or…

Post: MySQL Users Conference - Innodb

… of others due to statement level MySQL Replication which among other requirements, needs all auto-increment values in multiple value insert to be… such as multiple purge threads or parallel log recovery features, which he however needs to test properly before really enabling it. Innodb…

Post: Announcing Percona XtraDB Cluster 5.5.28-23.7

…) addresses in the cluster component. Multiple addresses can now be specified…real abort for the SQL statement. If statement itself enters into …with option wsrep_start_position enabled. Bug fixed #1075495. SST …regular MySQL replication slave configured, could cause intermittent failure to start MySQL

Post: Investigating MySQL Replication Latency in Percona XtraDB Cluster

… updates are done on multiple nodes. There is an option you can enable to get fully synchronous replication behavior: mysql> set global wsrep_causal_reads=1; Query OK, 0 rows affected (0.00 sec) When this option is enabled the…. Lets do the run again now running the same update statement on the different cluster node: per-request statistics: min: 0…