PostgreSQL

1) help information - psql의 명령어에 대한 정보를 얻기 위해서는 psql로 접속하여 \? 를 입력하면 명령어에 대한 정보를 얻을 수 있다. - sql에 대한 명령어 정보를 얻고 싶을 때는 \h 를 입력하면 sql명령어에 대한 정보를 얻을 수 있다. 2. database 목록 확인 - \l 명령어를 통해 서버에 접속된 database 목록을 확인할 수 있다. - database 내 relation 정보를 확인하려면 \d를 입력한다. ● \dt : database 내 table 조회 ● \d+ : relation 상세 조회 ● \dS : System table 조회 ● \dv : view 조회 ● \dl : Large object 조회 ● \di : index 조회 ● \df : fun..
postgresql를 설치하고나면 다음과 같은 구조가 생성된다. [표]POSTGRESQL 엔진 디렉토리 구조 directory contents bin postgreSQL(DB)에서 사용하는 실행파일 위치 data db의 data directory doc documentation 파일 위치 pg_env.sh 환경변수 설정 파일 include header files 위치(cluster 생성 시 사용됨) installer/scripts installer files lib PostgreSQL(DB)에 필요한 library 위치 pgAdmin3/4 그래픽 관리자 tool stackbuilder GUI 기반 업데이트 관리 tool uninstall-postgresql/ uninstall-postgresal.dat ..
centos 환경에서 postgresql database 설치 1. OS 환경 확인 [root@localhost ~]# cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT..
mewoni
'PostgreSQL' 태그의 글 목록 (4 Page)