PostgreSQL10之pg_partitioned_table视图
2018-01-09 22:58
155 查看
PostgreSQL10 新增pg_partitioned_table动态视图。
该视图可以直观查看存储的分区表信息。
By 徐云鹤
该视图可以直观查看存储的分区表信息。
Name | Type | References | Description |
---|---|---|---|
partrelid | oid | pg_class.oid | The OID of the pg_classentry for this partitioned table |
partstrat | char | Partitioning strategy; l= list partitioned table, r= range partitioned table | |
partnatts | int2 | The number of columns in partition key | |
partattrs | int2vector | pg_attribute.attnum | This is an array of partnattsvalues that indicate which table columns are part of the partition key. For example, a value of 1 3would mean that the first and the third table columns make up the partition key. A zero in this array indicates that the corresponding partition key column is an expression, rather than a simple column reference. |
partclass | oidvector | pg_opclass.oid | For each column in the partition key, this contains the OID of the operator class to use. See pg_opclassfor details. |
partcollation | oidvector | pg_opclass.oid | For each column in the partition key, this contains the OID of the collation to use for partitioning, or zero if the column is not of a collatable data type. |
partexprs | pg_node_tree | Expression trees (in nodeToString()representation) for partition key columns that are not simple column references. This is a list with one element for each zero entry in partattrs. Null if all partition key columns are simple references. |
相关文章推荐
- 在sqlserver视图中慎用table.*的方式。
- PowerDesigner中Table视图同时显示Code和Name
- PowerDesigner中Table视图同时显示Code和Name
- IOS开发-TableView表视图LV2
- tableView 头视图的高度
- TableView头视图
- 点击tableview的头视图按钮来达到收放tableview的列表
- PowerDesigner中Table视图同时显示Code和Name
- PowerDesigner中Table视图同时显示Code和Name
- UITableView cell自定义视图中插入Table实现复杂界面
- iOS TableView头视图根据偏移量下拉缩放的效果实现
- iOS — tableView头视图缩放效果。
- 视图中慎用select * from table
- PowerDesigner的Table视图同时显示Code和Name的方法
- iOS7应用开发11:列表视图TableView、iPad应用
- PowerDesigner中Table视图同时显示Code和Name
- iOS的手势事件和可滚动视图(tableView、collectionView...)的触摸事件冲突的解决方法
- How To Change the Partition Column Of A Partitioned Table Using DBMS_Redefinition [ID 846405.1]
- 表视图tableView的使用---摘自培训文档
- How to Backup Partition of Range Partitioned Table with Local Indexes