1.2 Physiacel Structure of Database Cluster
1.2. Physical Structure of Database Cluster
A database cluster basically is one directory referred to as base directory, and it contains some subdirectories and lots of files. If you execute the initdb utility to initialize a new database cluster, a base directory will be created under the specified directory. Though it is not compulsory, the path of the base directory is usually set to the environment variable PGDATA.
Figure 1.2 shows an example of database cluster in PostgreSQL. A database is a subdirectory under the base subdirectory, and each of the tables and indexes is (at least) one file stored under the subdirectory of the database to which it belongs. Also there are several subdirectories containing particular data, and configuration files. While PostgreSQL supports tablespaces, the meaning of the term is different from other RDBMS. A tablespace in PostgreSQL is one directory that contains some data outside of the base directory.
當使用initdb 工具初始化一個新的資料庫叢集時會建立base目錄,具體結構可看下圖:
參考文件:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21374452/viewspace-2779888/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 1.1 Logical Structure of Database ClusterStructDatabase
- DrawERD makes it easy to visualize your database structure.DatabaseStruct
- MySQL 8.0 Reference Manual(讀書筆記56節--Optimizing Database Structure)MySql筆記DatabaseStruct
- 在 Google Kubernetes Cluster 上使用 HANA Expression Database ServiceGoExpressDatabase
- data structureStruct
- [AlwaysOn2017] AlwaysOn的DMV和DMF - Sys.dm_hadr_database_replica_cluster_statesDatabase
- Oracle RAC啟動歸檔時需要設定CLUSTER_DATABASE引數嗎?OracleDatabase
- OpenAPI Basic StructureAPIStruct
- Data Structure_樹Struct
- sqrt-data-structureStruct
- idea--Project StructureIdeaProjectStruct
- 1.2
- SAP Spartacus Reference App StructureAPPStruct
- The database owner SID recorded in the master database differs from the database owner SID recorded in database 'DB_NAME'DatabaseAST
- Half-Edge-Mesh-Data-StructureStruct
- Composition and Structure of an INVOIC IDoc in SAP ERPStruct
- SAP ABAP Append structure 介紹APPStruct
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Error querying database. XXXXXXXXXXXXX, No database selected。ErrorDatabase
- Convert a Physical Standby Database into a Snapshot Standby DatabaseDatabase
- redis.cluster/memcached.cluster/wmware esxiRedis
- Structure of Linux Kernel Device Driver(Part II)StructLinuxdev
- cluster meet
- MySQL ClusterMySql
- Database TimeoutDatabase
- Database OverallDatabase
- database no shardingDatabase
- (乾貨)【intellij idea】Project Structure 講解IntelliJIdeaProjectStruct
- 什麼是 SAP ABAP 的 include structureStruct
- Redis Cluster原理Redis
- cilium Cluster Mesh
- 部署Kubernetes Cluster
- Redis Cluster 3.0Redis
- redis cluster 搭建Redis
- 今日總結1.2
- Oracle 12.2 使用Database Link優化Standby Database WorkloadOracleDatabase優化
- akka-typed(6) - cluster:group router, cluster-load-balancing
- ORACLE database vaultOracleDatabase