June 19, 2013

Post: How to Monitor MySQL with Percona's Nagios Plugins

full LVM snapshots. LVM backup strategies can fail to delete snapshots after finishing, sometimes due toto delete one of MySQL‘s log or data files from disk. The database server will continue toto open or close tables can…to a query. The pmp-check-mysql-status is also very flexible and can be used to

Post: How to recover deleted rows from an InnoDB Tablespace

to delete the records of the employee 10008 from the table “salaries”. After the “accidental” deletion of rows you should stop MySQLto_date); Query OK, 3 rows affected (0.01 sec) Records: 3 Deleted: 0 Skipped: 0 Warnings: 0 mysql

Post: Identifying the load with the help of pt-query-digest and Percona Server

tables: 0 Tmp_table_sizes: 0 # InnoDB_trx_id: F00 # QC_Hit: No Full_scan: Yes Full_join: No Tmp_table: No Tmp_table….00 0.00 DELETE poller_output # 20 …Tables” section lists the queries that you can use to gather more data about the underlying tables involved and the query execution plan used by MySQL

Post: Fighting MySQL Replication Lag

… Fetching data you’re planning to update/delete and having multiple queries to delete it (see example below) This brings us to yet another rule for… need to run UPDATE Example: UPDATE posts SET spam=1 WHERE body LIKE “%cheap rolex%”; This query will perform full table scan in MySQL 5…

Comment: Database problems in MySQL/PHP Applications

MySQL. Good design will help dictate how many tables are required in order to get the job done. Toto fix it. Most > applications I have to fix have number of indexing missing which > requires queries to do full table

Post: MySQL Query Cache

Query Cache – meaning cache where execution plans are cached. MySQL Query Cache is not. It does not cache the plan but fullqueries Application objects might need several queries to compose so it is efficient to cache whole objects rather than individual queries. No control on invalidation Table

Post: Full Text Search Webinar Questions Followup

to the MySQL queries would make them even slower, I’m sure. Indeed, the result set of 20 rows from SphinxQL queriesto Solr and Sphinx, do indexes stay up to date with changes (inserts, updates and deletes

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

…InnoDB full-text search in MySQL 5.6 (part 1) in MySQL 5.6 is syntactically identical to MyISAM full-text…mysql> delete from dir_test_innodb LIMIT 200000; Query OK, 200000 rows affected (8.65 sec) mysql> optimize table dir_test_innodb; +———————-+———-+———-+———-+ | Table

Post: Ultimate MySQL variable and status reference list

to the amazing MySQL manual, especially the option and variable reference table. But just as frequently, I want to

Post: Using Flexviews - part two, change data capture

table to the list of tables to changelog. It does this by adding an entry to the `flexviews`.`mvlogs` metadata table, and it creates the changelog tabledelete data in a second transaction: mysql> delete from test.demo where c1=1; Query