June 19, 2013

Post: Implementing efficient counters with MySQL

…way – they convert read load to write load. When you would simply … deal with is log flushes. If you have innodb_flush_log_at_trx_commit…solutions you can use memcache + another mysql instance (or simply the database which …being very efficient. By doing these delayed updates you can not only reduce…

Post: How much overhead is caused by on disk temporary tables

…a lot of key writes which kill performance. The problem with writes is OS can delay writes only for …happens in practice. mysql> show global status like “key%”; +————————+———+ | Variable_name | Value | +————————+———+ | Key_blocks_not_flushed | 6516 | | …

Post: Percona XtraDB Cluster - installation and setup webinar follow up Q&A

…the NTP standard, if the delay between the hosts is …, galera and built-in mysql replication are independent from each…while holding a lock using FLUSH TABLES WITH READ LOCK. …writes, you can’t scale writes infinitely by adding nodes. I would expect that writing to a few nodes is faster then writing

Post: Shard-Query EC2 images available

…avaialble data from 1988 to 2010′; mysql> use ontime1; Database changed mysql> show table status like ‘ontime_fact’…innodb-file-per-table innodb-flush-log-at-trx-commit=1 innodb-flush-method=O_DIRECT innodb-…timer-based innodb-thread-sleep-delay=0 innodb-use-sys-stats-table innodb-write-io-threads=4 …

Post: MySQL Storage Engines - PBXT

… how transactional system implements logging and dirty buffers flushing has serious impact on performance. The other … if implemented well. It is too bad MySQL Users Conference only allowed 45 minutes for … cache. Write policy however because important at this stage as unless you can delay and group …

Post: MySQL MyISAM Active Active Clustering - looking for trouble ?

…like enabling external locking, disabling query cache and delayed key writes etc. This is as far as many…time for large tables. Furthermore as I remember MySQL simply was not repairing corrupted tables in …not seems to be properly controlled. Manually doing FLUSH TABLES does not really works as it …

Comment: InnoDB Flushing: a lot of memory and slow disk

… it and dig the problem! :-) ) Well, Adaptive Flushing is yet far from optimal in MySQL 5.5, and if it’s not… to delay REDO writes.. – setting innodb_flush_log_at_trx_commit=1 will be probably too radical, but adding a short auto-adaptive delays between REDO writes

Comment: InnoDB Flushing: a lot of memory and slow disk

… it and dig the problem! ) Well, Adaptive Flushing is yet far from optimal in MySQL 5.5, and if it’s not… to delay REDO writes.. – setting innodb_flush_log_at_trx_commit=1 will be probably too radical, but adding a short auto-adaptive delays between REDO writes

Comment: InnoDB Flushing: a lot of memory and slow disk

… it and dig the problem! :-) ) Well, Adaptive Flushing is yet far from optimal in MySQL 5.5, and if it’s not… to delay REDO writes.. – setting innodb_flush_log_at_trx_commit=1 will be probably too radical, but adding a short auto-adaptive delays between REDO writes

Post: SHOW INNODB STATUS walk through

… is done by adjusting innodb_thread_sleep_delay variable. Value is specified in microseconds. mysql tables in use 1, locked 0 is…, read thread and write thread. These are responsible appropriately for insert buffer merges, asynchronous log flushes, read-ahead and flushing of dirty buffers…. If innodb_flush_logs_at_trx_commit=2 log writes are done to OS cache, and being sequential writes these logs writes are pretty…