June 18, 2013

Post: Is Synchronous Replication right for your app?

… they tend not to think too much about is if moving…we can have all sorts modifications floating around … it with by fsyncing to memory (Battery or capacitor-backed …MySQL replication from this instance, since MySQL replication is asynchronous. What about semi-sync MySQL replication? It’s actually much

Post: MySQL Server Memory Usage

MySQL Server so it uses too small amount of memory it will likey perform suboptimally. If you however configure it so it consumes too much memory…, sorts, or need temporary tables as much as read_buffer_size, sort_buffer_size, read_rnd_buffer_size, tmp_table_size of memory might…

Post: 10+ Ways to Crash or Overload MySQL

…cases you can use result overload to make MySQL to consume so much memory so it will swap badly until … tables ? This can be offset by keeping myisam_sort_buffer_size low, but then performance would suffer. …is some global quotas so it can’t consume too much memory and also you can’t get all of …

Post: Wanted: Better memory profiling for MySQL

… find MySQL using too much memory. I would look at memory consumed by Innodb (it is often higher than innodb_buffer_pool_size) substract memory used… global resource management for MySQL, ie so I could restrict global temporary space for temporary tables or sort memory. Though I’m not…

Post: MySQL EXPLAIN limits and errors.

…time In MySQL 5.0 with addition of greedy join the problem on looking at too many table…at which stage MySQL actually perform the sort or creates temporary table and so how much rows will be…memory temporary table. The other thing – since MySQL 4.1 sorting can be done with storing row data in the sort

Post: How much memory can MySQL use in the worst case?

… + (read_buffer_size + sort_buffer_size)*max_connections”. …stack, etc)? Those take memory too. The query cache …, 0 rows affected (2.34 sec) mysql> select get_lock(@a, 1); +—————–+ | get_lock(@…much, in my opinion. I think it’s far better to use a monitoring tool to watch the actual memory

Post: Why MySQL could be slow with large tables ?

…indexes. In fact even MySQL optimizer currently does not take it into account. For In memory workload index accesses …tables being small it would not slow things down too much. On other hand join of few large tables, …(the work is on a way) – MySQL can’t do hash join or sort merge join – it only can …

Post: What to tune in MySQL Server after installation

…for people to work as MySQL DBAs or be involved with MySQL Performance in some way…memory available. innodb_additional_mem_pool_size This one does not really affect performance too much, at least on OS with decent memory…reason to increase sort_buffer_size even if you have 64GB of memory to waste. …

Post: MySQL 5.5 and MySQL 5.6 default variable values differences

sorts for which allocation of 2M for sort buffer was very expensive. It can negatively impact some large sorts though shifting to sort merge much… allowing MySQL to handle larger queries. Makes sense as amount of memory available is much … default as value of 1M is too small to be practical if someone…

Post: Review of MySQL 5.6 Defaults Changes

…_errors = 100 10 or 100 does not make much difference if you get some sporadic network errors… well too small to be useful but leaves impression it does not need to be configured. sort_buffer_size… amounts of memory we have in the phones these days, I made in my Optimizing MySQL Configuration Webinar …