检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
pclocatortype "char" 定位器类型。 H:hash G:Range L:List M:Modulo N:Round Robin R:Replication pchashalgorithm smallint 使用哈希算法分布元组。 pchashbuckets smallint
行标识符(隐含属性,必须明确选择)。 relname name 分区表、分区、分区上toast表和分区索引的名称。 parttype "char" 对象类型: 'r':partitioned table 'p':table partition 's':table subpartition 'x':index
pclocatortype "char" 定位器类型。 H:hash G:Range L:List M:Modulo N:Round Robin R:Replication pchashalgorithm smallint 使用哈希算法分布元组。 pchashbuckets smallint
openGauss=# CREATE TABLE tpcds.reason ( r_reason_sk integer, r_reason_id character(16), r_reason_desc character(100) ); --向表中插入多条记录。
类型 描述 node_name text 实例名称。 slot_id integer 槽位id。 slot_type "char" 槽位类型(r:读,w:写)。 status boolean 槽位占用状态。 buffer_id bigint 该槽位对应的buffer id。 relfilenode_blocknum
gaussdb=# CREATE TABLE tpcds.reason ( r_reason_sk integer, r_reason_id character(16), r_reason_desc character(100) ); --向表中插入多条记录。
4:DELETE ev_enabled "char" 用于控制复制的触发。 O:“origin”和“local”模式时触发。 D:禁用触发。 R:“replica”时触发。 A:任何模式都会触发。 is_instead boolean 如果该规则是INSTEAD规则,则为真,否则为假。
DELETE ev_enabled "char" 用于控制复制的触发。 O :“origin”和“local”模式时触发。 D :禁用触发。 R :“replica”时触发。 A :任何模式是都会触发。 is_instead boolean 如果该规则是INSTEAD规则,则为真,否则为假。
4:DELETE ev_enabled "char" 用于控制复制的触发。 O:“origin”和“local”模式时触发。 D:禁用触发。 R:“replica”时触发。 A:任何模式都会触发。 is_instead boolean 如果该规则是INSTEAD规则,则为真,否则为假。
4:DELETE ev_enabled "char" 用于控制复制的触发。 O:“origin”和“local”模式时触发。 D:禁用触发。 R:“replica”时触发。 A:任何模式是都会触发。 is_instead boolean 如果该规则是INSTEAD规则,则为真,否则为假。
pclocatortype "char" 定位器类型。 H:hash G:Range L:List M:Modulo N:Round Robin R:Replication pchashalgorithm smallint 使用哈希算法分布元组。 pchashbuckets smallint
DELETE ev_enabled "char" 用于控制复制的触发。 O :“origin”和“local”模式时触发。 D :禁用触发。 R :“replica”时触发。 A :任何模式是都会触发。 is_instead boolean 如果该规则是INSTEAD规则,则为真,否则为假。
gaussdb=# CREATE TABLE tpcds.reason( r_reason_sk integer, r_reason_id character(16), r_reason_desc character(100) ); --向表中插入多条记录。
confupdtype "char" 外键更新动作代码。 a:没动作。 r:限制。 c:级联。 n:设置为null。 d:设置为缺省。 confdeltype "char" 外键删除动作代码。 a:没动作。 r:限制。 c:级联。 n:设置为null。 d:设置为缺省。 confmatchtype
confupdtype "char" 外键更新动作代码。 a:没动作。 r:限制。 c:级联。 n:设置为null。 d:设置为缺省。 confdeltype "char" 外键删除动作代码。 a:没动作。 r:限制。 c:级联。 n:设置为null。 d:设置为缺省。 confmatchtype
confupdtype "char" 外键更新动作代码。 a:没动作。 r:限制。 c:级联。 n:设置为null。 d:设置为缺省。 confdeltype "char" 外键删除动作代码。 a:没动作。 r:限制。 c:级联。 n:设置为null。 d:设置为缺省。 confmatchtype
行标识符(隐含字段,必须明确选择)。 relname name 分区表、分区、分区上toast表和分区索引的名称。 parttype "char" 对象类型: 'r':partitioned table 'p':table partition 'x':index partition parentid oid
name 表、索引、分区的名称。 relnamespace oid 包含此对象的命名空间的oid。 relkind "char" 对象类型。 r:标识普通表。 I:标识表级索引。 i:标识分区索引。 p:标识一级分区。 s:标识二级分区。 reltimestamp timestamp
openGauss=# CREATE TABLE tpcds.reason ( r_reason_sk integer, r_reason_id character(16), r_reason_desc character(100) ); --向表中插入多条记录。
新增列的DEFAULT值长度不超过128个字节; 3. 新增列DEFAULT值不包含易变(volatile)函数; 4. 新增列设置有DEFAULT值,且DEFAULT值不为NULL。 如果不确定是否满足条件3,可以查询PG_RPOC系统表中函数的provolatile属性是否为‘v’。 表约束个数不能超过32767个。