RE: Unique constraint across all partitions?

From: Kanninen Anssi EXT <Anssi(dot)Kanninen(at)digia(dot)com>
To: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: RE: Unique constraint across all partitions?
Date: 2021-01-26 10:09:07
Message-ID: DB6PR02MB3254BBDA5F3220F0B460B4A399BC0@DB6PR02MB3254.eurprd02.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

But why use global indexes?
Oracle also has local partitioned indexes which are just like we would like to have in PostgreSQL.

From: Victor Yegorov <vyegorov(at)gmail(dot)com>
Sent: tiistai 26. tammikuuta 2021 11.54
To: Thomas Kellerer <shammat(at)gmx(dot)net>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Unique constraint across all partitions?

вт, 26 янв. 2021 г. в 09:48, Thomas Kellerer <shammat(at)gmx(dot)net<mailto:shammat(at)gmx(dot)net>>:
> Global indexes are likely more pain than gain.

While not extremely popular, many Oracle users do find them useful.

I've heard and been advised many times exactly the opposite for ORACLE,
especially when performance is important.

Global indexes makes a 15-minute maintenance job into a 9-hour downtime experience.

--
Victor Yegorov

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Thomas Kellerer 2021-01-26 11:08:08 Re: Unique constraint across all partitions?
Previous Message Victor Yegorov 2021-01-26 09:54:28 Re: Unique constraint across all partitions?