Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-21 Thread Vivek Khera
On Sep 12, 2005, at 6:02 PM, Brandon Black wrote:- splitting the xlog and the data on distinct physical drives or arraysThat would almost definitely help, I haven't tried it yet.  Speaking of the xlog, anyone know anything specific about the WAL tuning parameters for heavy concurrent write

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-21 Thread Vivek Khera
On Sep 12, 2005, at 6:02 PM, Brandon Black wrote:- using COPY instead of INSERT ?(should be easy to do from the aggregators)Possibly, although it would kill the current design of returning the database transaction status for a single client packet back to the client on trans

Re: [PERFORM] Performance considerations for very heavy INSERT

2005-09-13 Thread Alvaro Herrera
On Tue, Sep 13, 2005 at 12:16:55PM -0400, Ian Westmacott wrote: > On Tue, 2005-09-13 at 11:30, Brandon Black wrote: > > I started looking closer at my options for partitioning (inheritance, > > union all), and at Bizgres today. Bizgres partitioning appears to be > > basically the same kind of inhe

Re: [PERFORM] Performance considerations for very heavy INSERT

2005-09-13 Thread Ian Westmacott
On Tue, 2005-09-13 at 11:30, Brandon Black wrote: > I started looking closer at my options for partitioning (inheritance, > union all), and at Bizgres today. Bizgres partitioning appears to be > basically the same kind of inheritance partitioning one can do in > mainline PostgreSQL. Am I correct

Re: [PERFORM] Performance considerations for very heavy INSERT

2005-09-13 Thread evgeny gridasov
On Mon, 12 Sep 2005 16:04:06 -0500 Brandon Black <[EMAIL PROTECTED]> wrote: I've seen serveral tests PostgreSQL on JFS file system, it runs faster than using ext3. Our production server works using JFS and RAID10, we have 250K+ transactions per day and everything is OK. Try switching to separate

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-13 Thread Brandon Black
On 9/12/05, Christopher Petrilli <[EMAIL PROTECTED]> wrote: 3) Use 8.1 and strongly look at Bizgres. The data partitioning is critical. I started looking closer at my options for partitioning (inheritance, union all), and at Bizgres today.  Bizgres partitioning appears to be basically the same kin

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-13 Thread Stephen Frost
* Brandon Black ([EMAIL PROTECTED]) wrote: > Ideally I'd like to commit the data seperately, as the data could contain > errors which abort the transaction, but it may come down to batching it and > coding things such that I can catch and discard the offending row and retry > the transaction if

Re: [PERFORM] Performance considerations for very heavy INSERT

2005-09-12 Thread Ron Peacetree
>From: Brandon Black <[EMAIL PROTECTED]> >Sent: Sep 12, 2005 5:04 PM >To: pgsql-performance@postgresql.org >Subject: [PERFORM] Performance considerations for very heavy INSERT traffic >I'm in the process of developing an application which uses PostgreSQL for >data storage. Our database traffic is

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-12 Thread Brandon Black
On 9/12/05, Christopher Petrilli <[EMAIL PROTECTED]> wrote: 2) Tune ext3.  The default configuration wrecks high-write situations. Look into data="" for mounting, turning off atime (I hopeyou've done this already) updates, and also modifying the scheduler to the elevator model.  This is poorly docu

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-12 Thread Brandon Black
On 12 Sep 2005 23:07:49 -0400, Greg Stark <[EMAIL PROTECTED]> wrote: The WAL parameters like commit_delay and commit_siblings are a bit of amystery. Nobody has done any extensive testing of them. It would be quite helpful if you find anything conclusive and post it. It would also besurprising if th

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-12 Thread Christopher Petrilli
On 9/12/05, Brandon Black <[EMAIL PROTECTED]> wrote: > > I'm in the process of developing an application which uses PostgreSQL for > data storage. Our database traffic is very atypical, and as a result it has > been rather challenging to figure out how to best tune PostgreSQL on what > developme

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-12 Thread Greg Stark
Brandon Black <[EMAIL PROTECTED]> writes: > The vast, overwhelming majority of our database traffic is pretty much a > non-stop stream of INSERTs filling up tables. That part Postgres should handle pretty well. It should be pretty much limited by your I/O bandwidth so big raid 1+0 arrays are i

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-12 Thread Alan Stange
Brandon Black wrote: On 9/12/05, *PFC* <[EMAIL PROTECTED] > wrote: - benchmarking something else than ext3 (xfs ? reiser3 ?) We've had bad experiences under extreme and/or strange workloads with XFS here in general, although thi

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-12 Thread Brandon Black
On 9/12/05, PFC <[EMAIL PROTECTED]> wrote: > I know I haven't provided a whole lot of application-level detail here,You did !What about :- using COPY instead of INSERT ?(should be easy to do from the aggregators) Possibly, although it would kill the current d

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-12 Thread Alex Turner
Split your system into multiple partitions of RAID 10s.For max performance,  ten drive RAID 10 for pg_xlog (This will max out a PCI-X bus) on Bus A, multiple 4/6Drive RAID 10s for tablespaces on Bus B. For max performance I would recommend using one RAID 10 for raw data tables, one for aggregate ta

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-12 Thread Qingqing Zhou
  "Brandon Black" <[EMAIL PROTECTED]> wrote ... Increasing shared_buffers seems to always help, even out to half of the dev box's ram (2G).    Though officially PG does not prefer huge shared_buffers size, I did see several times that performance was boosted in case IO is the

Re: [PERFORM] Performance considerations for very heavy INSERT traffic

2005-09-12 Thread PFC
I know I haven't provided a whole lot of application-level detail here, You did ! What about : - using COPY instead of INSERT ? (should be easy to do from the aggregators) - using Bizgres ? (which was designed for your