18 November 2011 ~ 0 Comments

Graphing SSH dictionary attacks with HighCharts

TweetAfter my 10-year-old basement Linux server died this week from a power outage, I took the sad step of giving up on it. It’s died before and I’ve patched it back together with a new power supply here or an addon PCI SATA card there, but I finally decided to throw in the towel since [...]

Continue Reading

26 July 2011 ~ 1 Comment

33 hours to restore a Postgres DB

Restoring a huge DB takes a long time.

Continue Reading

13 July 2011 ~ 0 Comments

Using WAL archiving & Compellent snapshots for PostgreSQL backups

Changing my Postgres DB backup strategy from nightly pg_dumps to WAL archiving with SAN snapshots.

Continue Reading

11 July 2011 ~ 0 Comments

Migrating a PostgreSQL DB to a new machine without doing a dump & restore

rsync over NFS can be so fast.

Continue Reading

17 May 2011 ~ 1 Comment

PostgreSQL query to determine the largest tables in the database

A PostgreSQL query to see the largest tables on-disk in a given database and how large their indices are.

Continue Reading

11 November 2010 ~ 2 Comments

Do I still need swap space?

TweetAbout three years ago I replaced our primary database. For years we’d been plagued by awful performance in the database and we were never able to diagnose the problem. The original server was a real beast at the time: 8 Opterons (single core), 32 gigs ram, and a fibre channel RAID connected via a QLogic [...]

Continue Reading

06 August 2009 ~ 0 Comments

Migrating RT from mysql to postgresql.

TweetSo I wanted to move our old RT 3.6 system to a new VM running a clean CentOS 5.3 x86 install and RT 3.8. I got RT installed but the 3.6 system was running on MySQL, which sucks (still), and I wanted to move it to Postgres, which rules (more and more each day). So [...]

Continue Reading