June 19, 2013

Post: How to recover table structure from InnoDB dictionary

… 4. Load dumps of the dictionary tables into some MySQL server. Use LOAD DATA INFILE constraints_parser generates mysql>LOAD …NULL, `first_name` VARCHAR(45) CHARACTER SETutf8‘ COLLATE ‘utf8_general_ci’ NOT NULL, `last_name` VARCHAR(45) CHARACTER SETutf8‘ COLLATE ‘utf8_general_ci’ NOT NULL, `last…

Post: Converting Character Sets

… database (or set of tables) to a target character set and collation. Approach #1: ALTER TABLE `t1` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; Take… the entire database and re-importing it with the appropriate server & client character sets. This is a three-step process, where one must…

Comment: Why MySQL could be slow with large tables ?

…query took longer the more rows were retrieved. Probably, the server is reaching I/O limits… I played with some buffer…auto_increment, `STRING` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL default ”, `URL` varchar(230) character set utf8 collate utf8_unicode_ci NOT NULL default…

Post: InnoDB Full-text Search in MySQL 5.6: Part 2, The Queries!

… DEFAULT CHARSET=utf8 But, when we try to use this table, here’s what comes back: mysql: SET GLOBAL innodb_ft_server_stopword… with a setting of 1 versus a setting of 4. This may or may not be the case with multi-byte character sets or… of InnoDB FTS configuration which are both letter-case and character-set sensitive. Watch out! When you add your first FULLTEXT KEY…

Comment: When is it a time to upgrade memory ?

… wait_timeout=15 max_allowed_packet=64M default-collation=utf8_unicode_ci default-character-set=utf8 default-storage-engine=InnoDB bulk_insert_buffer_size…/mysqld.log pid-file=/var/run/mysqld/mysqld.pid The server (on amazon) has 7Go memory: [root@dom*************** log]# free -m…

Comment: What to tune in MySQL Server after installation

… and the sorftware has the following settings: [mysqld] log-error=/var/log/mysqld.log init_connect=SET CHARACTER SET utf8 datadir=/data/mysql socket=/data…_size = 12M read_buffer_size = 4M [Server] server-id = 1 log-bin=/data/mysql/drbd [Server] server-id = 1 log-bin=/data/mysql/drbd…

Comment: Why MySQL could be slow with large tables ?

… thread_concurrency=4 myisam_sort_buffer_size=950M character-set-server=utf8 default-collation=utf8_unicode_ci set-variable=max_connections=1500 log_slow_queries=/var…

Comment: Why MySQL could be slow with large tables ?

… records only very slow. so please guide me where to set parameters to overcome this issue. my.cnf file contains the….sock user=mysql init_connect=’SET collation_connection = utf8_general_ci; SET NAMES utf8;’ default-character-set=utf8 character-set-server=utf8 collation-server=utf8_general_ci [client] default-character-set=utf8 set-variable = max_allowed_packet…

Post: MySQL Upgrade Webinar Questions Followup

setting character set to utf8 – this is not needed as MySQL 5.5 continues to support various character sets same as previous MySQL versions. Moreover utf8 character set continues… from MySQL 5.5 to Percona Server 5.5 Compatibility is our highest priority with Percona Server, so it should be good…

Comment: Fixing column encoding mess in MySQL

… is utf8, the original data we imported may have been utf-8, the tables were MyISAM – it came out of Sql Server…. Searching everywhere, I have found nothing that tells me what character set encoding that is, and I’ve tried many. When it… upside-down exclamation marks and “section” glyphs, etc. And some characters look like „« (double-comma, double-left-angle-brackets…