Postgres Beats MySql, Interbase, And Proprietary DBs 254
Mike writes: "An independent organization tested Postgres 7 vs. MySql, Interbase, and two leading commercial databases using the ANSI SQL Standard Scalable And Portable benchmark and found that Postgres was the clear winner. In fact, Postgres was the only open source database to offer similar performance to the two commercial applications. The results are detailed here."
Re:It's all well and good..... (Score:1)
I'm curious, what makes open source automatically have lesser products? I'm not saying that currently PostgreSQL has everything you may need, but does that have to do with open source or just the specific project? Also, I'm not impressed with your amount of data. If you are using a pre-written application, most of them hold and keep _way_ more data than they ever need to. Oracle Applications, for instance, for our 300-person company, took up 1 Gig just for the table definitions! So your 4Tb system could be more from mismanagement than having that much useful data.
Actually, for database applications, the critical component is the hardware (assuming you have a _real_ RDBMS - not MySQL). Sun hardware beats just about anything. If you want to see PostgreSQL being used in the real world, take a look at http://www.pgsql.com/
Have you taken a look at the features in PostgreSQL? They are very, very nice.
Re:Let's hear it for lie, damn lies, and benchmark (Score:5)
Even if there have been "a pretty huge amount of changes" as you state, it's still marked as a beta product. As for myself, I wouldn't use a beta product in a production environment until it's been marked as stable by the developers, no matter how stable other people might say it is. That's why I use MySQL v3.22 right now. If something is marked beta, there is more than likely a reason for it. It would be irresponsible of me to risk using it and risk losing customer's data. I'm sure other businesses and individuals can't afford to take those risks with their data either.
Yeah Statistics (Score:2)
2 out of 13 people don't understand statistics.
45 out of 51 statistics are made up on the spot.
3 out of 4 people don't know how to spell Statistics.
Re:Interbase (Score:2)
A Dick and a Bush .. You know somebody's gonna get screwed.
Re:The Hate-MySQL Squad is out in force1 (Score:2)
>being "SQL compatible" (a debatable term in any
>event). They don't lie about how the competition
>"isn't relational." They don't sneer about how
>the competition is "just a front end to the file
>system."
Have you read the MySQL docs?
Their section on why not to use foreign keys at best makes me laugh, at worst makes me cringe. This sentiment is even shared by most of the MySQL fans I know.
They gloss over their lack of sub-selects with an example that doesn't require the feature.
They gloss over the lack of transactions and commit/rollback syntax by suggesting table locking, which simply is not practical in high volume environments. Moreover, their examples neatly omit the idea that you may need to lock a *LOT* of tables, stalling updates to most of the database in order to circumvent the lack of MVCC.
Whether you want to admit it or not, the drawbacks in MySQL are *VERY* real, and the MySQL documentation trys to play them off as minimal annoyances.
I find their lack of responsibility in this more offensive than a few causally posted insults.
Re:How can I benchmark? (Score:1)
>against both DB's from a vanilla install (and by
>that I mean running './configure' with no flags)
>then I think that would go a long way towards
>giving a more balanced view.
The tests they used ARE standard database benchmarking tests - AS3AP and TPC-C.
As for configuration, I can't rightly say what they did with it, as I wasn't there.
However, running them without any options does not necessarily put them on equal footing. For example, Postgres by default does an fsync after every single write, whereas MySQL does not. This SERIOUSLY impacts performance.
I'm on your side (Score:1)
Re:Is it really ready for production use? (Score:1)
When you've got memory leaks, your server will go down, it's just a matter of time. Once the leaks were fixed, the folks I know using AOLserver+Postgresql who were forced to reboot periodically found their problems disappeared.
We at OpenACS (http://www.openacs.org) have been running our Postgres installations for months at a time with no need to reboot.
It truly has improved dramatically in the last 15 months or so.
Am I a biased Postgres fanatic? Not exactly - when I evaluated 6.4 in January, 1999 I decided it was useless for web work, far too slow and crash-prone. When 6.5 was released it was so dramatically improved that I changed my mind.
And, the OpenACS web toolkit project intends to support both Postgres and Interbase (now that the latter's Open Source), so we're not Postgres-only bigots.
With good reason... (Score:2)
Most of the major DB companies provide DB's for independent benchmarking from organisations like the Transaction Processing Performance Council [tpc.org]. As can be seen from this story [zdnet.com] these tests involve several thousand transactions per second and not several hundred as reached by this Great Bridge sponsored benchmark.
The Queue Principle
Re:Become not the thing you hate (Score:1)
Clearly, if they were open source, their names could be revealed. They have to use SOME word to describe them and owe their users an explanation as to why they don't name names, don't they?
These contract terms really suck, and that's where you should be venting your anger, rather than accusing the benchmark authors of "FUD" just because they adhere to contract terms.
They explained this right in the article, too, maybe you should've read it instead of falling asleep.
Re:All wasn't so fine for us in PG-ville (Score:1)
You can turn off various join strategies in PG 7.0 via "set" commands, not as flexible as Oracle's hints notation to the optimizer but it can help in situations like you describe. At least you get SOME control over the optimizer.
Re:Mysql 3.23 (Score:1)
as many have said before you cannot add transactions to a non-transaction database. transactions are complex entities which require pervasive changes to the code base, and require some _real_ thought how to deal with the issues they bring up. MVCC for example...
anyways, we have postgreSQL, its advanced, its cool, it has a better interface than mysql! why not improve postgreSQL rather than hacking up mysql to make it do something it fundementally wasnt designed to do?
Re:Bogus Test- Mysql supports Transactions (Score:1)
Re:Congrats, PostgreSQL team! (Score:1)
Conversly I'd like to see how well Postgres would do on that hardware.
Re:why aren't these on TPC.org? (Score:2)
---
Yes MySQL now does transactions (Score:3)
Don't believe me, just test them out for yourself. MySQL opens a can of whoopass, but people just don't realize that I guess...
I really strongly encourage everyone to benchmark their database servers independantly, instead of trusting these "independant" companies like.... well we all remember MindCraft, can we trust these organizations?
Re:details? (Score:2)
A Dick and a Bush .. You know somebody's gonna get screwed.
Re:I'm shocked! (Score:3)
offtopic meandering (Score:2)
Re:A book is coming out soon (Score:2)
PostgreSQL sounds cool, will look deeper for my next DB server.
Visit DC2600 [dc2600.com]
Re:Yes MySQL now does transactions, yea right, LOL (Score:2)
Visit DC2600 [dc2600.com]
Re:Docs ARE availiable (Score:2)
Re:if Postgres is so FAST... (Score:2)
In fact, I got the O'Reilly book on MySQL(don't get this one, get the New Riders book if you need to have a book.) and I found myself referring to the MySQL help file for most things. I certainly trust it more than the book for correct information.
Re:Claiming to be enterprise ready (Score:2)
Wow! (Score:2)
--
Quantum Linux Laboratories - Accelerating Business with Linux
* Education
* Integration
* Support
This is going to get messy.... (Score:2)
Moderators, start stocking up on your points, because it'll get ugly.
--
Ben Kosse
oh my GOD, another pgsql vs mysql story (Score:2)
- But mysql is faster! - who cares, mysql doesn't do transactions
- who cares, most web apps don't need transactions
- well i hope you don't expect to do anything important without transactions!
etc etc etc etc
At least MySql is GPL now so noone can go off on THAT. But seriously, I find this story interesting, but geezus, let's get another section for these types of story. like a Database section, or maybe Flamebait section.
sig:
Re:MySQL (Score:2)
They make the point that AS3AP test is read-only and should have been a piece-of-cake for MySQL, if you believed MySQL's slashdot-enhanced reputation as the ultimate in web automation.
Instead, it's looking as though MySQL is only fast when it doesn't matter: when there aren't very many people using it.
The Postgresql people insist that the results of these benchmarks were completely unexpected... they knew that they'd improved things a lot, but they'd never made an attempt to measure it before. It's understandable to suspect that the "independant agency" was watching which side it's bread was buttered on, but it's also obvious that Great Bridge really needed to know this information, *someone* had to do these tests, and who else was going to pay for them?
It's all very well and good to take benchmarks with the proverbial grain of salt, but you can't just throw out data because you don't like the result.
consider the source (Score:3)
There may be some additional information learned by reading the results of the benchmark from
http://www.tpc.org/New_Result/TPCC_ Results.html [tpc.org]
Although I am having a hard time finding any reference to Postgres on that page. Can anyone find any better references?
-k
Re:why aren't these on TPC.org? (Score:2)
um... Not unless your hardware and personnel are free. From http://www.tpc.org/faq_TPCC.html
Q: What do the TPC's price/performance numbers mean?
A: TPC's price/performance numbers (e.g. $550 per tpmC) may not be what you think they are. When first analyzing the TPC price/performance numbers, most people mistakenly believe they are looking at the cost of the computer or host machine. That is just one component, and not always the major component of the TPC's pricing methodology. In general, TPC benchmarks are system-wide benchmarks, encompassing almost all cost dimensions of an entire system environment the user might purchase, including terminals, communications equipment, software (transaction monitors and database software), computer system or host, backup storage, and three years maintenance cost. Therefore, if the total system cost is $859,100 and the throughput is 1562 tpmC, the price/performance is derived by taking the price of the entire system ($859,100) divided by the performance (1562 tpmC), which equals $550 per tpmC.
Re:Not Surprising (Score:3)
Someone who was very familiar with Postgres and not very familiar with Oracle, Informix or whatever else might easily obtain that sort of result. A misconfigured database can creep along at a snail's pace.
Re:details? (Score:2)
OTOH, Oracle can be slow if you don't configure it right. Which is one good reason to prohibit benchmarks :-)
Re:MySQL (Score:3)
The native interface to Oracle is *much* quicker. Having used Native drivers to Oracle on ColdFusion machines I can definately say it works quicker than ODBC.
At my work we write scalable applications and in the near future I would like to sit down with a copy of Oracle, tune the hell out of it and spend a week optimizing the atabases, PostgreSQL and Oracle, and MsSQL 7.0 because Benchmarking just one system like a Database is not really telling, Stick it on one of my Cluster of ColdFusion machines and lets see if the DB can keep up with the rest of my Application.. THEN I will be impressed not until then.
I read the TPC Benchmarks I even know how they work, but they still seem useless to me because We cant afford some 70K / Year Oracle DB Admin to come and constnatly Tune our Databases for us, if I cant learn enough to get it resonably well configured in a certain time frame I will go with something that *CAN* handle the load, and if only Oracle can ( which I dont believe ) Then we would be forced to find a solution that performs, But I have a copy of DB2 as well and you guys would be very suprised at the little places support for Databases come from.
I have read and installed ColdFusion on Linux and in the documentation and release notes Allaire has instructions on how to set up Both MySQL *AND* PostgreSQL via ODBC, so its not like a native driver, but it is support and I find it rather impressive that a big company that is more or less leading the way for commercial web application development platforms reaches out to support both MySQL and PostgreSQL.
My opinon is if you cant do much with the database what good is it?
Jeremy
If you think education is expensive, try ignornace
Become not the thing you hate (Score:2)
I'm as big an open-source and free software proponent as anyone I know, just as opposed to proprietary code, and I've even specifically used and recommended Postgres in the past. And still I think that adopting these methods is not the way, because they represent a lot of what was wrong with the proprietary model. The MBAs who put this little exercise together have no idea what they're selling or why - they just want to sell it now, through any means and at any cost to the truth. The real virtues of Postgres, open-source, or anything else get lost in the hype.
I personally fell asleep halfway through reading that mess. I've only just now woken up, and dammit, I'm cranky.
Re:original press release from GreatBridge (Score:2)
Re:Not Surprising (Score:2)
Which probably explains why one of the biggest goals in the slashcode [slashcode.com] is database independence.
With 200,000+ users, slashdot is not exactly a small application anymore.
Re:if Postgres is so FAST... (Score:2)
It was nice of you to give a URL to documentation, and then suggest that we print it; however, you give the URL of the "by chapter" HTML documentation, which would take a hell of a lot of clicking to print! On that subject, I've been searching high & low on MySQL's site for some time now, looking for a PDF version of the manual that I can download and/or print; there are hints several places on their site that such a document exists, but I can't find it. Can anyone help?
Thanks,
Re:offtopic meandering (Score:2)
You could always publish a benchmark and make yours the test case.
Re:I'm shocked! (Score:2)
Re:why aren't these on TPC.org? (Score:2)
---
Free Speech Issues in Licenses? (Score:3)
The two industry leaders cannot be mentioned by name because their restrictive licensing agreements prohibit anyone who buys their closed source products from publishing their company names in benchmark testing results without the companies' prior approval.
Apparently, if you succumb to the MS, or Oracle virus (or whomever it was they tested), you're not allowed to talk about your experiences comparing them to other products. I wonder exactly how legal that clause is in the license....
D
Re:Postgres (Score:2)
Re:Yes MySQL now does transactions (Score:2)
No it wasn't. MySQL per se does NOT do real transactions. However, MySQL-the-company have partnered to produce MaxSQL [mysql.com], which apparently does.
All wasn't so fine for us in PG-ville (Score:2)
We like Postgres. But it couldn't get us home when we needed it to.
bart
The Hate-MySQL Squad is out in force1 (Score:2)
The proponents of Postgresql have completely lost any credibility with me. Their unending whining about MySQL's limitations are topped only by how they duck the touchy issue of Postgres performance.
Today's article is supposed to address that. So Great Bridge plants a deliberately biased "benchmark" (oops, mortal sin, I used the B word) which, unsurprisingly, puts the competitors at a disadvantage by artificially forcing down their performance via ODBC drivers so they will match Postgres' slug-slow performance.
And what we have is a PRESS RELEASE about a BENCHMARK. Can it get any lower than that? Shame on Postgres and shame on Great Bridge. When MySQL does comparisons, they publish entire tables showing the features for each database in the test, they show the run results, and they make the source code available.
They don't whine about their competition not being "SQL compatible" (a debatable term in any event). They don't lie about how the competition "isn't relational." They don't sneer about how the competition is "just a front end to the file system." By the way -- many are now arguing that it is better to run Oracle, DB2 and other systems that have a native disk mode through the file system anyway -- see the very informative Slashdot discussion on this a few weeks ago.
No, Monty and the MySQL folks just keep doing their thing, improving an already good product and sticking to a clearly charted development course. They have responded to the market and GPLed their code and are adding other features. When they get to subselects I'll probably be using it.
That's right, I'm not even a MySQL user these days. I still use R:Base, everyone's favorite database to piss on in the early 1990s, just like you losers are pissing on MySQL now. Only problem with R:Base (aside from it not being open source, I'm still trying to get their attention on that) is that it has virtually no marketing. But it is rock-solid, as ANSI92 SQL compatible as anyone, supports all the features of Postgres and then some, and runs like a bat out of hell.
If the Postgres crowd will stop flaming, whining and lying, I will start taking Postgres seriously again.
-------
Re:if Postgres is so FAST... (Score:2)
My suggestion for you would be to download a program like WebCopier(you can find it at tucows) so you can download the whole directory at once, no clicking required. I'm not sure what the Linux equivalent would be, but there's undoubtedly something on freshmeat. Then do a global search and replace from the mysql site to your own site or directory. Besides, wouldn't you prefer HTML to PDF? :)
A book is coming out soon (Score:5)
If you just want to use it (and not admin it), O'Reilly's Programming the Perl DBI [oreilly.com] has some info on accessing a PostgreSQL DB (hint: it's not that different from any other DB when seen through DBI). Oh yeah, MySQL & mSQL [oreilly.com], also from O'Reilly has a little bit about it (but not very much at all). I guess readmes, man pages and HOW-TOs [linuxdoc.org] are your friends for the next couple months.
If you're really curious, throw it on a test machine and (if possible) "port" some apps to use Postgres instead of MySQL or whatever. You probably won't reach any real conclusion (or do nearly enough work to justify moving to another DB for a production environment), but the effort will very likely get you very familiar with how it works, how to set it up, how to admin it, its performance, its quirks, etc. That's both a good and a bad thing, BTW... :-)
-B
Wake up folks: ODBC!! (Score:2)
Re:Congrats, PostgreSQL team! (Score:2)
Benchmarking and Revealing of Methods (Score:2)
The article/press release/marketing FUD does not lend itself well to peer review, which is as important to technical journalism as it is in the scientific circles.
Here are the questions that came to my mind:
Of course, they may not want to reveal these informations for fear of peer review. *sigh*.
--
Re:oh my GOD, another pgsql vs mysql story (Score:2)
sig:
congrats, pgsql, but you've got a long way to go (Score:2)
Quad Xeon machines are doing around 25,000 transactions per minute on the real tpc tests (here [tpc.org]) so for a 2-cpu machine to do 300 per minute is not terribly impressive. I think it's probably the trivial hardware that was holding those test back, though, rather than postgres per se.
With only two disks the tests were almost certainly disk-bound, which would explain the striking similarity in the TPC-C results for all three vendors. I doubt any of the database systems really got a chance to hit their stride.
So the bottom line is that we still don't know what postgres can do given reasonable HW, by which I mean at least 4 CPU's, 2GB memory, and 16 disks.
Hello, Great Bridge?
Postgres -- fast? (Score:2)
--
Claiming to be enterprise ready (Score:2)
It's one thing to claim to be enterprise ready as a databse product. It is quite another to be one.
Before I get started, I should hasten to mention that I work on developing DB2 UDB and therefore anything I write is biased and should be viewed as such :-)
Enterprise-ready is one of those phrases which gets bounced around a lot. But what does it mean for relational databases? In my opinion, it at least includes the following:
At this point, I don't know what the score is for PostgreSQL on the above. Any expert care to comment?
Cheers,
Toby Haynes
no docs? (Score:3)
Timeliness. Programs CHANGE! Open projects change QUICKLY! You must have open docs, or at least docs not committed to paper, to revise them.
Sheer quantity of docs! Ever used Oracle? Oracle8: The Complete Handbook is not all you need! You inevitably end up buying the whole goddamn bookshelf! RBDMS's are complex beasts! With that in mind, closed docs means that such a project can't be called 'free' after all.
I guess it's 'Raymond Open' not 'Stallman Free'.
Re:There's no such thing. (Score:2)
Think: PostgreSQL is aiming at being excellent ! (Score:2)
It's a pitty that users new to database concepts and database-backed websites are misled to believe that MySQL is a robust database product. It's NOT ! It wasn't designed nor written to be.
Without
The features that I mentioned above are crucial to any database product. Without them you will be spending much more time and effort trying to implement in the application level, things that should be handled by the backend.
Look at the Sourceforge bug reports page and you'll notice that most of the problems they face are due to their poor choice: MySQL. I am not saying that MySQL does nat have its space... it does, but it's not in the enterprise and it's not in important data.
Quit whining about the ODBC deal. Stick to the facts: without these features MySQL is very limited.
ATTN: THOSE WHO REFUSE TO READ THE ARTICLE! (Score:2)
"THE TWO INDUSTRY LEADERS CANNOT BE MENTIONED BY NAME BECAUSE THEIR RESTRICTIVE LICENSING AGREEMENTS PROHIBIT ANYONE WHO BUYS THEIR CLOSED SOURCE PRODUCTS FROM PUBLISHING THEIR COMPANY NAMES IN BENCHMARK TESTING RESULTS WITHOUT THE COMPANIES' PRIOR APPROVAL."
Re:details? (Score:4)
I benchmarked Oracle and Microsoft-SQL against one another for box weight (that is, how heavy the software, packaging, and associated manuals are) and found that the differences are scale-dependent. Overall I found that Oracle was heavier.
Go ahead, guys, sue me. Good luck; you'll need it.
There's no such thing. (Score:5)
There's no such thing as free speech. Haven't you noticed that the First Amendment to the Constitution reads:
Libel, slander, copyright trademark or patent violations, licensing agreements, saying posting or printing anything that someone with more money and more lawyers than you doesn't like...Free speech is a dream. --jbIt's a _Press_Release_ (Score:2)
Everyone seems to be missing the fact that it is a press release by a company providing support/etc for Postgres. Now, I don't know about you, but this raises the "benchmarketing" alarms for me.
Not to say that this isn't true. However, as I browsed the release, I noticed things like "1-100 client connections", which tell me that there is a lot of maneuvering room to pick the best values.
Jason PollockGood book on postgres? (Score:2)
I liked the New Riders book on MySQL. Is there a similar book from any publisher for postgres?
Or maybe some good web sites?
Torrey Hoffman (Azog)
Re:Is it really ready for production use? (Score:2)
I have yet to see a database that doesn't require a large amount of "rigamarole": some of it nightly, some of it weekly, and maybe even some of it annually. When you're dealing with something as complex as a modern RDBMS, maintenance is a given. A good DBA will automate most of it, with notification of exceptions, of course
Well, if you were running Oracle, once the sucker is running it never comes down -- not for backup, schema changes, moving tables to different disks -- nothing. It takes some expertise, to be sure, but it all makes sense.
You're right that there's a lot of work in a production database -- capacity planning, performance analysis and tuning. A lot of it's kind of fun. On the other hand, things that I consider rigamarole are when the admin has to do stuff that should be the system's jobs: freeing memory pointers and reusing disk space.
It sounds like the memory leaks have been fixed, and what remains is the vacuum process. For applications that don't need to run 7x24, this is not so bad.
details? (Score:3)
also, i'm all for postgres, but doesn't it seem funny that their business is based on postgres solutions, and now they come out with this "independant benchmark" claiming that postgres is the best?
This could be another attempt at "benchmarketing" ;)
-Doviende
"The value of a man resides in what he gives,
and not in what he is capable of receiving."
Questionable benchmarks (Score:2)
Interbase (Score:4)
Borland has just recently released its source code [borland.com] and so what we have now is an open-source, royalty-free, Borland-quality database to use and abuse.
Download links are:
Client and server source code [conxion.com]
Server Linux binaries [conxion.com]
From personal experience, Interbase is perfect for a tight budget situation where you need to server a medium-size userbase.
--
Kiro
Re:those unmentioned proprietary dbms... (Score:2)
Why can't you comment? Is it because of restrictive EULAs that won't let you disclose the results of benchmarks?
Re:postgres limitation (Score:2)
There are two edges to the stored procedure sword: no two databases appear to implement them in the same way, so if you contemplate changing databases, it is more ``portable'' and ``modular'' to package such processing in your portable and object-oriented application language libraries, thus obviating the need for stored procedures. On the other hand, if you're more likely to change your language than your database, then putting your logic into your database makes a lot of sense.
The fundamental problem is that, as a standard, SQL isn't. A real standard would cover the whole system, including protocol for connection, C and/or language independent API, authentication, authorization, mechanisms for extensions (e.g., stored procedures), mandatory data types, and more. Put it in a series of RFC's, and then we'd have a real competition. There is no motivation for the big commercial database companies to do any of this; once the open source market begins to dominate, however, there may be some progress. Look for real standards for databases in about 2020.
Too bad there aren't any numbers.. (Score:2)
Probably the 2 "commercial databases" were 8 year old copies of Informix and Paradox or something similar...
Not Surprising (Score:2)
I am quite surprised that the Postgres results are almost 3 times that of proprietary databases. That seems kind of fishy - surely the big proprietary databases aren't THAT slow.
But either way, it confirms what lots of people already knew: MySQL is a nice, simple fast database for smaller applications. But for larger stuff, there are better RDBMS' out there.
Can you read? (Score:2)
Most people who know much about MySQL know it doesn't have transactions and is best used as a read mostly write some database. It's fine for that. It is not fine for big systems.
--
Facts (Score:2)
Re:Hello? Licensing? (Score:2)
Do any other RDBMS' license agreements have such clauses?
Informix does.
Re:Not Surprising (Score:2)
--
Re:Surprise (Score:2)
Let me preface my remarks by stating that I am a huge PostgreSQL fan. I personally believe that the added features that you get with PostgreSQL are very important, and so I am not very interested in MySQL.
That being said the benchmarks in question definitely play to PostgreSQL's strengths and MySQL's weaknesses. The AS3AP (which is the test where PostgreSQL was pitted against MySQL) involves transactions. PostgreSQL has some very sophisticated support for transactions (MVCC) and MySQL has their kludge interface to Sleepycat's DBM. That alone would explain the numbers.
Which only goes to show what everyone has been saying forever. If you don't need transactions or subselects then MySQL will make you very happy. If you do, well then, you might want to try another product.
Re:Let's hear it for lie, damn lies, and benchmark (Score:3)
Ahh, it hasn't taken long for the MySQL wwenies to crawl out of the woodwork.>[?
PostgreSQL 7.0 is the current production release of PostgreSQL. Try getting your facts right.
--
My name is Sue,
How do you do?
Now you gonna die!
Re:Yes MySQL now does transactions (Score:2)
Furthermore, MySQL's braindead locking scheme really chokes it when it comes down to massive concurrent access with both readers and writers.
For fucks sake, im tired of hearing mysql apologists push it as the ultimate solution...
One little problem is Oracle/PostgreSQL/Interbase are _not_ competing databases! I'd say the closest competing database is libgdbm or libdb or maybe grep+perl or something like that, in which case I would agree.
MySQL is a little out of its league when you compare it to those "big" databases.
And if you fuckers moderate me down for putting forth computer science truth I will haunt you for the rest of your lives
heh
ok, take it easy, dont burst a vein.
Re:details? (Score:2)
The other 2 DBs can't be named due to their draconian licensing terms. From the article:
Postgres consistently matched the performance of the two leading proprietary database applications. The two industry leaders cannot be mentioned by name because their restrictive licensing agreements prohibit anyone who buys their closed source products from publishing their company names in benchmark testing results without the companies' prior approval."
i'm all for postgres, but doesn't it seem funny that their business is based on postgres solutions, and now they come out with this "independant benchmark" claiming that postgres is the best?
I'm not saying this benchmark wasn't biased (it may well have been, and I'm sure many in the MySQL community would like to believe that), but this benchmark was NOT performed by Great Bridge (the company you refer to). From the article:
The tests were conducted by Xperts Inc. of Richmond, Virginia, an independent technology solutions company, using Quest Software's Benchmark Factory application.
Re:Bogus Test- Mysql supports Transactions (Score:2)
7.0 is the stable release of Postgres, not the "bleeding edge" version. You get that from CVS.
--
My name is Sue,
How do you do?
Now you gonna die!
Re:no docs? (Score:2)
Writing documentation isn't sexy enough for most people yet those same people aren't competent enough to contribute code... so they (myself included) contribute nothing.
In a lot of cases I'd rather have non-free but up-to-date documentation.
MySQL (Score:5)
-Tripp
why aren't these on TPC.org? (Score:3)
---
Drivers are important too (Score:3)
If one DBMS/3D Card has better drivers, even though it is "slower in theory", then that means that my overall experience will be a better one than the "theoretically faster, but with crappier drivers" product.
What does this mean? Trying to equalize products on drivers is often an exercise in finding which product has the most tuned driver. IN the case of Postgres, it appears their ODBC driver is tuned much better than the others. However, very few people I know use ODBC drivers for MySQL, and not many use them for Oracle either. They all use the native drivers. Thus, this benchmark doesn't mean anything to them, because a non-real-world situation was benchmarked.
I wish people would perform real-world benchmarks: i.e., run what people would actually run. That's one thing that I really like about the gamer-oriented hardware review sites. They post a bunch of meaningless BusinessMark2000 and AppMark2k scores, but they also go in and show you how fast the actual games will play on the hardware. That is CRUCIAL to my purchasing decisions. RDBMS vendors should benchmark one database with its best-performing driver vs. another database with its bets performing driver. Then we could really get an inkling of an idea as to how the thing will really perform in the field.
Testing with the same drivers only looks fair; in reality, as in this Postgres benchmark, it was likely the deciding factor to making Postgres "trounce" the competition.
Let's hear it for lie, damn lies, and benchmarks. (Score:3)
Issue two. They compared the bleeding edge postgres (7.0) with the old-as-heck mysql (3.22) - they're now up to revision *22* of the development series for mysql - that's a pretty huge amount of changes. I would have been much more impressed with this if they had ran the comparison between 3.23.22 and 7.0. As with everything, folks, don't believe benchmarks, especially ones in press releases. Believe real-world tests. I've used both, and I'm using MySQL 3.23.22 for my site.
Re:if Postgres is so FAST... (Score:3)
Re:2 leading commercial databases (Score:5)
The article points out that the companies prohibit publishing benchmark results when you buy their product.
Re:Surprise (Score:2)
I actually had read enough of the AS3AP test to assume that you ran the multi-user tests alongside the single user tests. Other than test 2 of the multi-user tests (Information retrieval) PostgreSQL should have killed MySQL. The second that you start combining writes with those reads MySQL's performance decreases dramatically.
Which is basically why I use PostgreSQL. I have found that I can even get PostgreSQL nearly up to MySQL's pure read performance simply by tuning the DB, indexing it properly, and vacuuming. Just the addition of subselects is worth the upgrade. To say nothing of stored procedures, triggers, or rules. Used correctly these mechanisms not only speed development, but they allow you to access your data quickly and easily. For example, complex queries can be made extremely fast simply by coding in the necessary stored procedures.
Combine PostgreSQL's many strengths with a top-notch development team and the most useful mailing lists I have ever encountered and you have a winning project.
those unmentioned proprietary dbms... (Score:4)
http://www.postgre sql.org/mhonarc/pgsql-general/2000-06/msg00390.htm l [postgresql.org]
Re:Is it really ready for production use? (Score:2)
I'd be surprised if your installation (you don't say what you chose) doesn't have a lot of maintenance associated with it, even if cron's doing all of it for you.
--
Is it really ready for production use? (Score:2)
The first and biggest reason is that some people who ran it said was that it wasn't as stable as the commercial databases. There was some rigamarole you had to do every week or so like rebooting the daemon or running some utility or another to keep the system from losing its mind. Sorry I can't recall better, but this was a year or so ago. In any case once I set a database server up and running I don't want to have to do anything with it unless something changes in its environment. Does anybody remember this?
Also, this is really more of a nit, but Postgres also lacked some important SQL constructs like outer joins and foriegn keys. OK, you can get around this, but the solutions are ugly and this also makes porting stuff a pain. Last time I checked, Foreign keys had been done, but while outer joins were on the list of features to add no work had started.
It would be nice if it supported all ANSI SQL intermediate language constructs. This would greatly facilitate porting to Postgres.
Re:Yes MySQL now does transactions (Score:4)
t was added a while back. And still, mysql (when using MyISAM) is a lot faster than competing databases. Sorry I've done my independant benchmarks in the "real-world".
Too bad the transactions only work with Berkeley DB tables (not MyISAM).
I tried MySQL again last week to see if I could certify it for use on a failover cluster (logging and transactions are VERY important for that!). I didn't even get to the part about simulating a node failure before it flunked the test (which postgreSQL passed). I found that sometimes it would silently ignore BEGIN and ROLLBACK. That may be a Beta issue, so I'll look again when it's released. If the version in use doesn't have the support for Berkeley tables compiled in, it will silently create a MyISAM table instead. Then, it will silently ignore any transaction commands (BEGIN, COMMIT, ROLLBACK).
It's be one thing if it simply failed with errors returned, but silent failure to use transactions is the stuff nightmares are made of! I'd actually rather have it core dump than do that.
Re:2 leading commercial databases (Score:2)
--
Re:I'm shocked! (Score:2)
Any tests that you might have done prior to 6.5.3 are ridiculously outdated at this point. And the difference between 6.5.3 and 7.0.2 is quite noticeable.
PostgreSQL has come a long way since the versions that you are talking about.
Re:Good book on postgres? (Score:4)
There is a PDF for the upcoming Addison-Wesley book, by none other than PostgreSQL's Bruce Momjian, available here [postgresql.org].
Beating MySQL (Score:2)
Re:I doubt people in the MySQL are against (Score:2)
In my professional opionion, MySQL needs to drop the My part and adhere better to the SQL part. At least that would make my life easier.
Re: More info and Graphs (Score:2)
Re:How can this be fair? (Score:2)
Transactions, yes.
Stored procedures - sometimes yes, sometimes no. There are advantages (increased speed) and disadvantages (decreased flexibility, portability) to using stored procedures. Some shops always use them, some never use them, and the rest mix & match as they see fit. Point being, there definitely are "Real World", well-written db systems that don't heavily use stored procedures.
Re:those unmentioned proprietary dbms... (Score:3)
Ned Lilly
VP Hacker Relations
Great Bridge
Re:Interbase (Score:2)
Right now the source is on a couple of CVS trees, and some projects have been formed but borland still owns the test suite, the name and a few cruicial pieces like the "official documents".
To me this smells like two commercial entities fighting for control over an open source project and it's looking like the rest of the user base is being used as a weapon. On the one hand you have borland saying "you can have this source but you can't have these other pieces" and on the other you have newco saying "we are going to hold on to the stuff we developed till we get paid" either way doesn't sound much like an open source project to me.
Maybe a user driven project will eventually take off, maybe some uninterested third party will write an open source ODBC driver, maybe a user driven documentation will spring forth like the PHP documentation but that situation does not exist yet.
This open source thing was flubbed badly by all parties involved. It makes them look petty and frankly it's embarrasing to watch. IB is a nice database I hope these people can get their acts together and or the user community can take charge but I would guess that will take some time.
It's apparent
A Dick and a Bush .. You know somebody's gonna get screwed.