Re: Partition table Creation and Testing using Inherited method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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/ | E: dbatocloud17@xxxxxxxxx



On Wed, Mar 3, 2021 at 2:18 PM Laurenz Albe <laurenz.albe@xxxxxxxxxxx> 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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux