On 9/5/05 6:50 AM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> The questions we are asking us now are:
> 1) Intel or AMD (or alternate Platform)
> Are we better of with Xeons or Opterons? Should we consider the IBM
> OpenPower platform?
Opteron spanks Xeon for database loads. Advantage AMD, and you generally
won't have to spend much extra money for the privilege. I've never used
Postgres on the IBM OpenPower platform, but I would expect that it would
perform quite well, certainly better than the Xeons and probably competitive
with the Opterons in many respects -- I am not sufficiently knowledgeable to
make a definitive recommendation.
> 2) CPUs vs cache
> Would you rather have more CPUs or more cache? Eg: 4x Xeon 1MB vs 2x
> Xeon 8MB
I would expect that cache sizes are relatively unimportant compared to
number of processors, but it would depend on the specifics of your load.
Cache coherence is a significant issue for high concurrency database
applications, and a few megabytes of cache here and there will likely make
little difference for a 60GB database. Databases spend most of their time
playing in main memory, not in cache. The biggest advantage I can see to
bigger cache would be connection scaling, in which case you'll probably buy
more mileage with more processors.
There are a lot of architecture dependencies here. Xeons scale badly to 4
processors, Opterons scale just fine.
> 3) CPUs vs Memory
> Would you rather have 4x CPUs and 8GB of memory, or 2x CPUs with 16GB of
Uh, for what purpose? CPU and memory are not fungible, so how you
distribute them depends very much on your application. You can never have
too much memory for a large database, but having extra processors on a
scalable architecture is pretty nice too. What they both buy you is not
The amount of memory you need is determined by the size of your cache-able
working set and the nature of your queries. Spend whatever money is left on
the processors; if your database spends all its time waiting for disks, no
quantity of processors will help you unless you are doing a lot of math on
YMMV, as always. Recommendations more specific than "Opterons rule, Xeons
suck" depend greatly on what you plan on doing with the database.
J. Andrew Rogers
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not