Advanced Total found: 66
Posts (42) Pages (0) Comments (24)

July 27, 2006

Post: MySQL Query Cache

Posted by peter |
… to hack wordpress to support eaccelerator cache or memcached. Well honestly speaking if …_type to “DEMAND” and use only SQL_CACHE hint for queries which you…whole objects rather than individual queries. No control on invalidation Table granularity is…

August 9, 2006

Post: Cache Performance Comparison

Posted by peter |
… performance bottleneck, assuming PHP opcode cache is not used. Also different…tuning ? Not surpising associative array cache performs the best, almost 4…good way to go. File Cache is good for long term…good when there is no other cache If you do not…

August 28, 2007

Post: To SQL_CALC_FOUND_ROWS or not to SQL_CALC_FOUND_ROWS?

Posted by Alexey Kovyrin |
…c LIMIT 5; Results with SQL_CALC_FOUND_ROWS are following…separate queries: mysql> SELECT SQL_NO_CACHE * FROM count_test WHERE…at EXPLAINs: mysql> explain SELECT SQL_CALC_FOUND_ROWS * FROM count…b> 1.8 seconds for SQL_CALC_FOUND_ROWS. 1.8…

November 26, 2008

Post: Using Multiple Key Caches for MyISAM Scalability

Posted by peter |
…), allocating key_cache proportional to their size and load, but no more than … table_name in (”a”,”b”); +——————————————————————————————-+ | concat(”CACHE INDEX “,table_schema,”.”,table_name,” IN…

September 12, 2007

Post: Query Profiling with MySQL: Bypassing caches

Posted by peter |
… this “I’m using SQL_NO_CACHE but my query is … buffers. There is also table_cache both MySQL side and Internal…only lightly, the hardware IO cache may however cause dramatic difference…course to reboot. For Hardware Caches it is more hardware specific…

April 28, 2008

Post: The MySQL optimizer, the OS cache, and sequential versus random I/O

Posted by Baron Schwartz |
…be satisfied from the operating system cache, or whether it’ll have to…run for days and never complete. No one ever let it finish to… instead of being read from cache. Now the STRAIGHT_JOIN becomes … of knowledge about the OS cache. This is why an expert …

April 20, 2008

Post: Updated msl (microslow) patch, installation walk-through!

Posted by Maciej Dobrzanski |
… patching file sql/slave.cc patching file sql/sql_cache.cc …should be now available in sql subdirectory: (garfield:~/work/mysql-5…mysql-5.0.51a) % strip sql/mysqld (garfield:~/work/mysql-5…most convenient time, there is no rush. The restart can take…

August 2, 2006

Post: MySQL Prepared Statements

Posted by peter |
…on data conversion and copying Avoid SQL Injection Save memory on handling blobs… of using prepared statements: Query cache does not work Extra server round… Few notes: There is no statement cache – You can allocate multiple …

March 19, 2009

Comment: MySQL random freezes could be the query cache

Posted by Antony Curtis |
… better is for someone to go into the sql_cache.cc and remove the silly “mutex … it, just a single trylock and if no joy, proceed as if there is a cache miss. The spin is very expensive as it… the code has lasted this long with no one allowed to clean it up)

January 22, 2010

Comment: When should you store serialized objects in the database?

Posted by Robert Hodges |
… data to be replicated with index and metadata stored in SQL types, hence exactly what you recommend. I have used …, and is a good reason to go for a No-SQL solution or start figuring out to cache more effectively within process memory. We are looking at …