June 18, 2013

Post: MySQL 5.6 vs MySQL 5.5 and the Star Schema Benchmark

in set (0.00 sec) After running the query, see how many pages were read from disk versus how many page requests their were: mysqltable_name, index_name, count(*) pages, sum(is_old=’YES’) old, count(*) – sum(is_old=’YES’) hot, sum(number_records) records

Post: ANALYZE: MyISAM vs Innodb

count in the table) It is worth to note if you do ALTER TABLE Innodb, same as MyISAM will internally run analyze as soon as tableTABLE for Innodb couple of more times to see how values change: mysql> analyze table antest_innodb; +——————–+———+———-+———-+ | Table

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

table creation time. Once I’ve got a table with an explicit FTS_DOC_ID column, however, MySQL

Post: MySQL-Memcached or NOSQL Tokyo Tyrant - part 1

same benchmarks in Tokyo tyrant. All to often people force themselves into using a database like MySQLin the database. Rinse and repeat. Sure these setups vary sometimes, throwing in a “lookup” via username, or even the rare counthow many

Post: Shard-Query turbo charges Infobright community edition (ICE)

in the table: mysql> select count(*), count(distinct UniqueCarrier) from dim_flightG *************************** 1. row *************************** count(*): 58625 count(distinct UniqueCarrier): 29 1 row ina list of the queries, followed by a response time table recording the actual response times

Post: How much memory Innodb locks really take ?

in this table and see how long does it take: mysql> begin; Query OK, 0 rows affected (0.00 sec) mysql> select countin set (8.60 sec) Interestingly enough this statement already takes 1.5 seconds longer (I repeated runs many time

Post: UDF -vs- MySQL Stored Function

times faster which is interesting as it shows how much overhead you have by using mysqltable of 7 million records: mysql> select count(*) from paintings where title != ltrim_junk(title); +———-+ | count(*) | +———-+ | 101533 | +———-+ 1 row in set (6.82 sec) mysql> select count

Post: Best kept MySQLDump Secret

mysql> show tables; +——————–+ | Tables_in_dumptest | +——————–+ | A | | B | | C | +——————–+ 3 rows in set (0.00 sec) mysql> select count(*) from A; +———-+ | count(*) | +———-+ | 2359296 | +———-+ 1 row in set (1.73 sec) mysql

Post: MySQL Server Memory Usage

a lot of memory Prepared statements and Cursors. Single connection may have manyMySQL server out of memory MyISAM buffers. MyISAM may allocate buffer which is large enough to contain largest record in the given tabletimecounted

Post: Analyzing air traffic performance with InfoBright and MonetDB

same data to LucidDB, but I was not successful in this. I tried to analyze atime: 0.5s for MonetDB and 2.92s for InfoBright. Warnings: do not try EXPLAIN this query in InfoBright. MySQLmany records, there is query select year,count(*) as c1 from ontime group by YEAR which shows how many records