<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Leric&#039;s Blog &#187; Performance</title>
	<atom:link href="http://www.leric.info/tag/performance/feed" rel="self" type="application/rss+xml" />
	<link>http://www.leric.info</link>
	<description>Temec Nosce</description>
	<lastBuildDate>Sun, 18 Apr 2010 02:32:41 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PostgreSQL性能测试(转)</title>
		<link>http://www.leric.info/post/70.htm</link>
		<comments>http://www.leric.info/post/70.htm#comments</comments>
		<pubDate>Thu, 10 Dec 2009 03:13:39 +0000</pubDate>
		<dc:creator>Leric</dc:creator>
				<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[性能测试]]></category>

		<guid isPermaLink="false">http://leric.net.cn/post/70.htm</guid>
		<description><![CDATA[http://www.randombugs.com/linux/mysql-postgresql-benchmarks.html
很迷惑为什么PostgreSQL这样优秀的一个项目总是不被接受，网上搜出的和MySQL的对比都在说PostgreSQL比MySQL慢得多，而证据都是三四年前的某个测试数据。昨晚找到了一个09年6月的帖子，测试方式还算比较严谨，数据在上面的链接里可以看到，作者得出了以下结论：

MySQL 5.0.51a-24+lenny1 – Debian stable version is the worst performer (also the MySQL version is a little bit old). 
MySQL 5.1.30/InnoDB 1.0.3 with Google SMP patch – Compiled by SUN and InnoDB compiled by ORACLE outperform PostgreSQL in some cases. 
PostgreSQL 8.3.7-0lenny1 – Debian Stable version – It’s a top performer from the Debian standard [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.randombugs.com/linux/mysql-postgresql-benchmarks.html">http://www.randombugs.com/linux/mysql-postgresql-benchmarks.html</a></p>
<p>很迷惑为什么PostgreSQL这样优秀的一个项目总是不被接受，网上搜出的和MySQL的对比都在说PostgreSQL比MySQL慢得多，而证据都是三四年前的某个测试数据。昨晚找到了一个09年6月的帖子，测试方式还算比较严谨，数据在上面的链接里可以看到，作者得出了以下结论：</p>
<ul>
<li>MySQL 5.0.51a-24+lenny1 – Debian stable version is the worst performer (also the MySQL version is a little bit old). </li>
<li>MySQL 5.1.30/InnoDB 1.0.3 with Google SMP patch – Compiled by SUN and InnoDB compiled by ORACLE outperform PostgreSQL in some cases. </li>
<li>PostgreSQL 8.3.7-0lenny1 – Debian Stable version – It’s a top performer from the Debian standard distro and is out performed only by the latest InnoDB 1.0.3. </li>
<li>Differences between PostgreSQL and MySQL 5.1.30/InnoDB 1.0.3 are very small </li>
<li>PostgreSQL is outperforming any MySQL version on Creating, Loading, Created Indexes operations (this can be very usefull on a DB recovery). </li>
<li>I don’t know why PostgreSQL is performing bad on bulk_delete() bulk_modify() querys … is possible to have a glitch in my configurations?</li>
</ul>
<p>除了一个批量删除和批量修改的操作PostgreSQL慢的有点离谱（和MySQL相差6000多倍），应该能算是个Bug了，其他的性能大多还是比MySQL要好的。当然这里都是和InnoDB比较的，若是和MyISAM相比的话，慢点儿也是正常，因为MyISAM的功能太少，少了很多必要的操作和约束，对于任何一个业务系统，没有事务支持都是肯定不行的，不过这在MySQL的主要应用领域——网站上并不是个大问题。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leric.info/post/70.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
