June 19, 2013

Post: MySQL 4 to MySQL 5 Upgrade performance regressions

…cases when upgrading from MySQL 4.0 and 4.1 to MySQL 5.0. By serious I mean … course you also have to have plenty of concurrent transactions so group commit would trigger in MySQL 4.0 …” stuck in “end” stage or have “commit” queries in the processlist for multiple statement transactions. Looking at …

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

… and others have no prefix, results that have the …might expect to get back multiple matches containing the words “James… dir_test_myisam ORDER BY 3 DESC LIMIT 5; +——–+——————————+——————–+ | id | full_name |…group the search terms as a single phrase: With 5.5: mysql

Post: 3 ways MySQL uses indexes

MySQL limitation – once MySQL runs into the interval range it will not use any further index parts. If you haveMySQL uses single index – there are more complex rules of how indexes will be used if you look at multiple… can also see others like using index for group by but I think they can be pretty …

Post: MySQL: Followup on UNION for query optimization, Query profiling

…: Lets say we want to show people in appropriate age group sorting by time when they were last online. If age is fixed this works great and it is efficient, however if we have multiple ages to deal with ether as BETWEEN range or as IN filesort appears and query becomes very slow: mysql> explain…

Post: When would you use SAN with MySQL ?

… buffering can too be done by MySQL and local RAID (with BBU) … SAN – if you have MySQL/server restart you may have warmup being quite …have binary log flushed on commit too. MySQL also has broken group commit (which we have…more reliable, same as server with multiple power supplies ECC memory kill-…

Post: Facebook at Percona Live MySQL Conference and Expo and Advanced Registration Ending Soon

multiple datacenters. His talk entitled “High Performance Replication” will cover his field experiences of having

Post: Heikki Tuuri Innodb answers - Part I

… state of Innodb scalability with multiple threads and multiple concurrent transactions ? HT: The scalability …Group commit still busted in 5.0/5.1? HT: Yes. However, work has been done on it byhave the memlock also. PZ: memlock already works – it is global MySQL Server option, though it may have

Post: How adding another table to JOIN can improve performance ?

… would have a year ? 5 years ? What if you get say thousands of groups at the same time ? Performing such query MySQL has… by having all rows to have different group_id and it still does not work. The trick however does work if you have just one group… performance by joining data to yet another table though why it does not work for multiple group remains question to check with MySQL Optimizer…

Post: High availability for MySQL on Amazon EC2 – Part 2 - Setting up the initial instances

…:~$ ec2-add-group hamysql -d ‘nodes for HA MySQL solution’ GROUP hamysql nodes for HA MySQL solution From now… one line the parameters I need separated by a delimiter. yves@yves-laptop:~$ cat filtre_…multiple EBS volumes since it is not the main purpose of this blog series. EBS based AMI Others have

Post: Missing Data - rows used to generate result set

… small fraction of queries. If you’re joining multiple tables or if you have GROUP BY query the number of rows which need to… if we have the same table with no indexes and query SELECT GENDER, COUNT(*) FROM PEOPLE WHERE COUNTRY=’USA’ GROUP BY GENDER even… (SELECT COUNTRY,COUNT(*) FROM PEOPLE GROUP BY COUNTRY) C WHERE COUNTRY=’USA’ As of MySQL 5.0 MySQL will materialize the subquery in the…