Quantcast
Channel: MySQL Performance Blog » Search Results » mysql performance memory cache
Browsing all 96 articles
Browse latest View live

Post: Read/Write Splitting with PHP Webinar Questions Followup

… I’d recommend storing $_SESSION in an in-memory data store such as Memcached or APC.  Store …/ contrast this approach with using a write-through cache? A: The InnoDB buffer pool is effectively a… be...

View Article


Post: MySQL 5.6: Improvements in the Nutshell

…outline of improvements available in MySQL 5.6 which I …Log – Fight Cache Coherence and False Sharing issues – Reduced Innodb Memory Fragmentation – Reduced …Information Tables – - Buffer Pool...

View Article


Post: Sphinx search performance optimization: attribute-based filters

… actually stores them in memory. In fact, it requires that all attributes fit in memory or the server performance will be simply unbearable… in 155ms. Doing the same thing in MySQL, assuming user_id...

View Article

Post: How does MySQL Replication really work?

…. These are covered pretty well in the MySQL manual here. Put simply, the events can …performance, not writes. Let me explain this further. Assume you have a RAID10 with a bunch of disks and...

View Article

Post: Is there room for more MySQL IO Optimization?

… for innodb_buffer_pool which with other memory needs leaves roughly 1GB for OS Cache. Here is pt-summary snippet: # Percona Toolkit… pool size and OS cache which is available. I run CHECK TABLE on...

View Article


Post: Profiling MySQL Memory Usage With Valgrind Massif

…memory profile slowly growing overtime, indicating a possible memory bug. Whatever the reason, there is a simple but powerful way to profile MySQL memory…cache*, st_mysql_mutex*,...

View Article

Post: MySQL 5.5 and MySQL 5.6 default variable values differences

...mysql-5.5.30-linux2.6-x86_ | /mnt/nfs/dist/mysql-5.6.10-linux-glibc2. | | PERFORMANCE_SCHEMA_MAX_COND_INSTANCES | 1000 | 836 | | PERFORMANCE...now allowing MySQL to handle larger queries. Makes...

View Article

Post: MySQL Wish for 2013 - Better Memory Accounting

… how much memory was allocated for Innodb Buffer Pool or Query Cache but amount of memory used for example for Table Cache can be… Performance Schema “wait names” we could get something similar in...

View Article


Post: MySQL Workshops: Chicago & London this April

…caching, message queuing, database sharding, and replication. Optimize MySQL schema and indexes to support efficient queries. Instrument applications to measure performance…The post Post: MySQL...

View Article


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

… tuning was done. The goal was to see how MySQL 5.6 performs out-of-the-box as compared to 5.5… cores). 12GB memory 4 disk 7200RPM RAID 10 array with 512MB write-back cache  Star Schema Benchmark –...

View Article

Post: Why you should ignore MySQL's key cache hit ratio

… and forget it. If you have enough memory, who cares. The memory isn’t allocated until it’s used … in MySQL to guide your decisions. It is also not the be-all and end-all of MySQL performance, …...

View Article

Post: MySQL Server Memory Usage

… about memory usage are quite understandable. If you configure MySQL Server so it uses too small amount of memory it will likey perform suboptimally… them still can have very large memory consumption...

View Article

Post: Read Buffers, mmap, malloc and MySQL Performance

… only global user data is expected to be cached on startup but even if it is …profile (often together with strace) are great tools for MySQL Performance analyses. Too many people end tuning on plans…...

View Article


Post: MySQL Performance on Memory Appliance

… out MySQL Performance on “Memory Appliance” by Violin Memory which can be used as extremely high speed storage system. I helped Violin Memory to optimize MySQL… and tested in such condition – normal...

View Article

Post: Cache Performance Comparison

… for MySQL Performance tuning ? Not surpising associative array cache performs the best, almost 4 times faster than APC shared memory cache – closest competitor. In real life performance difference...

View Article


Post: The write cache: Swap insanity tome III

Swapping has always been something bad for MySQL performance but it is even more important for HA systems. It … to interleave the allocation of memory for the MySQL process using the numactl utility,...

View Article

Post: Cache Performance Comparison

… for MySQL Performance tuning ? Not surpising associative array cache performs the best, almost 4 times faster than APC shared memory cache – closest competitor. In real life performance difference...

View Article


MySQL Wish for 2013 – Better Memory Accounting

With Performance Schema improvements in MySQL 5.6 I think we’re in the good shape with insight on what is causing performance bottlenecks as well as where CPU resources are spent. (Performance Schema...

View Article

Image may be NSFW.
Clik here to view.

Is there room for more MySQL IO Optimization?

I prefer to run MySQL with innodb_flush_method=O_DIRECT in most cases – it makes sure there is no overhead of double buffering and I can save the limited amount of file system cache I would normally...

View Article

How does MySQL Replication really work?

While we do have many blog posts on replication on our blog, such as on replication being single-threaded, on semi-synchronous replication or on estimating replication capacity, I don’t think we have...

View Article
Browsing all 96 articles
Browse latest View live