Comments on: Postgres performance http://178.63.27.54:8080/statictangents/2007/07/13/postgres-performance/ Random tangents Wed, 18 Jul 2007 15:18:15 +0000 hourly 1 By: Mark Dennehy http://178.63.27.54:8080/statictangents/2007/07/13/postgres-performance/comment-page-1/#comment-7 Wed, 18 Jul 2007 15:18:15 +0000 http://stochasticgeometry.wordpress.com/2007/07/13/postgres-performance/#comment-7 Jay,
When I said that Postgres is no longer beaten by MySQL for pragmatic web development, I didn’t mean that the benchmark showed that postgres now beats mysql on cheap hardware (though that would be an interesting benchmark to run); I mean that a pragmatic developer is going to look at how many people are expected to concurrently use the site and if that number is hoped to be larger than one, they’ll note that Postgres’s better load characteristics have now been confirmed in a seriously heavy benchmark.

On the second point, you’re right in that MySQL isn’t directly compared to Postgres by those benchmarks, but also right in that it has been in the past — meaning that this result shows that major progress has been made.

However, I’d like to see something more definitive. A properly tuned, properly configured MySQL 5 database versus a properly tuned, properly configured Postgresql 8.2 database, running a heavy real-world app with high numbers of concurrent users, on identical hardware. I’d put my money on Postgres to come out on top, but the margin and the speed-vs-users curves would be the interesting bit.

]]>
By: Jay Pipes http://178.63.27.54:8080/statictangents/2007/07/13/postgres-performance/comment-page-1/#comment-6 Tue, 17 Jul 2007 19:58:41 +0000 http://stochasticgeometry.wordpress.com/2007/07/13/postgres-performance/#comment-6 Hi!

You wrote:

“MySQL might be a toy databas … but it was fast on cheap hardware, and for pragmatic web development, that meant it beat out Postgres every day of the week.

[link: Not any more…]”

Please take a look at the benchmarks. You will notice that they are certainly not using “cheap hardware”. Quite the opposite…

Also, you wrote:

“Basicly, for the first time in a seriouly major benchmark, postgres not only outperformed mysql, but it nearly matched oracle (which was running on hardware that cost more than twice as much).”

Please note that the PostgreSQL benchmark nowhere compared against MySQL, as MySQL did not submit any benchmark results this quarter, so statements like “postgres not only outperformed mysql” are a) not relevant and b) seem to intentionally inflame. I’m not quite sure why Josh mentioned MySQL in his article, but I have to presume it’s because of way early (1998) benchmarks that didn’t show PostgreSQL in a favorable light compared to MySQL. Regardless, MySQL to PostgreSQL is not compared in the benchmarks, but rather the benchmarks show that a very good performance rating can be achieved compared to Oracle on similar, but lower-cost hardware using PG 8.2.

I was one of the first to congratulate the PG dev team for the benchmarks (see my post: http://www.jpipes.com/index.php?/archives/181-Congrats-to-the-PostgreSQLEnterpriseDBSun-Team-for-Benchmarks.html) but let’s make sure to be factually correct when discussing them.

Cheers,

Jay Pipes

]]>