June 19, 2013

Post: Virident vCache vs. FlashCache: Part 2

creating a vCache device with the default configuration, I started with a baseline HDD configuration for MySQLfrommysql.sock ­­–mysql­-table­-engine=innodb ­­\ –oltp­-read­-only=off run The base MySQL configuration (configuration A) appears below: #####fixed innodb options innodb_file

Post: Recovering CREATE TABLE statement from .frm file

5.1.30-community-log MySQL Community Server (GPL) Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer. mysql> show create table… sec) mysql> select * from test_innodb; ERROR 2013 (HY000): Lost connection to MySQL server during query Recovering CREATE TABLE from .frm file for MyISAM Table We …

Post: MySQL 5.5 and MySQL 5.6 default variable values differences

… I’ve loaded the values from MySQL 5.5.30 and MySQL 5.6.10 to the different tables and ran the query: mysql [localhost] {msandbox} (test) > select… increased from 20 to 300 which I guess is one of the component of purging fine tuning in MySQL 5.6 innodb_file_per_table… when you have large number of tables or if you do many create/drop of innodb tables. optimizer_switch is the catch all…

Post: How to recover deleted rows from an InnoDB Tablespace

tables and indexes (with their IDs) to the error log. mysql (employees) > CREATE TABLE innodb_table_monitor (id int) ENGINE=InnoDB; TABLE

Post: CVE-2012-4414 strikes back in MySQL 5.5.29 (and what we're doing in Percona Server 5.5.29)

5.5.29 (not yet released, but soon), I filed MySQL bug …5.5.28-29.3) is not affected. When the MariaDB team fixed CVE-2012-4414 they createdMySQL 5.5.29 (the Oracle provided binaries); it also failed. Basically, the following snippet from…2-1-1.data’ INTO TABLE `t“1` FIELDS TERMINATED BY ‘,’ ENCLOSED…

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

files in our database directory: -rw-rw—-. 1 mysql mysql 8632 Feb 20 15:54 dir_test_innodb.frm -rw-rw—-. 1 mysql mysql… of lettercase, you’ll get an error: mysql> CREATE TABLE dir_test_innodb4 (fts_doc_id BIGINT … settings for MySQL 5.6, and that was to change innodb_ft_min_token_size from the …

Post: Connecting orphaned .ibd files

files. A well known innodb_file_per_table option brings the second one. Tables and system areas are split into different filesfrom sakila database taken from some MySQL server. 0. Create empty InnoDB tablespace. 1. Create the table: mysql>CREATE TABLE

Post: MySQL 5.6 vs MySQL 5.5 and the Star Schema Benchmark

…_DIRECT is not used by default, the file system cache will give better read …stopped the MySQL 5.6 server, rebooted and verified again.  Same issue.  This was very different from MySQL 5.5.30,… tinyint, D_WeekDayFl tinyint ); DROP TABLE IF EXISTS lineorder; CREATE TABLE IF NOT EXISTS lineorder ( LO_…

Post: Concatenating MyISAM files

… a file is the first byte of the first row… So we should be able to concatenate these files. Let’s see. mysql> create table… Database changed mysql> flush tables; Query OK, 0 rows affected (0.00 sec) mysql> select * from test_concat; +—-+ | id | +—-+ | 1 | | 2 | | 3 | | 4 | | 5 | | 6…

Post: Helgrinding MySQL with InnoDB for Synchronisation Errors, Fun and Profit

…of a single word from memory is atomic …create.c:304) ==9090==    by 0x5A0789C: clone (clone.S:112) ==9090==  Location 0x6e26200 is 0 bytes inside global var “os_n_file…: get_schema_tables_result(JOIN*, enum_schema_table_state) (sql_…consider backporting and using MySQL 5.5 atomic operation primitives …