[postgresql] postgresql의 Index Only Scan
·
데이터베이스
Postgresql은 Index Only Scan을 지원한다. Index Only Scan은 index에 필요로 하는 데이터가 있을때 인덱스 영역만 스캔하는 방식이다.Index Only ScanIndex Only Scan을 테스트 해보기 위해서 테이블에 100만개 정도의 더미 데이터를 넣고 테스트 해보았다.create table product( id bigint generated by default as identity primary key, created_at timestamp with time zone not null, updated_at timestamp with time zone not null, name varchar(60) ..