반응형

PostgreSQL 5

[PostgreSQL] PostgreSQL 13 Primary/standby 이중화(HA) 구성

[PostgreSQL] PostgreSQL 13 Primary/standby 이중화(HA) 구성 OS 환경CentOS 7.9 IPPrimary : 192.168.136.187Standby : 192.168.136.188vip : 192.168.136.189 DML, 192.168.136.190 Select DB 환경PostgreSQL 13.12 사전작업 (both)방화벽 중지-- primary[root@pg-ha1 ~]# systemctl stop firewalld[root@pg-ha1 ~]# systemctl disable firewalld-- standby[root@pg-ha2 ~]# systemctl stop firewalld[root@pg-ha2 ~]# systemctl disable firewa..

PostgreSQL 2023.09.13

[PostgreSQL] PostgreSQL 기초 Database 및 User 생성

[PostgreSQL] PostgreSQL 기초 Database 및 User 생성 User Create 작성방법 CREATE USER name [ [ WITH ] option [ ... ] ] 위 옵션에 대한 간략한 설명 SUPERUSER | NOSUPERUSER ; Superuser 여부. 기본값은 NOSUPERUSER이다. CREATEDB | NOCREATEDB ; DB생성 권한 부여 여부. 기본값은 권한 없음 이다. CREATEUSER | NOCREATEUSER ; User생성 권한 부여 여부. 기본값은 권한 없음 이다. PASSWORD 'password' ; Password 설정 user 생성 ## 생성 시 postgres=# create user test password 'test' create..

PostgreSQL 2023.09.04

[PostgreSQL] Rocky Linux 8.7에 PostgreSQL 14 설치 가이드

[PostgreSQL] Rocky Linux 8.7에 PostgreSQL 14 설치 가이드 OS 환경 Rocky Linux 8.7 DB 환경 PostgreSQL 14 사전작업 locale 설정 [root@rocky1 ~]# export LANG=c 설치 Repository 추가 # PostgreSQL 최신 설치를 위해 Repository를 연결 [root@rocky1 ~]# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm Rocky Linux 8 - AppStream 2.6 MB/s | 11 MB 00:04 Rocky Linux 8 - BaseO..

PostgreSQL 2023.08.22
반응형
맨 위로