当前位置:网站首页>Gbase 8C system table PG_ class
Gbase 8C system table PG_ class
2022-07-03 02:22:00 【Dazhuang twelve】
pg_class System tables store database object information and the relationship between them .
name | type | quote | describe |
oid | oid | Row identifier ( Hidden attribute , Must be explicitly selected to display ) | |
relname | name | surface 、 Indexes 、 Name of view, etc | |
relnamespace | oid | pg_namespace.oid | The name of the namespace that contains the relationship OID |
reltype | oid | pg_type.oid | Data types corresponding to possible table row types OID( The index is 0, No index pg_type term ) |
reloftype | oid | pg_type.oid | For tables with types , For the underlying composite type OID, For all other relationships 0 |
relowner | oid | pg_authid.oid | The owner of the relationship |
relam | oid | pg_am.oid | If this is an index , Indicates the access method used by the index (B Trees 、 Hash, etc ) |
relfilenode | oid | The name of the disk file for the relationship ,0 That means this is one “ mapping ” Relationship , The disk file name depends on the low-level state | |
reltablespace | oid | pg_tablespace.oid | The tablespace that the relationship stores . If 0, Use the default tablespace of the database .( If the relationship is meaningless without disk files ) |
relpages | int4 | This table shows the size of the disk , In pages ( The page size is BLCKSZ). This is just an estimate used by the planner . It has been VACUUM、ANALYZE As well as some DDL command ( Such as CREATE INDEX) Updated . | |
reltuples | float4 | Number of rows in the table . This is just an estimate used by the planner . It has been VACUUM、ANALYZE As well as some DDL command ( Such as CREATE INDEX) Updated . | |
relallvisible | int4 | The number of pages marked as fully visible in the table's visibility mapping table . This is just an estimate used by the planner . It has been VACUUM、ANALYZE As well as some DDL command ( Such as CREATE INDEX) Updated . | |
reltoastrelid | oid | pg_class.oid | Associated with this table TOAST Tabular OID, If not, it is 0.TOAST The table will have large attributes “ Off line ” Stored in a secondary table . |
relhasindex | bool | If this is a table and there is ( Or recently built ) The index is true | |
relisshared | bool | True if the table is shared among all databases in the cluster . Only some system directories ( Such as pg_database) Is Shared . | |
relpersistence | char | p = A permanent watch ,u = No log table , t = A temporary table | |
relkind | char | r = Common watch ,i = Indexes , S = Sequence ,t = TOAST surface ,v = View , m = Materialized view , c = Combination type , f = External table , p = Partition table | |
relnatts | int2 | The number of user columns in the relationship ( System columns are not counted ). stay pg_attribute There must be so many corresponding items in . See also pg_attribute.attnum. | |
relchecks | int2 | On the table CHECK Number of constraints | |
relhasoids | bool | If one is generated for each row of the relationship OID It is true | |
relhaspkey | bool | If the table has ( Or have ) A primary key is true | |
relhasrules | bool | If the table has ( Or have ) The rule is true | |
relhastriggers | bool | If the table has ( Or have ) The trigger is true | |
relhassubclass | bool | If the table has ( Or have ) Any inherited child is true | |
relrowsecurity | bool | True if row level security is enabled on the table | |
relforcerowsecurity | bool | If row level security ( When enabled ) If it also applies to the table owner, it is true | |
relispopulated | bool | True if the table has been filled ( This column is true for all relationships , But for some materialized views, it is not ) | |
relreplident | char | Used to form... For rows “replica identity” The column of : d = Default ( Primary key , If there is ), n = nothing , f = All columns i = Indexed indisreplident Set or default | |
relispartition | bool | If the table is partitioned , It is true | |
relfrozenxid | xid | All transactions before ID Has been replaced in the table with a permanent (“ Frozen ”) Business ID. This is used to track whether the table needs to be cleaned up , To prevent transactions ID Roll back or allow pg_xact Contracted . If the relationship is not a table, it is 0(InvalidTransactionId). | |
relminmxid | xid | Multiple transactions prior to this ID It has been replaced with a transaction in the table ID. This is used to track whether the table needs to be cleaned up , To prevent A lot of business ID Roll back or allow pg_multixact Contracted . If the relationship is not a table by 0(InvalidMultiXactId). | |
relacl | aclitem[] | Access right | |
reloptions | text[] | Access method related options , With “keyword=value” String form | |
relpartbound | pg_node_tree | If the table is partitioned ( see also relispartition), Is the internal representation of partition binding |
边栏推荐
- 502 (bad gateway) causes and Solutions
- es6 filter() 数组过滤方法总结
- GBase 8c系统表-pg_aggregate
- [fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
- 力扣(LeetCode)183. 从不订购的客户(2022.07.02)
- 詳細些介紹如何通過MQTT協議和華為雲物聯網進行通信
- stm32F407-------IIC通讯协议
- Apple releases MacOS 11.6.4 update: mainly security fixes
- elastic stack
- Oauth2.0 authentication, login and access "/oauth/token", how to get the value of request header authorization (basictoken)???
猜你喜欢

stm32F407-------ADC

Coroutinecontext in kotlin

elastic stack

What are MySQL locks and classifications

Wechat applet development tool post net:: err_ PROXY_ CONNECTION_ Failed agent problem

通达OA 首页门户工作台

Producer consumer model based on thread pool (including blocking queue)

Return a tree structure data

微信小程序開發工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理問題

Visual yolov5 format data set (labelme JSON file)
随机推荐
Deep learning notes (constantly updating...)
stm32F407-------ADC
The Sandbox阐释对元宇宙平台的愿景
人脸识别6- face_recognition_py-基于OpenCV使用Haar级联与dlib库进行人脸检测及实时跟踪
Groovy, "try with resources" construction alternative
Coroutinecontext in kotlin
[codeforces] cf1338a - Powered addition [binary]
Recommendation letter of "listing situation" -- courage is the most valuable
GBase 8c系统表-pg_am
RestCloud ETL 跨库数据聚合运算
[Yu Yue education] reference materials of chemical experiment safety knowledge of University of science and technology of China
微服务组件Sentinel (Hystrix)详细分析
easyPOI
GBase 8c系统表-pg_authid
Unrecognized SSL message, plaintext connection?
【教程】chrome關閉跨域策略cors、samesite,跨域帶上cookie
Trial setup and use of idea GoLand development tool
Memory pool (understand the process of new developing space from the perspective of kernel)
单词单词单词
Awk from introduction to earth (0) overview of awk