LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] SQL question

[ILUG] SQL question

Donncha O Caoimh donncha.ocaoimh at tradesignals.com
Mon Mar 12 11:54:50 GMT 2001


Niall O Broin wrote:
> 
> Can anyone who's running MySQL 3.23.xx verify if COUNT(DISTINCT column)
> works as advertised and as per standard SQL. If that's the case, it's
> finally time to upgrade from 3.22.32 :-) (I was waiting for subselects, but
> I think Godot will come first)

Tried that query on a 3.23.32 server and it returned a figure. Leaving
out the COUNT() bit it returned the same number of records.. :)

> 
> Talking of waiting for things, I have often considered changing to Postgres
> because of its greater compliance to standard SQL, but I've been put off
> becuase MySQL has the reputation of being much faster. Lately, however, the
> Postgres people having been putting out benchmarks which show Postgres as
> being faster than MySQL (well, they would, wouldn't they). Now I know that

I want to try that too, and might get around to it in the next 2 months.
(I'd be lucky!)
What interests me is that updates/inserts can happen while large selects
go on, which I believe PostgreSQL can do to a certain extent. The
PHPBuilder article on it tested CVS PostgreSQL with MySQL 3.23(alpha)
and found PostreSQL to be much faster.. 
If anyone is testing, be sure to read up on tuning PostgreSQL, I've read
that in the default install it sucks for performance (does syncing every
few seconds, etc..)

Oh yeah, Niall, you should have rung one of us, there was plenty of beer
on Saturday, and plenty of quotes for the quotes page which probably
shouldn't be repeated in public ;)

Donncha.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell