[PostgreSQL] 아키텍처

2021. 2. 25. 16:26
728x90

Architectural Overview

PostgreSQL 은 Windows, Linux, Unix 등 다양한 OS를 지원하고 있으며 .NET, JDBC 등의 Connector들을 제공하고 있다.

PostgreSQL Limits

Limit                                                                          Value

Maximum Database Size Unlimited
Maximum Table Size 32TB
Maximum Row Size 1.6TB
Maximum Field Size 1GB
Maximum Rows per Table Unlimited
Maximum Columns per Table 250~1600 (Depending on Column types)
Maximum Indexes per Table Unlimited

PostgreSQL Terminology

Industry Term                                                               PostgresPlus Term

Table or Index Relation
Row Tuple
Column Attribute
Data Block Page(when block is on disk)
Page Buffer(when block is memory)

PostgreSQL Process & Memory Architecture

PostgreSQL의 경우 process 기반으로 동작한다.

포스트마스터(Postmaster)라는 main process가 있으며, child process로 유틸리티 프로세스가 실행되어 동작된다. Postmaster에서는 유틸리티 프로세스가 죽으면 restart 시킨다.

사용자 Session에 대해서는 한 개에 백앤드 프로세스가 실행된다. Postmaster에서 새로운 connection을 맺는다.

PostgreSQL Physical Database Architecture

"Cluster"는 하나의 서버 인스턴스에 의해 관리되는 여러 Database의 모음이다.

Cluster에 대한 구분은 아래 3가지로 할 수 있다.

  • - Data directory
  • - TCP Port
  • - Set of processes

하나의 cluster는 여러 개의 Database를 구성할 수 있다.

728x90

'DATABASE > POSTGRESQL' 카테고리의 다른 글

[PostgreSQL] install : 윈도우  (0) 2021.02.25
[PostgreSQL] 설치 전 확인사항  (0) 2021.02.25
[PostgreSQL] 한눈에 살펴보는 PostgreSQL  (0) 2021.02.25
[PostgreSQL] 특징  (0) 2021.02.25
[PostgreSQL] 개요  (0) 2021.02.25