Re: Large tables (was: RAID 0 not as fast as expected)

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Bucky Jordan" <bjordan(at)lumeta(dot)com>
Cc: "Luke Lonergan" <llonergan(at)greenplum(dot)com>, "Spiegelberg, Greg" <gspiegelberg(at)cranel(dot)com>, "Joshua Drake" <jd(at)commandprompt(dot)com>, "Craig A(dot) James" <cjames(at)modgraph-usa(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Large tables (was: RAID 0 not as fast as expected)
Date: 2006-09-18 20:56:22
Message-ID: b42b73150609181356r30453d46lf8b8171a613910d5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 9/18/06, Bucky Jordan <bjordan(at)lumeta(dot)com> wrote:
> My question is at what point do I have to get fancy with those big
> tables? From your presentation, it looks like PG can handle 1.2 billion
> records or so as long as you write intelligent queries. (And normal PG
> should be able to handle that, correct?)

I would rephrase that: large databses are less forgiving of
unintelligent queries, particularly of the form of your average stupid
database abstracting middleware :-). seek times on a 1gb database are
going to be zero all the time, not so on a 1tb+ database.

good normalization skills are really important for large databases,
along with materialization strategies for 'denormalized sets'.

regarding the number of rows, there is no limit to how much pg can
handle per se, just some practical limitations, especially vacuum and
reindex times. these are important because they are required to keep
a handle on mvcc bloat and its very nice to be able to vaccum bits of
your database at a time.

just another fyi, if you have a really big database, you can forget
about doing pg_dump for backups (unless you really don't care about
being x day or days behind)...you simply have to due some type of
replication/failover strategy. i would start with pitr.

merlin

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Alan Hodgson 2006-09-18 21:01:03 Re: Large tables (was: RAID 0 not as fast as expected)
Previous Message Guillaume Smet 2006-09-18 15:48:53 Re: High CPU Load