… result in loop mysql_fetch_array (here I use PHP functions but they are common or similar for all APIs, including C). Consider table… two parameters and second one is result mode : MYSQLI_USE_RESULT or MYSQLI_STORE_RESULT. (Also there can be used pair mysql_real_query / mysql_use_result…
Post: Shard-Query EC2 images available
… 1988 to 2010′; mysql> use ontime1; Database changed mysql> show table status like ‘ontime_…php genconfig 20 > shards.ini Running the test For best performance, you should run the workers on one or two… pivot_results cd shard-query/ $ ./run_query < queries.sql | tee raw |./pivot_results & [1] 12359…
Post: Flexviews - part 3 - improving query performance using materialized views
…results mysql> select sum(total_lines) from dashboard_customer_sales ; +——————+ | sum(total_lines) | +——————+ | 155186550 | +——————+ 1 row in set (0.64 sec) mysql…
Post: When EXPLAIN estimates can go wrong!
…table that I used for the test: mysql [localhost] {msandbox} (foo2) > show create table test_estimate \G *************************** 1. row *************************** Table: test_estimate Create Table: CREATE TABLE…And the EXPLAIN result, On 5.1: mysql [localhost] {msandbox….mysql.com/bug.php…the two …
Post: Shard-Query turbo charges Infobright community edition (ICE)
…only 29 air carriers in the table: mysql> select count(*), count(distinct UniqueCarrier) from …Shard-Query includes a loader (loader.php) which can be used to… the new schema, and additionally two new test queries have been …”, but once again, the “scale-out” results are the most striking. — Q4 SELECT…
Post: Cache Performance Comparison
… same system. I used two baselines for comparison. First is speed of PHP Associative array. This … results will be wrong. So what is about results and how we can use them for MySQL Performance … MySQL queries. On Selecting from the table I should note MySQL is rather fast selecting from the table as …
Comment: Database problems in MySQL/PHP Applications
…to use query and external caching of result sets is generally a good … data in two separate databases in the same instance of MySQL. If …in my > Why MySQL Could be slow with Large Tables article. Deciding whether … > to crawl. > So developing you PHP applications use test database with reasonable …
Post: Heikki Tuuri answers to Innodb questions, Part II
…writes to about 6 tables, what version of Innodb/MySQL would you recommend? … data corruption, crashes, or wrong query results get the highest priority. We …found and fixed: http://bugs.mysql.com/bug.php?id=29560 Concerning a …/Mysql server for a client, upgrading their main database (from 16GB, 2 two…
Post: Goal driven performance optimization
… effort may well still bring its results but you may waste a lot …MySQL table for larger ones you can log only small portion of them. I usually keep one table…at the data such way we have two great benefits. First we really understand … spend a lot of time optimizing PHP code but because it takes only …

