1.1 Logical Structure of Database Cluster
1.1. Logical Structure of Database Cluster
Figure 1.1 shows the logical structure of a database cluster. A database is a collection of database objects. In the relational database theory, a database object is a data structure used either to store or to reference data. A (heap) table is a typical example of it, and there are many more like an index, a sequence, a view, a function and so on. In PostgreSQL, databases themselves are also database objects and are logically separated from each other. All other database objects (e.g., tables, indexes, etc) belong to their respective databases.
圖1.1 展示了資料庫的邏輯結構。 資料庫中包含了表、索引、檢視、函式、序列等。 在資料庫叢集中每個資料庫是相互獨立的。
All the database objects in PostgreSQL are internally managed by respective object identifiers (OIDs), which are unsigned 4-byte integers. The relations between database objects and the respective OIDs are stored in appropriate system catalogs, depending on the type of objects. For example, OIDs of databases and heap tables are stored in pg_database and pg_class respectively, so you can find out the OIDs you want to know by issuing the queries such as the following:
PostgreSQL 資料庫中的所有物件都有自己的Object ID(OID)。 這些物件的object id 都儲存在system catalogs中。
例如:資料庫和表的oids 分別記錄在pg_database, pg_class中。 可以透過下列命令進行查詢:
參考文件:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21374452/viewspace-2779726/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 1.2 Physiacel Structure of Database ClusterStructDatabase
- buffer cache logical structure!Struct
- 建立 Logical Standby DatabaseDatabase
- manage logical standby databaseDatabase
- 監控Logical standby databaseDatabase
- Oracle DG建立Logical Standby DatabaseOracleDatabase
- Logical Standby Database的配置步驟.Database
- DrawERD makes it easy to visualize your database structure.DatabaseStruct
- 建立Data guard logical standby database須知Database
- [江楓]In Memory Undo與logical standby databaseDatabase
- Oracle 10g Limits - Logical Database LimitsOracle 10gMITDatabase
- CLUSTER_DATABASE_INSTANCES引數Database
- 10g Administrator workshop II---Database structureDatabaseStruct
- 4 Creating a Logical Standby Database 建立邏輯備庫Database
- CLUSTER_DATABASE_INSTANCES 引數的真正含義Database
- 在 Google Kubernetes Cluster 上使用 HANA Expression Database ServiceGoExpressDatabase
- alter database recover to logical standby xxx 很長時間,為什麼Database
- data structureStruct
- Valuation StructureStruct
- ORA-29707: inconsistent value 2 for initialization parameter cluster_database_Database
- RedHat 4 as 下安裝Oracle11gR2,Cluster(ASM)和DatabaseRedhatOracleASMDatabase
- OpenAPI Basic StructureAPIStruct
- VALIDATE STRUCTUREStruct
- 在Logical Standby上處理DDL及DML , ORA-16224: Database Guard is enabledDatabase
- oracle ocp 19c考題8,科目082考試題-logical and physical database structuresOracleDatabaseStruct
- Data Structure_樹Struct
- sqrt-data-structureStruct
- Oracle RAC啟動歸檔時需要設定CLUSTER_DATABASE引數嗎?OracleDatabase
- rac下啟動關閉與更改歸檔模式 時CLUSTER_DATABASE 作用模式Database
- Data block Structure and Row Piece Structure_20091209BloCStruct
- PRKR-1005 : adding of cluster database asmdb configuration failed, {1}DatabaseASMAI
- idea--Project StructureIdeaProjectStruct
- SAP Spartacus Reference App StructureAPPStruct
- Idea Project Structure配置IdeaProjectStruct
- 學習VALIDATE STRUCTUREStruct
- Program Interface Structure (135)Struct
- 兩節點的10gRAC加入新節點後cluster_database_instances=2Database
- DataGuard:Logical Standby Switchover