Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

am i the only one ...... ?

Status
Not open for further replies.

SteveBrett

Programmer
Apr 24, 2000
107
MT
who uses postgres as a linux db ?

i've been programming in php for about 2 months now using a postgres db on debian for an in-house calendar system but only rarely see other postgres users ?

why the obsession with mysql ? no transactions ? bit more speed but turning off file locking speeds up postgres enoormously ....
 
Because MySQL has a better name. Makes people feel like they're a part of something big. "Yes, this is *my* SQL".
:)

MySQL used to be significantly faster than Postgres in reads (at least in my benchmarks), so for quick and dirty sites that just pulled information out of the db (simple shopping carts, for instance), mysql seemed to be the way to go. For anything else, Postgres's transaction/locking facilities were invaluable.

With recent releases, however, I don't see much of a difference. They're both excellent databases.

brendanc@icehouse.net
 
hmmmmm.

i see your point- i suppose for business use where transactions are important then postgresql is the way to go - the app i wrote does actually do a lot of reads - takes about 10 seconds to do 2100 reads along with a significant amount of parsing and dumping of html tables etc.
i also found that one of the reasons that postgresql was slower in benchmarking was for every write to the db the file system is checked - this can be turned off and the speed increases are dramatic ...
 
In one of the webtechniques magazines there is an entire article on why PHP, Apache, and mySQL are the best language/server/database to use for e-commerce.

Go to and check out the back orders and see if you can find the article.


-Vic vic cherubini
malice365@hotmail.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====
 
I agree with sophisticate; each is a great product, although with different strengths.

However, even though MySQL 3.23 is technically still in pre-release mode, it should really be considered as production-ready. With this version, MySQL now CAN support transactions if you choose to compile it that way. Also, they are working on row-level locking, and all of the other great SQL ideals. They simply made different choices about what to support first in development, which made them an easier choice for most web-based applications.
 
ok - thanks ...

i'm kind of used to postgres now and it does seem to be a more 'complete' rdbms .. but i'm sure the argument will rage on elsewhere.

i still think of mysql as the access of linux db's though ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top