June 20, 2013

Post: Faster Point In Time Recovery with LVM2 Snaphots and Binary Logs

… unsigned not null default 0; Query OK, 300024 rows affected (13.28 sec) Records: 300024  Duplicates: 0  Warnings: 0 mysql> update…_log_pos 336797275 Query thread_id=47 exec_time=1 error_code=0 SET TIMESTAMP=1329980395/*!*/; DROP TABLE `salaries` /* generated by server…

Post: Air traffic queries in InfiniDB: early alpha

…mysql> show warnings; +——-+——+————————————————————+ | Level | Code | Message | +——-+——+————————————————————+ | Error | 9999 | Subselect in From clause …And times for InfiniDB: 1y: 8.13 sec 2y: 16.54 sec 3y…

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

…mysql> show warnings; +———+——+————————————————–+ | Level | Code | Message | +———+——+————————————————–+ | Warning | … FULLTEXT KEY (details); ERROR 1795 (HY000… affected (8 min 13.13 sec) Records: 245051 Duplicates…

Post: Connecting orphaned .ibd files

…very often you’ll get an error in the log: InnoDB: Error: tablespace id is 10 in …= ‘actor’G *************************** 1. row *************************** SCHEMA: sakila NAME: actor ID: 13 N_COLS: 2147483652 TYPE: 1 MIX_ID: …16k long (UNIV_PAGE_SIZE in the source code). Let’s take a look at the page…

Post: Percona XtraDB Cluster: Failure Scenarios with only 2 nodes

…:45:30 [Note] WSREP: applier thread exiting (code:7) 120723 23:45:30 [ERROR] Aborting Of course all the data that was… | kenny | | 5 | percona1 | liz | | 9 | percona1 | ewen | | 11 | percona1 | vadim | | 13 | percona1 | miguel | | 14 | percona1 | marcos | | 15 | percona1 | baron | | 16 | percona1…

Post: Percona XtraBackup 1.6.4

… MySQL 5.5.17, Percona Server 5.1.59-13.0 and Percona Server 5.5.16-22….xtrabackup did not use STDOUT and STDERR conventionally. Sometimes errors would go to STDOUT and sometimes normal operating …slave-save-info. This bug fix simplifies the connection code so that such problems are harder to create …

Post: NDB API examples, the trivia to make ndbapi_scan works!

…’s that? Wow… look at the create_table code… void create_table(MYSQL &mysql) { while (mysql_query(&… ENGINE=NDB”)) { if (mysql_errno(&mysql) != ER_TABLE_EXISTS_ERROR) MYSQLERROR(mysql); std::cout << "MySQL Cluster already ... Pink 11 Toyota Pink 1 Mercedes Blue 13 Toyota Pink 6 BMW Black 2 Mercedes …

Post: Beware the Innodb Table Monitor

…contents of the Data dictionary to the mysql error log, which looks something like this: =========================================== 090420 12…_NAME ID INDEX: name REF_IND, id 0 13, fields 1/2, uniq 2, type 0 …’ state, uh-oh. I dug through the source code and found a few interesting things about the…

Post: pt-online-schema-change and default values

… cleanup) Error copying rows from `sbtest`.`sbtest` to `sbtest`.`_sbtest_new`: Copying rows caused a MySQL error 1364: Level: Warning Code: 1364 Message…

Post: Impossible - possible, moving InnoDB tables between servers

… run alter table IMPORTEDTABLE import tablespace; 7) enjoy progress in error.log like: InnoDB: import: extended import of test/img_… 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 …mode and XtraDB innodb_expand_import available only in source code for now, you can get them from Launchpad projects …