PostgreSQL

Things I Do Not Understand: “Web-Scale.”

What does this mean?

It clearly means something along the lines of, “Can handle lots of transactions per unit time,” but how many?

I mean, WordPress with WP-SuperCache is “web scale” if all that is meant is, “Can be used to implement a high volume site,” but I assume those who are touting something as “web scale” are

Introduction to PostgreSQL: Open Source Bridge 2010 Presentation

The slides from my talk, Introduction to PostgreSQL are available here.

SFPUG: Hot Standby and Streaming Replication

The archive video for the February 9, 2010 SFPUG meeting is now available:

For downloading, the direct link is here.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

SFPUG: Operator Exclusion Constraints

The archive video for the December 8, 2009 SFPUG meeting is now available:

For downloading, the direct link is here.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

SFPUG: Continuent Tungsten with PostgreSQL

The archive video for the November 10, 2009 SFPUG meeting is now available:

For downloading, the direct link is here.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

Git vs Mercurial

No, I’m not going to write another Git vs Mercurial post that really digs into them, because… well, if you are using one or the other, it is probably for reasons that don’t have much to do with your preferences.

In strictly my opinion, for personal use, I like Mercurial. For projects that use Git, I use Git.

The Mighty GUCS: A guide to the essential PostgreSQL settings you need to know

The archive video for the October 13, 2009 SFPUG meeting is now available:

For downloading, the direct link is here, and it is also available on Vimeo if that’s more your thing.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

Getting PostgreSQL 8.4 to only listen on Unix sockets

The default installation of PostgreSQL listens on 127.0.0.1 (the local loopback address) and on Unix sockets. The controlling parameter, listen_addresses, isn’t documented to have a setting that just listens on sockets, and not the loopback address.

As it happens, such a setting exists:

1listen_addresses=''

Among other things, this appears to prevent local instances of

Only NATURAL: JOIN clauses vs WHERE conditions

When I learned SQL, I was taught that the way to do a join was with a WHERE clause. For example, if you have orders:

1CREATE TABLE orders (
2 order_id bigserial PRIMARY KEY,
3 customer_id bigint REFERENCES customers(customer_id),
4 ...
5)

and order lines:

1CREATE TABLE order_lines

SFPUG: Statistics and Postgres – How the Planner Sees Your Data

The video for the September 8, 2009 SFPUG meeting is now available:

For downloading, the direct link is here.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.