-- 컬럼 버킷수 변경
	alter table t4 alter column c1 set statistics 200 ;
    
    --변경 후 확인
    select attname, attstattarget from pg_attribute
    where attrelid = (select oid from pg_class where relname = 't4')
    and attname = 'c1' ;
SMALL

'PostgreSQL' 카테고리의 다른 글

PostgreSQL 11.1 한국어 문서  (0) 2020.08.02
쿼리 실행계획 비쥬얼라이징  (0) 2020.08.02
CPU 모니터링  (0) 2020.08.02
락 모니터링  (0) 2020.08.01
Cluster 명령을 이용한 테이블레코드 정렬  (0) 2020.08.01

+ Recent posts