Category Archives: SQL

All things SQL and RDBMS related.

Less Pagination, More More

We live in a brave new (to some) world of databases other than a relational database with a SQL interface. Normally end users never notice a difference, but the astute viewer may notice the slow demise of an old friend: … Continue reading

Posted in SQL, Technology | Tagged , , | Leave a comment

Fun with SQLObject and mxDateTime

I’m working on a small CherryPy web service that among other things saves timestamps to a database. The timestamp is in RFC 3339 format (like 2007-07-31T16:05:00.000-05:00), and I needed to store the timezone. Luckily mxDateTime and SQLObject’s DateTimeCol both support … Continue reading

Posted in Open Source, Python, SQL, Technology | Tagged , , , , | 1 Comment

PostgreSQL 8.3 Beta

Warning: IANADBA I was just reading the release notes for PostgreSQL 8.3 beta1, and there’s quite a lot of exciting improvements coming: Full text search is now a built-in feature Support for the SQL/XML standard, including a new xml builtin … Continue reading

Posted in Open Source, PostgreSQL, SQL, Technology | Leave a comment

Drupal Database Maintenance Script

I love Drupal, but its insistence on saving every session its ever created causes the sessions table to become massive. So I usually end up creating a shell script like the following: drupal-db-maint.sh (I posted a copy to pastebin since … Continue reading

Posted in GNU/Linux, Open Source, PHP, SQL, Technology | 3 Comments

Debian Etch Released

It appears Debian GNU/Linux 4.0, codenamed Etch, (quite a mouthful) has been released as the latest stable version of Debian. Go download it using BitTorrent to be cool. Tip #1:  You do not have to download all of the CDs, … Continue reading

Posted in GNU/Linux, Mono/.Net, Open Source, PHP, PostgreSQL, Python, Technology | 6 Comments

PostgreSQL Killed My Harddrive

The harddrive died in the server that dumps our firewall’s syslog output into a nice PostgreSQL database for easy reporting. PostgreSQL didn’t do anything evil in order to kill the drive, but because it syncs data to the harddrive for … Continue reading

Posted in PostgreSQL, SQL, Technology | Leave a comment