From: | dbatoCloud Solution <dbatocloud17(at)gmail(dot)com> |
---|---|
To: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
Cc: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | Re: Partition table Creation and Testing using Inherited method |
Date: | 2021-03-03 09:01:07 |
Message-ID: | CAEz7P_tPwZYUhxd_Ytfz-NjT2Fu+zGiDO-V5LwdSXmxr73=43Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Dear Laurenz,
Thanks! I understood the problem, But, at this moment it is not possible to
upgrade the DB version (10.13) to 11 or 12 due to a sprint issue.
Is there any other way to improve the performance?
Thanks & Best Wishes,
Ashok
---------------------------------------------------------------------------------------------------------------------
Ashokkumar Mani *(OCP12c/11g/10g/9i, AWS SAA, M103)*
*Dubai** , UAE* *| BLR , INDIA*
M: *+971 54 723 0075 *| *+91 90086 70302 | *WApp :* +91 81975 99922*
W: https://dbatocloudsolution.blogspot.in/
<http://dbatocloudsolution.blogspot.in/> | E: dbatocloud17(at)gmail(dot)com
On Wed, Mar 3, 2021 at 2:18 PM Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
wrote:
> On Wed, 2021-03-03 at 08:49 +0530, dbatoCloud Solution wrote:
> > Someone guide me on partitioning, I used the declarative method(
> inheritance),
> > Created child tables, added check constraints and steps below which I
> mentioned it.
> >
> > step1 #
> > CREATE TABLE core.contact_transaction_history (
> >
> > record_insert_datetime timestamp NULL,
> > crm_contact_type_id int4 NULL
> > );
> >
> > step2#
> > CREATE TABLE core.contact_transaction_history_Year_2016() INHERITS
> (core.contact_transaction_history_PartMar2021);
> > CREATE TABLE core.contact_transaction_history_Year_2017() INHERITS
> (core.contact_transaction_history_PartMar2021);
> > CREATE TABLE core.contact_transaction_history_Year_2018() INHERITS
> (core.contact_transaction_history_PartMar2021);
>
> Don't use inheritance partitioning.
>
> Upgrade to a recent PostgreSQL release and use declarative partitioning.
>
> It is so much better when it comes to performance and maintenance costs.
>
> Yours,
> Laurenz Albe
> --
> Cybertec | https://www.cybertec-postgresql.com
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Victor Sudakov | 2021-03-03 09:31:58 | load balancer and connection pooling combined |
Previous Message | Laurenz Albe | 2021-03-03 08:48:30 | Re: Partition table Creation and Testing using Inherited method |