by nodesocket · 12y ago · 0 comments
thread_handling=pool-of-threads
http://www.percona.com/doc/percona-server/5.5/performance/th...> Note This feature implementation is considered BETA quality.
The queries on my db server, fit the documented use case for this feature - lots of short live queries.
It doesn't make sense for all workloads, but I have found thread pool to be useful in cases where application servers can overload database servers (either via misconfigured connection pooling, or no pooling).
An example where it might make less sense: a dedicated worker queue running in N threads connecting to MySQL.
https://mariadb.com/kb/en/mariadb/mariadb-vs-mysql-compatibi...
When I ran the tests for MariaDB 10.x and MySQL CE 5.6.x the advantage even went further for MySQL with around 20% better performance.
I find always funny how with every release you can get opposing claims from each camp regarding performance.
I'm sure one day MariaDB will replace stock MySQL but clearly it's not ready yet.
btw Oracle is doing a good job with MySQL atm.
One concrete example is hashjoins, a fairly simple and efficient strategy for many general purpose workloads: MariaDB supports hashing as a join strategy since 5.3/5.5 [1] back in 2011. MySQL, to the best of my knowledge, still lacks any implementation of this. OracleDB, of course, supports hash joins. Oracle has every incentive not to implement hash joins in MySQL because hash joins are one of the performance features that they use to drive sales of OracleDB.
[1] https://mariadb.com/kb/en/mariadb/what-is-mariadb-53/#join-o...
Obvious troll is obvious.
> the performance is BS
We're extremely happy with our "BS" performance.
We've also migrated many tables to TokuDB storage engine, and seen phenomenal improvements in performance and scaling. It's so good we were able to de-partition and de-archive our largest tables with no performance penalty.
If you haven't tried MariaDB yet, try it.
If your database is reasonably large (10GB+) and you haven't tried TokuDB yet, TRY IT.