Stupid queries in S9Y

Posted by Doomshammer on Wednesday, January 10. 2007 at 23:59 in Anwendungen, Computer, English only, Linux/Unix, Privat, Thoughts, Web
Today I did some inspections of slow queries on my MySQL servers and I found this sweet query from a s9y plugin:
QUOTE:
use XXXX-XXXX;
SELECT count(sessID) FROM s9y_visitors WHERE '32char md5sum' = sessID GROUP BY sessID;


This query seems to be performed with every site impression of your blog (when the plugin is installed). Not only that e. g. the GROUP BY makes no sense here (besides of slowing down the query), this query can take very very long time in execution (2 to 10 seconds) if you have lots of site impressions (the s9y_visitors table of the blog, where I found this, currently holds over 500.000 rows). For sure there is no rotation or expiration for this table. Dear developer of this plugin, please try again and build it more performance sparing!


MySQL vs. PostgreSQL benchmarks

Posted by Doomshammer on Saturday, December 30. 2006 at 17:56 in Anwendungen, Computer, English only, Linux/Unix, Thoughts
I found an interessting article at the MySQL Performance blog, pointing me to these benchmarks:

It's pretty interessting to see, that PostgreSQL is performing very well, where MySQL is suffering very quickly with increasing concurrency. Also the 2nd benchmark shows pretty good, that PostgreSQL and Solaris is a good team, and Linux/MySQL combination is also scaling very bad.

Another confirmation that I'm going the right way with my SunOS/PostgreSQL combination :-)

No more MySQL versions for non-paying MySQL users?

Posted by Doomshammer on Saturday, December 30. 2006 at 14:48 in Anwendungen, Computer, English only, Thoughts

Here Peter Zaitsev (a former MySQL employee) writes about a new MySQL policy which is not to provide new versions to non-paying MySQL users. Luckily I am only using MySQL for my customers. All my projects are using PostgreSQL (which IMHO is ways better).

Calendar

Back May '13
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Quicksearch

Not for Sale!

This blog is not for sale!

Latest twitter

Latest Photos

ERROR: The HTTP server returned the error or the warning(result:403).

Getaggte Artikel

Buttons

Ich bin ein Dokuleser
Get OpenSolaris
Gimme a Smile
neessen.net - Webhosting
I'm a blogger!
Lebst Du noch oder oarks Du schon?
last.fm
trnd - be trendy
I hear Metal
Visit GeoURL
Powered by Linux
Zsh lover
VIM! The Editor
Get Firefox
Ihr, nicht ich!
My amazon wishlist

BLOGROLL