postgre Contents Introduction:

Base ├──  # Each database contains subdirectories

│   ├── 1

│   │   ├── 112

, Ltd. Free Join ├──  # cluster-wide table that contains subdirectories, for example pg_database

│   ├── 1136

│   ├── 1136_fsm

│   ├── 1136_vm

......

│   ├── 6100_vm

│   ├── 6114

│   ├── 6115

│   ├── pg_control

│   ├── pg_filenode.map

│   └── pg_internal.init

Pg_commit_ts ├──  # Include subdirectories transaction commit timestamp data

Pg_dynshmem ├──  # contains a dynamic shared memory subsystem  subdirectory of use

├── pg_hba.conf

Pg_ident.conf ├──  # contains a dynamic shared memory subsystem  subdirectory of use

Pg_logical ├──  # includes a logic decode status data subdirectory

│   ├── mappings

│   ├── replorigin_checkpoint

│   └── snapshots

Pg_multixact ├──  # subdirectory contains multiple things status data (used for shared row locks)

│   ├── members

│   │   └── 0000

│   └── offsets

│       └── 0000

Pg_notify ├──  # subdirectories containing LISTEN / NOTIFY status data

│   └── 0000                          郑州妇科医院×××:http://yyk.familydoctor.com.cn/sysdfkyy/

├── pg_replslot  #包含复制槽数据的子目录

├── pg_serial  #包含有关已提交的可序列化事务的信息的子目录

├── pg_snapshots  #包含导出快照的子目录

├── pg_stat  #包含统计子系统永久文件的子目录

│   ├── db_0.stat

│   ├── db_13231.stat

│   ├── db_16384.stat

│   └── global.stat

├── pg_stat_tmp  #子目录,包含统计子系统的临时文件

├── pg_subtrans  #包含子事务状态数据的子目录

│   └── 0000

├── pg_tblspc  #包含表空间符号链接的子目录

├── pg_twophase  #包含已准备 事物 的状态文件的子目录

├── PG_VERSION  #包含PostgreSQL主版本号的文件

├── pg_wal  #包含WAL(预写日志)文件的子目录

│   ├── 000000010000000000000002

│   └── archive_status

├── pg_xact  #包含事务提交状态数据的子目录

│   └── 0000

├── postgresql.auto.conf  #用于存储由 ALTER SYSTEM  设置的配置参数的文件

├── postgresql.conf

├── postmaster.opts  #记录服务器上次启动的命令行选项的文件

└── tree.txt

current_logfiles  记录日志记录收集器当前写入的日志文件的文件

postmaster.pid  一个锁定文件,记录当前的postmaster进程ID(PID),集群数据目录路径,postmaster开始时间戳,端口号,Unix域套接字目录路径(Windows上为空),第一个有效的listen_address(IP地址或 * ,或者如果没有侦听TCP则为空)和共享内存段ID(服务器关闭后该文件不存在)