<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MySQL&#039;s query cache explained</title>
	<atom:link href="http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:43:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: tom3k</title>
		<link>http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/#comment-13988</link>
		<dc:creator>tom3k</dc:creator>
		<pubDate>Tue, 31 Mar 2009 09:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/#comment-13988</guid>
		<description>well writen.

thanks!</description>
		<content:encoded><![CDATA[<p>well writen.</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moe</title>
		<link>http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/#comment-13962</link>
		<dc:creator>Moe</dc:creator>
		<pubDate>Wed, 18 Mar 2009 19:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/#comment-13962</guid>
		<description>I know this is off topic, but I was wondering if you have ever seen the following:

[MySQL][ODBC 3.51 Driver]Can&#039;t create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

The server is a W2k3 server, with Dual Xeon Duo Core with 12 gb ram. Memory usage is at 10gb available when it crashes. I don’t think this is a hardware limitation.

I have attached our my.ini file. Currently, the system crashes at 1280 connections. Is there any way we can adjust the file so we can maximize the connections until we re-develop our software?

The My.ini has the following settings:

max_connections=2047</description>
		<content:encoded><![CDATA[<p>I know this is off topic, but I was wondering if you have ever seen the following:</p>
<p>[MySQL][ODBC 3.51 Driver]Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug</p>
<p>The server is a W2k3 server, with Dual Xeon Duo Core with 12 gb ram. Memory usage is at 10gb available when it crashes. I don’t think this is a hardware limitation.</p>
<p>I have attached our my.ini file. Currently, the system crashes at 1280 connections. Is there any way we can adjust the file so we can maximize the connections until we re-develop our software?</p>
<p>The My.ini has the following settings:</p>
<p>max_connections=2047</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: major</title>
		<link>http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/#comment-12843</link>
		<dc:creator>major</dc:creator>
		<pubDate>Sun, 01 Feb 2009 15:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/#comment-12843</guid>
		<description>Moe,

The query cache only holds the results of the queries, but it is very picky.  For example, these two queries are seen as completely different by the query cache:

SELECT column FROM table;
select column from table;

If you make a large select, and then make a smaller select later, the second query will not be able to utilize the cached result from the first.  When tables are removed or rows are updated, the related data in the query cache is removed, which can be an expensive operation when multiplied over thousands of queries.</description>
		<content:encoded><![CDATA[<p>Moe,</p>
<p>The query cache only holds the results of the queries, but it is very picky.  For example, these two queries are seen as completely different by the query cache:</p>
<p>SELECT column FROM table;<br />
select column from table;</p>
<p>If you make a large select, and then make a smaller select later, the second query will not be able to utilize the cached result from the first.  When tables are removed or rows are updated, the related data in the query cache is removed, which can be an expensive operation when multiplied over thousands of queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moe</title>
		<link>http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/#comment-12842</link>
		<dc:creator>Moe</dc:creator>
		<pubDate>Sun, 01 Feb 2009 15:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/2007/08/08/mysqls-query-cache-explained/#comment-12842</guid>
		<description>We make medical systems for physicians which store a fair amount of data in MySQL.  However, only a small portion of the data (&lt;1%) is used on a given day.  

So here is my question related to the article.  Is only the results of the query stored using the query cache or is MySQL aware that the data is in memory and will seek it there first.  For example, when someone selects a patient and goes into their record, we run a query to look up that patients information specifying the patient exactly.

Could I run a larger query resulting in all the patients for a given day, and then when I run the query for that specific patient it would give the response I am looking for?

My second question is, what happens if the underlying data changes, does the query cache up date itself?

Thanks
Moe.</description>
		<content:encoded><![CDATA[<p>We make medical systems for physicians which store a fair amount of data in MySQL.  However, only a small portion of the data (&lt;1%) is used on a given day.  </p>
<p>So here is my question related to the article.  Is only the results of the query stored using the query cache or is MySQL aware that the data is in memory and will seek it there first.  For example, when someone selects a patient and goes into their record, we run a query to look up that patients information specifying the patient exactly.</p>
<p>Could I run a larger query resulting in all the patients for a given day, and then when I run the query for that specific patient it would give the response I am looking for?</p>
<p>My second question is, what happens if the underlying data changes, does the query cache up date itself?</p>
<p>Thanks<br />
Moe.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

