From ecb05b6ede8bd56da86228cb585db34d29504f7d Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 25 Nov 2024 15:32:12 +0900 Subject: [PATCH] PGD: document compatibility with EPAS automatic partitioning Currently this doesn't work at all with PGD, so add some basic notes documenting this. BDR-5756 --- product_docs/docs/pgd/5.6/scaling.mdx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/product_docs/docs/pgd/5.6/scaling.mdx b/product_docs/docs/pgd/5.6/scaling.mdx index 2f064cee977..612e43afda4 100644 --- a/product_docs/docs/pgd/5.6/scaling.mdx +++ b/product_docs/docs/pgd/5.6/scaling.mdx @@ -184,3 +184,21 @@ to enable autopartitioning on the given table. If autopartitioning is already enabled, then no action occurs. Similarly, use [`bdr.autopartition_disable()`](/pgd/latest/reference/autopartition#bdrautopartition_disable) to disable autopartitioning on the given table. + +## Restrictions on EPAS-native automatic partitioning + +EPAS-native automatic partitioning is not supported on PGD. + +If the PGD extension is active on an EPAS database, DDL commands to configure +EPAS automatic partitioning (`ALTER TABLE ... SET AUTOMATIC` and `ALTER TABLE ... SET INTERVAL`) +will be rejected. + +Note that while it is possible to enable the PGD extension on an EPAS database +containing tables configured to use EPAS-native automatic partitioning, it +will not be possible to join further nodes using this node as a source node. + +EPAS-native automatic partitioning can be disabled with one of the following +commands: + +- `ALTER TABLE ... SET MANUAL` (for list partitioned tables) +- `ALTER TABLE ... SET INTERVAL ()` (for interval partitioned tables)