<?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: Why MySQL could be slow with large tables ?</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Cristina Fon</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-884423</link>
		<dc:creator>Cristina Fon</dc:creator>
		<pubDate>Thu, 02 Feb 2012 12:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-884423</guid>
		<description>Need help! I was on a windows server with mysql and get faster and moved to a linux machine with 24 G of memory. It was very slow and the process that ran on another machine that took 1 hour this is 6 hours. The tables are large and when I select a table that is locked to insert. Someone could help me, perhaps the my.cnf configuration, the team was named the server my.cnf for large tables. Thank you</description>
		<content:encoded><![CDATA[<p>Need help! I was on a windows server with mysql and get faster and moved to a linux machine with 24 G of memory. It was very slow and the process that ran on another machine that took 1 hour this is 6 hours. The tables are large and when I select a table that is locked to insert. Someone could help me, perhaps the my.cnf configuration, the team was named the server my.cnf for large tables. Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: francis</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-883654</link>
		<dc:creator>francis</dc:creator>
		<pubDate>Tue, 31 Jan 2012 16:57:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-883654</guid>
		<description>i also have problems with my queries i tried to optimized mysql using the explain and i got 1 row result per table except the master table in which it has 13,000 records.  i joined  6 tables and the result using explain is

Tables    Result         
master    130000   Sorting, temporary...
subrtable    1    overal records is 20
subtable2   100 overal records is 100
subtable3   1    - overal records is 13,0000
subtable4   1    - the overall records of this is more than 100 thousand records

running the query with subtable4 took 36 - 59 secs
running the query without took 6 secs

i want to have at less 1 sec run per query. any help is very much appreciated thanks</description>
		<content:encoded><![CDATA[<p>i also have problems with my queries i tried to optimized mysql using the explain and i got 1 row result per table except the master table in which it has 13,000 records.  i joined  6 tables and the result using explain is</p>
<p>Tables    Result<br />
master    130000   Sorting, temporary&#8230;<br />
subrtable    1    overal records is 20<br />
subtable2   100 overal records is 100<br />
subtable3   1    &#8211; overal records is 13,0000<br />
subtable4   1    &#8211; the overall records of this is more than 100 thousand records</p>
<p>running the query with subtable4 took 36 &#8211; 59 secs<br />
running the query without took 6 secs</p>
<p>i want to have at less 1 sec run per query. any help is very much appreciated thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-862673</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 23 Dec 2011 21:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-862673</guid>
		<description>So joins are good if selecting only a few items, but probably not good if selecting nearly an entire table (A) to then be joined with nearly another table (B) in a one-to-many join?

I&#039;m considering doing this with a 1 min cron. But, would this (nearly full table joins within a script that runs frequently) be a case were it&#039;d be better to store a small amount of data from table B (the &quot;many&quot;; five or six items; thresholds for notifications actually) as *serialized* data within Table A?

Are huge joins or serialization the greater evil?

(I&#039;ve been struggling with this one for about a week now.)</description>
		<content:encoded><![CDATA[<p>So joins are good if selecting only a few items, but probably not good if selecting nearly an entire table (A) to then be joined with nearly another table (B) in a one-to-many join?</p>
<p>I&#8217;m considering doing this with a 1 min cron. But, would this (nearly full table joins within a script that runs frequently) be a case were it&#8217;d be better to store a small amount of data from table B (the &#8220;many&#8221;; five or six items; thresholds for notifications actually) as *serialized* data within Table A?</p>
<p>Are huge joins or serialization the greater evil?</p>
<p>(I&#8217;ve been struggling with this one for about a week now.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toko Bunga</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-839306</link>
		<dc:creator>Toko Bunga</dc:creator>
		<pubDate>Fri, 11 Nov 2011 03:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-839306</guid>
		<description>Did the reason is normally table design and understanding inner works of MySQL?</description>
		<content:encoded><![CDATA[<p>Did the reason is normally table design and understanding inner works of MySQL?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toko Bunga</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-839299</link>
		<dc:creator>Toko Bunga</dc:creator>
		<pubDate>Fri, 11 Nov 2011 03:00:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-839299</guid>
		<description>Processing in memory is so much faster and you have whole bunch of problems solved just doing so. Use multiple servers to host portions of data set. Store portion of data you’re going to work with in temporary table etc.</description>
		<content:encoded><![CDATA[<p>Processing in memory is so much faster and you have whole bunch of problems solved just doing so. Use multiple servers to host portions of data set. Store portion of data you’re going to work with in temporary table etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian Knopp</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-833260</link>
		<dc:creator>Sebastian Knopp</dc:creator>
		<pubDate>Sat, 22 Oct 2011 06:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-833260</guid>
		<description>@ankit: replications? you could use your master for write queries like, update or insert and the slave for selects. that should increase the speed dramatically.</description>
		<content:encoded><![CDATA[<p>@ankit: replications? you could use your master for write queries like, update or insert and the slave for selects. that should increase the speed dramatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ankit</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-832017</link>
		<dc:creator>ankit</dc:creator>
		<pubDate>Mon, 17 Oct 2011 12:36:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-832017</guid>
		<description>I have 10GB MYISAM table . My website has about 1 million hits daily . Under such a heavy load the SELECT and inserts get slowed . I have the below solutions in mind : 
1. Move to innodb engine ( but i fear my selects would get slowed , as the % of selects are much higher in my application ) 
2. Upgrade to 5.0+ ( currently i am on 4.0) 
3. Partition my tables ( i.e. break my table data into mutliple smaller tables , but this would make thigs very difficult for me to handle) 

Can anybody help me in figuring out a solution to my problem .</description>
		<content:encoded><![CDATA[<p>I have 10GB MYISAM table . My website has about 1 million hits daily . Under such a heavy load the SELECT and inserts get slowed . I have the below solutions in mind :<br />
1. Move to innodb engine ( but i fear my selects would get slowed , as the % of selects are much higher in my application )<br />
2. Upgrade to 5.0+ ( currently i am on 4.0)<br />
3. Partition my tables ( i.e. break my table data into mutliple smaller tables , but this would make thigs very difficult for me to handle) </p>
<p>Can anybody help me in figuring out a solution to my problem .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-824804</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Fri, 23 Sep 2011 21:29:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-824804</guid>
		<description>&quot;fit your data into memory&quot; in a database context means &quot;have a big enough buffer pool to have the table/db fit completely in RAM&quot;.  In InnoDB, have innodb_buffer_pool_size &gt; the size of your database (or at least your table).  In MyISAM, it&#039;s a bit trickier, but make sure key_buffer_size is big enough to hold your indexes and there&#039;s enough free RAM to load the base table storage into the file-system cache.

Obviously, this gets expensive with huge databases, but you still want to have a good percentage of the db in RAM for good performance.</description>
		<content:encoded><![CDATA[<p>&#8220;fit your data into memory&#8221; in a database context means &#8220;have a big enough buffer pool to have the table/db fit completely in RAM&#8221;.  In InnoDB, have innodb_buffer_pool_size &gt; the size of your database (or at least your table).  In MyISAM, it&#8217;s a bit trickier, but make sure key_buffer_size is big enough to hold your indexes and there&#8217;s enough free RAM to load the base table storage into the file-system cache.</p>
<p>Obviously, this gets expensive with huge databases, but you still want to have a good percentage of the db in RAM for good performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-823837</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Tue, 20 Sep 2011 17:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-823837</guid>
		<description>You need a lot of work on your technical writing skills.  Most of your sentences don&#039;t pass as &quot;sentences&quot;.

&quot;So you understand how much having data in memory changed things here is small example with numbers.&quot;  -OMG

How you obtained a masters degree is beyond me.</description>
		<content:encoded><![CDATA[<p>You need a lot of work on your technical writing skills.  Most of your sentences don&#8217;t pass as &#8220;sentences&#8221;.</p>
<p>&#8220;So you understand how much having data in memory changed things here is small example with numbers.&#8221;  -OMG</p>
<p>How you obtained a masters degree is beyond me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alam Florist</title>
		<link>http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/comment-page-3/#comment-809709</link>
		<dc:creator>Alam Florist</dc:creator>
		<pubDate>Sat, 06 Aug 2011 03:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2006/06/09/why-mysql-could-be-slow-with-large-tables/#comment-809709</guid>
		<description>i think indexes can fix the problem.</description>
		<content:encoded><![CDATA[<p>i think indexes can fix the problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

