<?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: Building high-loaded portal &#8211; InnoDB vs MyISAM</title>
	<atom:link href="http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/feed/" rel="self" type="application/rss+xml" />
	<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/</link>
	<description>Notes on the web-development and artificial intelligence.</description>
	<lastBuildDate>Fri, 10 Sep 2010 19:52:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alexandru Georoceanu</title>
		<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/comment-page-1/#comment-161</link>
		<dc:creator>Alexandru Georoceanu</dc:creator>
		<pubDate>Wed, 31 Mar 2010 09:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://konstantin.takeforce.net/?p=5#comment-161</guid>
		<description>A solution for your search, instead of sphinx, would be Lucene.
You can either use the Java (faster, better, newer, maybe a bit harder to implement) version ( http://lucene.apache.org/java/docs/ ), or you can use the Zend&#039;s port to PHP version Lucene ( http://framework.zend.com/manual/en/zend.search.lucene.html ) included in the Zend Framework.

Good luck</description>
		<content:encoded><![CDATA[<p>A solution for your search, instead of sphinx, would be Lucene.<br />
You can either use the Java (faster, better, newer, maybe a bit harder to implement) version ( <a href="http://lucene.apache.org/java/docs/" rel="nofollow">http://lucene.apache.org/java/docs/</a> ), or you can use the Zend&#8217;s port to PHP version Lucene ( <a href="http://framework.zend.com/manual/en/zend.search.lucene.html" rel="nofollow">http://framework.zend.com/manual/en/zend.search.lucene.html</a> ) included in the Zend Framework.</p>
<p>Good luck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konstantin Mirin</title>
		<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/comment-page-1/#comment-119</link>
		<dc:creator>Konstantin Mirin</dc:creator>
		<pubDate>Fri, 02 Oct 2009 04:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://konstantin.takeforce.net/?p=5#comment-119</guid>
		<description>Yes, you&#039;re right.
InnoDB is better for the high-loaded system because it can recover from crashes and, by the way, it is better than MySIAM even for high reding volumes, see the mysqlperformaceblog (http://www.mysqlperformanceblog.com/2007/01/08/innodb-vs-myisam-vs-falcon-benchmarks-part-1/)
InnoDB beats MyISAM almost everywhere :)</description>
		<content:encoded><![CDATA[<p>Yes, you&#8217;re right.<br />
InnoDB is better for the high-loaded system because it can recover from crashes and, by the way, it is better than MySIAM even for high reding volumes, see the mysqlperformaceblog (<a href="http://www.mysqlperformanceblog.com/2007/01/08/innodb-vs-myisam-vs-falcon-benchmarks-part-1/" rel="nofollow">http://www.mysqlperformanceblog.com/2007/01/08/innodb-vs-myisam-vs-falcon-benchmarks-part-1/</a>)<br />
InnoDB beats MyISAM almost everywhere <img src='http://programmersnotes.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/comment-page-1/#comment-118</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Mon, 28 Sep 2009 17:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://konstantin.takeforce.net/?p=5#comment-118</guid>
		<description>myisam is better for high read volumes, innodb for high update volumes due to table vs. row locking.

innodb is journaled, and can recover from crashes where myisam can&#039;t, much like NTFS vs. FAT file systems.

myisam has full-text indexing, innodb doesn&#039;t.

innodb has transaction support, commits and rollbacks, myisam lacks these.</description>
		<content:encoded><![CDATA[<p>myisam is better for high read volumes, innodb for high update volumes due to table vs. row locking.</p>
<p>innodb is journaled, and can recover from crashes where myisam can&#8217;t, much like NTFS vs. FAT file systems.</p>
<p>myisam has full-text indexing, innodb doesn&#8217;t.</p>
<p>innodb has transaction support, commits and rollbacks, myisam lacks these.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konstantin Mirin</title>
		<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/comment-page-1/#comment-117</link>
		<dc:creator>Konstantin Mirin</dc:creator>
		<pubDate>Tue, 26 May 2009 05:24:52 +0000</pubDate>
		<guid isPermaLink="false">http://konstantin.takeforce.net/?p=5#comment-117</guid>
		<description>Thanks for commenting! It actually doesn&#039;t matter cause I can translate your comments if I see them interesting :) Keep reading my blog and feel free about commenting.
Regarding your comment, yes I also use these things. I like setting initial values the beforeValidate (if that&#039;s user ID or other data needed for validation) or beforeSave methods. It&#039;s very convenient to put data integrity tasks to the model instead of controller.</description>
		<content:encoded><![CDATA[<p>Thanks for commenting! It actually doesn&#8217;t matter cause I can translate your comments if I see them interesting <img src='http://programmersnotes.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Keep reading my blog and feel free about commenting.<br />
Regarding your comment, yes I also use these things. I like setting initial values the beforeValidate (if that&#8217;s user ID or other data needed for validation) or beforeSave methods. It&#8217;s very convenient to put data integrity tasks to the model instead of controller.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jz</title>
		<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/comment-page-1/#comment-116</link>
		<dc:creator>jz</dc:creator>
		<pubDate>Tue, 26 May 2009 00:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://konstantin.takeforce.net/?p=5#comment-116</guid>
		<description>In Russian:
Ограничения внешних ключей бывают очень полезны, если в проекте используется доступ к данным из различных скриптов (PHP, Python, etc.) Тогда не надо задумываться, что и где удалять. А в Yii есть прекрасная возможность задавать свои обработчики событий в модели данных. Например, у меня так удаляются связанные с позицией каталога файлы.

P.S. Понимаю по-английски, но плохо на нём говорю и поэтому пишу по русски. Дай знать, если так поступать не стоит и лучше пытаться высказывать мысль на плохом английском)
------
English translation by Konstantin:
Foreign key restrictions may be very useful if you have several methods to access at in you project (from PHP, Python etc). If you have this, you don&#039;t need to think what delete and where. [I guess, he means cascade delete]. And in Yii there is an excellent feature - set event handlers in the data model. For example, I delete product files when item is removed from the catalogue using this technique.
P.S. I understand English, but I don&#039;t know it good enough to express my thoughts correctly. Let me know if I should rather use bad English instead of good Russian.</description>
		<content:encoded><![CDATA[<p>In Russian:<br />
Ограничения внешних ключей бывают очень полезны, если в проекте используется доступ к данным из различных скриптов (PHP, Python, etc.) Тогда не надо задумываться, что и где удалять. А в Yii есть прекрасная возможность задавать свои обработчики событий в модели данных. Например, у меня так удаляются связанные с позицией каталога файлы.</p>
<p>P.S. Понимаю по-английски, но плохо на нём говорю и поэтому пишу по русски. Дай знать, если так поступать не стоит и лучше пытаться высказывать мысль на плохом английском)<br />
&#8212;&#8212;<br />
English translation by Konstantin:<br />
Foreign key restrictions may be very useful if you have several methods to access at in you project (from PHP, Python etc). If you have this, you don&#8217;t need to think what delete and where. [I guess, he means cascade delete]. And in Yii there is an excellent feature &#8211; set event handlers in the data model. For example, I delete product files when item is removed from the catalogue using this technique.<br />
P.S. I understand English, but I don&#8217;t know it good enough to express my thoughts correctly. Let me know if I should rather use bad English instead of good Russian.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konstantin Mirin</title>
		<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/comment-page-1/#comment-115</link>
		<dc:creator>Konstantin Mirin</dc:creator>
		<pubDate>Thu, 21 May 2009 14:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://konstantin.takeforce.net/?p=5#comment-115</guid>
		<description>Yes, I googled for the phrase, but didn&#039;t find good results, so I asked about it.
Sure I know about foreign key constraints. That&#039;s an excellent thing, but I didn&#039;t use cascade deleting, I delete them manually because there should be other things to be done with deleting :)
However, this feature is really nice.

I knew about constraints, but main advantage for me was the speed for SELECT queries and row-level lock instead of table-level in MyISAM. That&#039;s more important for the portal :)</description>
		<content:encoded><![CDATA[<p>Yes, I googled for the phrase, but didn&#8217;t find good results, so I asked about it.<br />
Sure I know about foreign key constraints. That&#8217;s an excellent thing, but I didn&#8217;t use cascade deleting, I delete them manually because there should be other things to be done with deleting <img src='http://programmersnotes.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
However, this feature is really nice.</p>
<p>I knew about constraints, but main advantage for me was the speed for SELECT queries and row-level lock instead of table-level in MyISAM. That&#8217;s more important for the portal <img src='http://programmersnotes.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonah</title>
		<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/comment-page-1/#comment-114</link>
		<dc:creator>Jonah</dc:creator>
		<pubDate>Thu, 21 May 2009 14:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://konstantin.takeforce.net/?p=5#comment-114</guid>
		<description>I like foreign key constraints.  It keeps the integrity of the database and allows for things such as collapsing (like if one row is deleted, all it&#039;s foreign rows can be configured to automatically be deleted).  InnoDB has this but not MyISAM. It can be Googled.</description>
		<content:encoded><![CDATA[<p>I like foreign key constraints.  It keeps the integrity of the database and allows for things such as collapsing (like if one row is deleted, all it&#8217;s foreign rows can be configured to automatically be deleted).  InnoDB has this but not MyISAM. It can be Googled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konstantin Mirin</title>
		<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/comment-page-1/#comment-113</link>
		<dc:creator>Konstantin Mirin</dc:creator>
		<pubDate>Wed, 20 May 2009 19:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://konstantin.takeforce.net/?p=5#comment-113</guid>
		<description>Do you mean that&#039;s good for you or bad? Sorry, English is not the native language for me...</description>
		<content:encoded><![CDATA[<p>Do you mean that&#8217;s good for you or bad? Sorry, English is not the native language for me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonah</title>
		<link>http://programmersnotes.info/2009/05/20/building-high-loaded-portal-innodb-vs-myisam/comment-page-1/#comment-112</link>
		<dc:creator>Jonah</dc:creator>
		<pubDate>Wed, 20 May 2009 19:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://konstantin.takeforce.net/?p=5#comment-112</guid>
		<description>InnoDB has foreign constraints, MyISAM does not.  That&#039;s the breaker for me</description>
		<content:encoded><![CDATA[<p>InnoDB has foreign constraints, MyISAM does not.  That&#8217;s the breaker for me</p>
]]></content:encoded>
	</item>
</channel>
</rss>
