Category: postgresql-news

tablelog now as RPM and Debian package

postgresql-news
Author: ads

A while ago I submitted my tablelog version 0.4.4 as a Debian package (with Alexander as maintainer) and Devrim created a RPM for Fedora. The RPM was accepted a couple of days later and now that DebConf is over, the Debian maintainer also accepted this package in extra misc for the upcoming release.

Ringbuffer in SQL

Author: ads

On a student platform we show, on every page, a random user in the upper right corner. Because we have over 11.000 users, the database has to select all matching users and sort them by random(). Thats very expensive and one of the longest running queries in the current version. And because we are currently redeveloping the whole platform, I decided to try something different for the random user. The user must not be really random, it should be enough to just display a different user every time the page is displayed. My idea was to implement a ringbuffer in SQL and forward the pointer to the next user in the buffer if we need to search the next random user. Read more

some tests from tweakers.net

Author: ads

tweakers.net has again tested the performance of PostgreSQL 8.2-dev and MySQL 4.1.20 and MySQL 5.0.20a. Results are nice and shown here. Best thing: the collapse for requests per seconds if MySQL has a concurrency greater than 7. Oh, and by the way, they don’t state the table type for MySQL so we don’t know, if it is the fast and forgetfully MyIsam or the better but slower InnoDB type.

PGCon 2007 - PostgreSQL Conference for Users and Developers

Author: ads

PGCon is an annual conference for users and developers of PostgreSQL, a leading relational database, which just happens to be open source. PGCon is the place to meet, discuss, build relationships, learn valuable insights, and generally chat about the work you are doing with PostgreSQL. If you want to learn why so many people are moving to PostgreSQL, PGCon will be the place to find out why. Whether you are a casual user or you’ve been working with PostgreSQL for years, PGCon will have something for you. Read more