[PostgreSQL] Tablespace 생성


[PostgreSQL] Tablespace 생성

1. TABLESPACE - DB 내의 물리적인 부분으로 실제 데이터를 저장하는 공간이다. 2. TABLESPACE 생성 생성할 폴더를 만든다. mkdir postgre_db 소유권 변경 chown postgres postgre_db postgresql 접속 # psql -U postgres psql (13.3 (Debian 13.3-1.pgdg100+1)) 도움말을 보려면 "help"를 입력하십시오. postgres=# create tablespace invako_tbl owner invako location '/postgre_db'; CREATE TABLESPACE CREATE TABLESPACE [tablespace_name]; option (1) OWNER [user_name] - 입력하여..


원문링크 : [PostgreSQL] Tablespace 생성