Routing & Concurrency with trigger functions

From: chanukya SDS <chanukyasds(at)gmail(dot)com>
To: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Routing & Concurrency with trigger functions
Date: 2023-02-07 09:03:18
Message-ID: CAB4f4B4bcyfsjtBTADZw51fNacPgjOVPWpr3kLv1KnYDLh1wHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Dear Postgres Family,

I need some clarity and suggestions on the situation below.

There is a table called table_1

1. its immutable only INSERTS allowed.
2. it should get partitioned monthly basis
3. partitions should be created while inserting data
4. inheritance method should be used

Everything I have written with the Trigger Function.

Now My doubt is how I can do this INSERT routing better. It must be
optimized for efficiency and handle concurrency.

Any thoughts?

Thanks,

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Hills 2023-02-08 18:01:23 Domain check taking place unnecessarily?
Previous Message Craig Jackson 2023-02-03 16:25:45 Re: Database Stalls