<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: MySQL query cache	</title>
	<atom:link href="https://www.krazyworks.com/mysql-query-cache/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.krazyworks.com/mysql-query-cache/</link>
	<description>Networking, Systems Design, and Disaster Recovery</description>
	<lastBuildDate>Fri, 21 Aug 2015 02:29:45 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.7.9</generator>
	<item>
		<title>
		By: Malcolm Hudson		</title>
		<link>https://www.krazyworks.com/mysql-query-cache/comment-page-1/#comment-247688</link>

		<dc:creator><![CDATA[Malcolm Hudson]]></dc:creator>
		<pubDate>Fri, 29 Mar 2013 05:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.comradegeneral.com/SysAdmin/?p=123#comment-247688</guid>

					<description><![CDATA[Our server some time gone stuck mysql using heavy ram and load we need to reduce Mysql server memory requirements
For Reducing Mysql server memory requirements I got this info from this link http://wiki.lxcenter.org/Reducing+memory+requirements 

Our dedicated server is 
•Intel N2800 DC 4x1.86 GHz
•RAM 4GB
•HDD 2 x 1TB
•Speed 100Mbps/1Gbps port
•Linux ready
•Software RAID 
And we are using Centos 5 64-bit and kloxo 
1.If I added in file /etc/my.cnf following under and after [mysqld] 

skip-innodb
skip-bdb
skip-locking
port = 3306
key_buffer = 16K
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 64K

2.And at end of file /etc/my.cnf

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash

And try to restart the mysqld then mysqld don&#039;t turn off but start again 

And when we try to access any web then this error comes as follows:
Can&#039;t connect to local MySQL server through socket &#039;/var/lib/mysql/mysql.sock&#039; (2)

And if we remove above then all come back on old position and heavy use of mysqld ram and server load 

How we can solve this problem and how we can reduce server memory requirements?
]]></description>
			<content:encoded><![CDATA[<p>Our server some time gone stuck mysql using heavy ram and load we need to reduce Mysql server memory requirements<br />
For Reducing Mysql server memory requirements I got this info from this link <a href="http://wiki.lxcenter.org/Reducing+memory+requirements" rel="nofollow ugc">http://wiki.lxcenter.org/Reducing+memory+requirements</a> </p>
<p>Our dedicated server is<br />
•Intel N2800 DC 4&#215;1.86 GHz<br />
•RAM 4GB<br />
•HDD 2 x 1TB<br />
•Speed 100Mbps/1Gbps port<br />
•Linux ready<br />
•Software RAID<br />
And we are using Centos 5 64-bit and kloxo<br />
1.If I added in file /etc/my.cnf following under and after [mysqld] </p>
<p>skip-innodb<br />
skip-bdb<br />
skip-locking<br />
port = 3306<br />
key_buffer = 16K<br />
max_allowed_packet = 1M<br />
table_cache = 4<br />
sort_buffer_size = 64K<br />
read_buffer_size = 256K<br />
read_rnd_buffer_size = 256K<br />
net_buffer_length = 2K<br />
thread_stack = 64K</p>
<p>2.And at end of file /etc/my.cnf</p>
<p>[mysqldump]<br />
quick<br />
max_allowed_packet = 16M</p>
<p>[mysql]<br />
no-auto-rehash</p>
<p>And try to restart the mysqld then mysqld don&#8217;t turn off but start again </p>
<p>And when we try to access any web then this error comes as follows:<br />
Can&#8217;t connect to local MySQL server through socket &#8216;/var/lib/mysql/mysql.sock&#8217; (2)</p>
<p>And if we remove above then all come back on old position and heavy use of mysqld ram and server load </p>
<p>How we can solve this problem and how we can reduce server memory requirements?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Salam		</title>
		<link>https://www.krazyworks.com/mysql-query-cache/comment-page-1/#comment-247351</link>

		<dc:creator><![CDATA[Salam]]></dc:creator>
		<pubDate>Tue, 26 Mar 2013 20:04:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.comradegeneral.com/SysAdmin/?p=123#comment-247351</guid>

					<description><![CDATA[I am currently trying to build a blog which goes on top of the forum I&#039;m using. Lets say all topics from forum 2 will go on the blog page. I also need it to call the first post from each of these topics. Would a subquery work in this event, or should I just use multiple queries and cache it somehow?

But there are also going to be other posts that share the same topic, in which case, I don&#039;t want these displayed on the blog page.

Sorry if thats not very clear ;)
Garion
]]></description>
			<content:encoded><![CDATA[<p>I am currently trying to build a blog which goes on top of the forum I&#8217;m using. Lets say all topics from forum 2 will go on the blog page. I also need it to call the first post from each of these topics. Would a subquery work in this event, or should I just use multiple queries and cache it somehow?</p>
<p>But there are also going to be other posts that share the same topic, in which case, I don&#8217;t want these displayed on the blog page.</p>
<p>Sorry if thats not very clear ;)<br />
Garion</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Squall Leonhart		</title>
		<link>https://www.krazyworks.com/mysql-query-cache/comment-page-1/#comment-247208</link>

		<dc:creator><![CDATA[Squall Leonhart]]></dc:creator>
		<pubDate>Mon, 25 Mar 2013 23:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.comradegeneral.com/SysAdmin/?p=123#comment-247208</guid>

					<description><![CDATA[i want people who register to my site to
upload an avatar photo.

and code to retrieve the pic would be appreciated
]]></description>
			<content:encoded><![CDATA[<p>i want people who register to my site to<br />
upload an avatar photo.</p>
<p>and code to retrieve the pic would be appreciated</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gage		</title>
		<link>https://www.krazyworks.com/mysql-query-cache/comment-page-1/#comment-246806</link>

		<dc:creator><![CDATA[Gage]]></dc:creator>
		<pubDate>Sat, 23 Mar 2013 01:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.comradegeneral.com/SysAdmin/?p=123#comment-246806</guid>

					<description><![CDATA[I&#039;ve lost count of the number of times I have closed my client browser because I requested a search I didn&#039;t need. When I do this, do popular webservers (IIS, Apache) tell popular attached database systems (like MsSQL, MySQL, Oracle) to abort the search process or does it carry on running until completion/timeout?
Is this standard functionality or does it rely on the programmer writing it in to the script?
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve lost count of the number of times I have closed my client browser because I requested a search I didn&#8217;t need. When I do this, do popular webservers (IIS, Apache) tell popular attached database systems (like MsSQL, MySQL, Oracle) to abort the search process or does it carry on running until completion/timeout?<br />
Is this standard functionality or does it rely on the programmer writing it in to the script?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
