Re: Best COPY Performance - Mailing list pgsql-performance

From Joshua D. Drake
Subject Re: Best COPY Performance
Date
Msg-id 453D3DD9.80508@commandprompt.com
Whole thread Raw
In response to Re: Best COPY Performance  ("Jim C. Nasby" <jim@nasby.net>)
List pgsql-performance
> Ultimately, you might be best of using triggers instead of rules for the
> partitioning since then you could use copy. Or go to raw insert commands
> that are wrapped in a transaction.

My experience is that triggers are quite a bit faster than rules in any
kind of partitioning that involves more than say 7 tables.

Sincerely,

Joshua D. Drake


--

   === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
   Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate


pgsql-performance by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Optimizing disk throughput on quad Opteron
Next
From: Steve
Date:
Subject: Copy database performance issue