partition insert performance

From: Anj Adu <fotographs(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: partition insert performance
Date: 2009-06-15 14:17:40
Message-ID: f2fd819a0906150717s7e777708yf2ae28837506c878@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

We currently use triggers with static if..then..else statements to determine
which partition the data goes into. Would there be a performance impact if
we were to use dynamic sql to achieve the same ?. The issue with static
triggers is the maintenance overhead of having to redefine the triggers
periodically. The dynamic sql is simple and involves building a sql string
with just a to_char(date_Field) to determine which partition the data goes
into and the trigger will never have to be re-defined.

Thank you

Sriram

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gurjeet Singh 2009-06-15 14:38:38 Re: partition insert performance
Previous Message Ralf Butler 2009-06-15 14:14:11 Silent installation and port configuration with initdb=0