2010-12-21
· 2 min
·
Django
Stop fetching entire rows to grab a foreign key you already have, and let the database handle iteration instead of your app.
6 comments
2010-12-17
· 1 min
·
Security
A critical root exploit in Exim is spreading—but the developers patched it months ago. Keep your mail server updated.
0 comments
2010-12-17
· 3 min
·
Django
NULL doesn't behave like you think it does. Nullable primary keys are meaningless, NULL values can't be joined, and NULL = NULL returns NULL—not true.
3 comments
2010-12-14
· 1 min
·
Django
Use psycopg2's server-side cursors in Django to stream enormous result sets without loading them into memory.
2 comments
2010-12-13
· 8 min
·
Django
Django's QuerySet caching and default fetch behavior can silently consume gigabytes of memory on large result sets.
9 comments
2010-11-06
· 1 min
·
PostgreSQL
Stop writing result[4]—psycopg2.3 beta now lets you fetch query results as named tuples with intuitive dot notation.
2 comments
2010-10-28
· 2 min
·
PostgreSQL
PostgreSQL 9.0's streaming replication will be a game-changer for small businesses managing critical data—finally making high availability something a casual…
2 comments
2010-10-27
· 2 min
·
PostgreSQL
Users claim they don't need replication—until they lose a day's data.
7 comments
2010-10-27
· 1 min
·
PostgreSQL
What does "web scale" actually mean? Let's move past the marketing speak and pin down some numbers for what constitutes truly high-volume database performance.
5 comments
2010-10-25
· 3 min
·
Django
Django connections pile up in "Idle in Transaction" state because it skips COMMIT for read-only queries. Here's why it happens and how to fix it.
10 comments