June 19, 2013

Post: The case for getting rid of duplicate “sets”

data is stored inside of a histogram in the set. The cardinality and the distribution is always known. Second, computation on the compressed data… table. mysql> delete from data where val=16; Query OK, 1 row affected (3.14 sec) mysql> select val, count(distinct id) from data where…

Post: MySQL 5.6.10 Optimizer Limitations: Index Condition Pushdown

of data (just one column) and can take advantage of the covering index technique, did actually take more time to execute: mysqlof rows read at SQL layer is actually very different from the “rows” value seen above. This is because the second part of

Post: Flexviews - part 3 - improving query performance using materialized views

…) Data dictionary Here is a quick example of the list of tables used by the above view, as stored in the data dictionary: mysql> select…: mysql> call flexviews.refresh( -> flexviews.get_id(‘demo’, -> ‘dashboard_customer_sales’),’BOTH’,NULL); Query OK, 0 rows affected (7.01 sec) The second one…

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

… that key.  It then uses data from that random row to look up a second piece of information via email address.  Because… am still getting a really solid # of hits in memcached, but the # of writes in MySQL coupled with the still large # of reads takes its… via that key. It then uses data from that random row to look up a second piece of information via email address. Because the…

Post: Investigating MySQL Replication Latency in Percona XtraDB Cluster

… to MySQL replication latency — or better yet, call it data propagation latency. It was interesting to see whenever I can get stale data reads… times faster still taking tens of seconds for what I would consider medium size transaction modifying 1 million of rows is rather long time…

Post: Why MySQL could be slow with large tables ?

… inner works of MySQL. If you design your data wisely considering what MySQL can do and what it can’t you will get great perfomance… can get 100MB/sec read speed which gives us about 1.000.000 rows per second for fully sequential access, jam packed rows – quite…’ll need to perform 30 millions of random row reads, which gives us 300.000 seconds with 100 rows/sec rate. So we would…

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

getting it configured. The second part will compare query results between MyISAM FTS and InnoDB FTS over the same dataof my DIR data. So, with all of that out of the way, let’s getrows in set (0.00 sec) mysql> delete from dir_test_innodb LIMIT 200000; Query OK, 200000 rows affected (8.65 sec) mysql

Post: How fast can MySQL Process Data

data processing limitations of current systems. This raises valid question how fast can MySQL process (filter) datarows per second it will be able to do? CREATE TABLE `m` ( `i` int(11) NOT NULL ) ENGINE=MEMORY DEFAULT CHARSET=latin1 mysql

Post: How fast can you sort data with MySQL ?

… table scan of the table completes in 0.22 seconds giving us about 4.5 Million of rows/sec. Obviously we can’t get sorted… | 81980bcd9dbaa565f22a93ce1faf9e9d53407f0a | +——–+——————————————+ 10 rows in set (0.56 sec) Not bad ! Even though MySQL does not optimize “get top N sorted rows” very well it… get the data. And this is with minimum sort_buffer allowed when a lot of sort merge passes are required for sort completion: mysql

Post: MySQL EXPLAIN limits and errors.

… cost of the operation – full table scan of table in memory may be done at speed of millions of rows per second, while retrieval of large rows from… the data, methods used, costs etc. Simple table like output format is good but with growing MySQL Server complexity it is getting impossible…