June 18, 2013

Post: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 2

… on MySQL 5.6 GTIDs. You can find part one here. Our goal will be to go from setup #1 to setup #2…=10002; mysql> start slave; # And then check the number of records from the t table s1> select count(*) from t; +———-+ | count(*) | +———-+ | 2… fixed, it is good to be aware of the current limitations.

Post: MySQL and the SSB - Part 2 - MyISAM vs InnoDB low concurrency

part two in what is now a continuing series on the Star Schema Benchmark. In my previous blog post I compared MySQL… another advantage of InnoDB. SSB Flight #2 Flight #2 is similar to Flight #1. MyISAM … good for raw performance, but there are limitations which MyISAM imposes that are difficult to …

Post: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 1

…specific replication topology. However you should keep in mind some limitations of the current implementation. This post is the first …field, Auto_Position: # Slave #1 mysql> show slave status\G [...] Auto_Position: 1 -> GTID-based positioning # Slave #2 mysql> show slave status\G [...] Auto_Position…

Post: Understanding the maximum number of columns in a MySQL table

… those using MySQL, Percona Server, MariaDB or any other of the MySQL branches/forks, you get to have these odd limitations. Why do… UI for generating reports. This evolved into the SQL based MySQL, with MySQL 1.0 being released in 1995. The FoRM file…); } Which is, of course, obvious! Various parts of this limit are: info_length is roughly 2+strlen(field_name) for each field. Unless…

Post: trx descriptors: MySQL performance improvements in Percona Server 5.5.30-30.2

… view creation. It was originally reported as a part of MySQL bug #49169 and can be described as …Percona Server as of version 5.5.30-30.2 significantly reduces the impact of the list scan… optimization in MySQL 5.6 to achieve even better scalability while removing the read-only limitations. Let’s …

Post: The write cache: Swap insanity tome III

…sysctl -p” and we are done. Swappiness solves part of the swapping issue but not all… interleave the allocation of memory for the MySQL process using the numactl utility, drop …about 28GB and the file upload size limit is 5GB. So, about 28GB was … 0 49664 2532 164356 30539 21120 2 3 81 13 0 Note the …

Post: MySQL Limitations Part 4: One thread per connection

… on what’s seriously limiting MySQL in core use cases (links: part 1, 2, 3). This post is about the way MySQL handles connections, allocating one thread per connection to the server. MySQL is… them. That’s why I listed those as major limitations. And because MySQL is a multi-threaded database for Web usage that…

Post: MySQL Limitations Part 2: The Binary Log

… a series on what’s seriously limiting MySQL in certain circumstances (links: part 1). In the first part, I wrote about single-threaded replication… data in the server. The binary log is a real limitation in MySQL. The binary log is necessary not only for replication… transaction logs, so there’s even precedent for this among MySQL storage engines. And there is Galera’s multi-master synchronization…

Post: MySQL Limitations Part 3: Subqueries

… third in a series on what’s seriously limiting MySQL in certain circumstances (links: part 1, 2). This post is about subqueries, which in…, followed by N queries to table b. This is because MySQL rewrites the query to make the inner query dependent on…. And many MySQL users have learned to simply write JOINs instead, so it isn’t that much of a limitation. But it…

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

…in MySQL 5.6: Part 2, The Queries![/caption] This is part 2 in a 3 part series. In part 1… dir_test_myisam ORDER BY 3 DESC LIMIT 5; +——–+——————————+——————–+ | id | full_name | score | +——–+——————————+——————–+ | 74717 | James …