Partitioning & ORM apps

From: PropAAS DBA <dba(at)propaas(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Partitioning & ORM apps
Date: 2017-11-19 02:49:26
Message-ID: 46231efa-8a34-17bf-81d2-3c68e05d3565@propaas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All;

we want to deploy partitioning for historical data archiving &
performance however the app uses an ORM and depends on the number of
rows affected from the inserts, updates & deletes which of course always
come back as zero rows for the partition base or master table.

We talked about letting daily data go into the base table and 'moving'
it nightly but this could still lead to an update/delete for rown in the
child tables, thus the same issue remains.

Anyone know of a workaround? Maybe it can be done with
insert/update/delete trigger functions?

Thanks in advance

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Fabrízio de Royes Mello 2017-11-19 08:31:56 Re: Partitioning & ORM apps
Previous Message Andres Freund 2017-11-18 03:13:07 Re: POWA-tool doesn't show queries executed