[ADMIN] Partitioning & ORM apps - Mailing list pgsql-admin

From PropAAS DBA
Subject [ADMIN] Partitioning & ORM apps
Date
Msg-id 46231efa-8a34-17bf-81d2-3c68e05d3565@propaas.com
Whole thread Raw
Responses Re: [ADMIN] Partitioning & ORM apps
Re: [ADMIN] Partitioning & ORM apps
List 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




-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

pgsql-admin by date:

Previous
From: Andres Freund
Date:
Subject: Re: [ADMIN] POWA-tool doesn't show queries executed
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: [ADMIN] Partitioning & ORM apps