From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | "Karl Denninger" <karl(at)denninger(dot)net> |
Cc: | "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>, "Robert Powell" <bob(at)hotchkiss(dot)org>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Redundant file server for postgres |
Date: | 2008-03-16 19:20:58 |
Message-ID: | dcc563d10803161220s7dcc97f3n796abfe7e0737960@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Mar 16, 2008 at 1:02 PM, Karl Denninger <karl(at)denninger(dot)net> wrote:
>
> >
> The key issue on RAM is not whether the database will fit into RAM (for
> all but the most trivial applications, it will not)
I would argue that many applications where the data fits into memory
are not trivial. Especially if we're talking about the working set.
If you operate on 1 Gig sets out of a terabyte range for a reporting
database, then your data fits into (or damned well should :) ) memory.
Also, many applications with small datasets can be quite complex, like
control systems. The actual amount of might be 100 Meg, but the
throughput might be very high, and require a battery backed cache
because of all the writes going in.
So there are plenty of times your data will fit in memory.
> It is whether the key INDICES will fit into RAM. If they will, then you
> get a HUGE win in performance.
When they don't, you often need to start looking at some form of
partitioning if you want to keep good performance. By partitioning
I'm not just limiting that to using inherited tables to do it, it
could include things like horizontal partitioning of data across
different pg servers.
Note that I'm not disagreeing with everything you said, just a slight
clarification on data sets that do / don't fit into memory.
From | Date | Subject | |
---|---|---|---|
Next Message | Kynn Jones | 2008-03-16 20:05:33 | UPDATE stalls when run in "batch mode" |
Previous Message | Karl Denninger | 2008-03-16 19:02:10 | Re: Redundant file server for postgres |