June 18, 2013

Post: Top 5 Wishes for MySQL

…’m especially interested about it is Sphinx which is currently implemented as storage engine for MySQL but this role does not suite…. I’m saying about Prepared Statements in MySQL 4.1 which came without query cache support but even worse not all of statements… for very long time. For example Query Cache support for Prepared Statements is only fixed in MySQL 5.1 and Most of other…

Post: Meet MySQL Performance Blog guys on MySQL Users Conference

… list of sessions we have: Sphinx: High Performance Full Text Search for MySQL (Andrew) EXPLAIN Demystified (Baron) The MySQL Query Cache (Baron) Investigating Innodb Scalability…. Andrew and Aurimas will be on on .org Both for Sphinx project showing some cool demos – we’re bringing few servers…

Post: Goal driven performance optimization

…: mysql> select count(*),avg(wtime),avg(utime/wtime) cpu_ratio, avg(mysql_time/wtime) mysql_ratio ,avg(sphinx_time/wtime) sphinx_ratio, avg((wtime-mysql_time-sphinx… main factor because sphinx and MySQL respond from cache. We however see for pages which have the problem it is Sphinx which accounts for…, cache it, tune it, get more hardware in this order. It is often it is possible to get rid of some queries, cache

Post: Sphinx search performance optimization: attribute-based filters

… in 155ms. Doing the same thing in MySQL, assuming user_id is indexed and in cache, would take less than a millisecond… some different queries against the two: sphinx> select * from catalog where ancient = 1; | total_found | 1499266 | 14% | time | 0.552 | sphinx> select * from… in queries without full text search keywords, having them full text indexed is a very good way to improve such Sphinx search query

Post: Sphinx: Going Beyond full text search

… wrote a few times about various projects using Sphinx with MySQL for scalable Full Text Search applications. For… of data handling hundreds of thousands of search queries per day. The count of forum posts being … search urls does not allow to use pre-caching not to mention general load on server such…

Post: How Percona does a MySQL Performance Audit

…=/var/db/mysql –user=mysql –pid-file=/var/run/mysqld/mysqld.pid –skip-external-locking –port=3306 –socket=/var/db/mysql/mysql.sock consult…. Queries can be broken into pieces, combined, or even eliminated entirely (we may suggest caching, or tell the customer to evaluate Sphinx, or something like that.) In the common case, though, a query simply needs…

Comment: Full text search for all MySQL Storage Engines

… linuxbox (the search query contained 10 most common words found in the database, linux 2.6 and mysql 4.1.18 was used in all cases – SQL_NO_CACHE was used in order to avoid hitting the query cache during…+ windowsbox: Vectorbased search: 0.01 seconds I dont know how sphinx stores data internally but hopefully something of what I have…

Post: What to do with MySQL Full Text Search while migrating to Innodb ?

…the problem, not to mention Key Cache which often becomes serious contention issue…any significant changes to schema or queries. In general cross storage engine … certain cases you can just use MySQL triggers to maintain such table, …it can work pretty well. Use Sphinx or other external full text …

Post: MySQL: Data Storage or Data Processing

… Hadoop or Sphinx used to crunch data in parallel or it even could be special wrapper on top of MySQL do do… single node does not take you that far. MySQL concept of Single Query=Single Thread works well when few rows needs to… why we have to do careful indexing build summary/cache tables hunt queries which traverse a lot of data and kill them…

Post: Economics of Performance Optimization

…schema changes, use of replication, caching, using memcached, sphinx, implementing proper web caching etc. These changes are not … than throughput. If single user CPU bound query takes 30 seconds you unlikely will be… on he market offering services around MySQL and LAMP and MySQL is one of them. Plus …