June 19, 2013

Post: Is VoltDB really as scalable as they claim?

In other words, the “unit of scaling” that is on the x-axis really shouldn’t be the server count, but rather the number of partitions inof that, I’ll tell you: scaling a synchronously replicated, active-active master, fully ACID, always-consistent database to a 40-server

Post: Advanced index analysis with mk-index-usage

…usage into tables in a database, so you can query them with SQL. …server, and store the results in my MySQL sandbox instance. The new option is –save-results-database…_id, db, tbl HAVING COUNT(*) > 1 ) AS qv USING(query_id, db,… these tables any way you want. The documentation includes a number of

Post: Shard-Query EC2 images available

in it’s configuration, so you can use this sample databasenumber of the flight. Some data hand updated.’; — – Table structure for table `ontime_fact` — CREATE TABLEservers.txt” and run the following commands: $ cat servers

Post: Shard-Query adds parallelism to queries

number of concurrent queries which each examine large amounts of data. Since a single query is single threaded inin this blog post. Many database servers can add this parallelism natively, but most of those are not open source. In

Post: Sphinx search performance optimization: multi-threaded search

database whatsoever, it is only a matter of small changes to the sphinx configuration. The Plan First ofnumber oftable in MySQL to define those ranges, mixing it with sql

Post: Be productive with the MySQL command line

… MySQL servers, one day…of the Log Sequence Number during a given period of time. Instead of manually looking for the right line in the output ofSQL words. Instead of manually…of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> select count

Post: Handling big result sets

count(*) from longf; +———-+ | count(*) | +———-+ | 5242880 | +———-+ And simple PHP script which retrieves all rows from the tabledatabase‘); $time_start = microtime(true); // Performing SQLserver needs to convert millions of…while ($stmt->fetch()) { } printf(“Number of rows: %d.\n…in

Post: Speeding up GROUP BY if you want aproximate results

of visits per day. We had SQL logs in the database so It was pretty simple query: select sum(cnt) from (select countserver and I had to kill it in the end. The reason for slowness was of course huge temporary table…distribution but table is to large is to just limit it to first number of rows: mysql>…