June 20, 2013

Post: MySQL Query Cache

of usable memory – Queries are constantly being invalidated from query cache by table updates, this means number of queries into be cached. Counting query cache efficiency There are few ways you can look at query_cache efficiency. First looking at number of

Post: Advanced index analysis with mk-index-usage

tables in a database, so you can query them with SQL. I logged all queries to the blog for a little while, and then secure-copied the queryquery these tables any way you want. The documentation includes a number of other canned queries

Post: Sphinx search performance optimization: multi-threaded search

to check – look at your Sphinx query log and look at the number of results matched per queryto split data, you may want these to be ranges by using a helper table in MySQL to define those ranges, mixing it with sql_query

Post: Sphinx: Going Beyond full text search

to mention counting number of links (and number number of distinct forum sites) pointing to the given URL or graphs showing number of links per day. ToSQL databases rather than full text search applications. Group By was added to Sphinx so we could search number of matches per day, or number of

Post: Is VoltDB really as scalable as they claim?

in the cluster; high availability is ensured by keeping more copies of each partition. You query VoltDB with stored procedures, not with arbitrary SQL queriescount from 1 to 12, for k-factors of 0, 1, and 2. The k-factor is the number of redundant copies of

Post: The new cool MySQL patch has landed! Check your queries performance!

in seconds) query spent either waiting to enter the InnoDB queue or inside that queue waiting for execution. InnoDB_pages_distinct tells the number oftable: No Disk_tmp_table: No # Filesort: No Disk_filesort: No Merge_passes: 0 # No InnoDB statistics available for this query SELECT COUNT

Post: Are you designing IO bound or CPU bound application ?

query and these rows are “random access” to large tables (so chances they would require physical IO are high) I would highlight this querynumber of messages in the mailbox at least to draw “pager”. Easy solution is to do select count(*) from messages where user_id=134 or use SQL

Post: Speeding up GROUP BY if you want aproximate results

to count how many hits come to the pages which get more than couple of visits per day. We had SQL logs in the databaseto share which I use a lot when I want to analyze data distribution but table is to large is to just limit it to first number of

Post: Analyzing air traffic performance with InfoBright and MonetDB

to analyze a bigger dataset and I took public available data http://www.transtats.bts.gov/DL_SelectFields.asp?Tableof RAM and Dual Intel(R) Xeon(TM) CPU 3.40GHz. InfoBright (ICE) version: 5.1.14-log build numberin different queries. First favorite query for any database benchmarker is SELECT count

Post: MySQL caching methods and tips

of change in the database tables. This results in unpredictable and therefore, undesirable, performance. The other big problem with the queryof pages is a good way to reduce the number of round trips to the cache. Summary tables Queries that access a lot of