提交 757f1aac 编写于 作者: M Mel Kiyama 提交者: David Yozie

docs - exchange partition, add limitation exchanging with a partitioned table...

docs - exchange partition, add limitation exchanging with a partitioned table is not supported. (#6961)
上级 2fc44ad5
......@@ -688,6 +688,8 @@ PARTITION other;
partition swaps one table in place of an existing partition. You can exchange partitions
only at the lowest level of your partition hierarchy (only partitions that contain data
can be exchanged). </p>
<p>You cannot exchange a partition with a replicated table. You cannot exchange a partition
with a partitioned table or a child partition of a partitioned table.</p>
<p>Partition exchange can be useful for data loading. For example, load a staging table and
swap the loaded table into your partition design. You can use partition exchange to change
the storage type of older partitions to append-optimized tables. For example:</p>
......@@ -705,7 +707,6 @@ WITH TABLE jan12;
ensure that the data in table that you are exchanging for an existing partition is valid
against the constraints on the partition. Otherwise, queries against the partitioned table
might return incorrect results.</note>
<p>You cannot exchange a partition with a replicated table. </p>
<p>The Greenplum Database server configuration parameter
<codeph>gp_enable_exchange_default_partition</codeph> controls availability of the
<codeph>EXCHANGE DEFAULT PARTITION</codeph> clause. The default value for the parameter
......
......@@ -314,8 +314,8 @@ ALTER TABLE <varname>name</varname>
<note>If you add a partition to a table that has subpartition encodings, the
new partition inherits the storage directives for the subpartitions.
For more information about the precedence of compression settings,
see "Using Compression" in the Greenplum Database Administrator
Guide.</note>
see "Using Compression" in the <cite>Greenplum Database
Administrator Guide</cite>.</note>
<p>You must own the table to use <codeph>ALTER TABLE</codeph>. To change the
schema of a table, you must also have <codeph>CREATE</codeph>
privilege on the new schema. To add the table as a new child of a
......@@ -671,6 +671,10 @@ ALTER TABLE <varname>name</varname>
is not supported if the partitioned table contains a
column with a check constraint or a <codeph>NOT
NULL</codeph> constraint.</pd>
<pd>You cannot exchange a partition with a replicated table.
You cannot exchange a partition with a partitioned
table or a child partition of a partitioned
table.</pd>
<pd><b>WITH</b> | <b>WITHOUT VALIDATION</b> - Validates that
the data in the table matches the
<codeph>CHECK</codeph> constraint of the partition
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册