Skip site navigation (1) Skip section navigation (2)

Re: What exactly is postgres doing during INSERT/UPDATE ?

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Joseph S <jks(at)selectacast(dot)net>, pgsql-performance(at)postgresql(dot)org
Subject: Re: What exactly is postgres doing during INSERT/UPDATE ?
Date: 2009-08-31 19:15:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On Mon, Aug 31, 2009 at 10:31 AM, Kevin
Grittner<Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
>> Joseph S <jks(at)selectacast(dot)net> wrote:
>>> The question is what I do with my 14 drives. Should I use only 1
>>> pair for indexes or should I use 4 drives?  The wal logs are
>>> already slated for an SSD.
>> Why not just spread all your index data over 14 spindles, and do the
>> same with your table data?
> If you have the luxury of being able to test more than one
> configuration with something resembling your actual workload, I would
> strongly recommend including this as one of your configurations.
> Spreading everything over the larger number of spindles might well
> out-perform your most carefully hand-crafted tuning of object
> placement on smaller spindle sets.

The first thing I'd test would be if having a separate mirror set for
pg_xlog helps.  If you have a high write environment moving pg_xlog
off of the main data set can help a lot.

In response to

pgsql-performance by date

Next:From: Mike IvanovDate: 2009-09-01 00:19:01
Subject: Re: Number of tables
Previous:From: Kevin GrittnerDate: 2009-08-31 16:31:13
Subject: Re: What exactly is postgres doing during INSERT/UPDATE ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group