티스토리 뷰
postgreSQL Index Type
- Version Info : PostgreSQL(Ver 9.6)
B-tree
- Default Tree 방식
- Default Tree 방식
hash
- 동등 비교 최적화
- 동등 비교 최적화
GiST(Generalized Search Tree)
- 지역 분석 최적화
- 참조: https://www.postgresql.org/docs/9.2/static/gist.html
GIN(Generalized Inverted Index)
- 여러값을 하나의 Row에 맵핑(Arrays and full-text searchs 이용)
- 참조: https://www.postgresql.org/docs/9.2/static/gin.html
SP-GiST(Space-Partitioning Generalized Search Tree)
- 인-메모리 최적화, 파티셔닝 구조가
- 참조: PostgreSQL: https://www.postgresql.org/docs/9.2/static/spgist.html
- 참조: http://www.sai.msu.su/~megera/wiki/spgist_dev
BRIN(Block Range INdex)
- 사이즈가 제한된 큰 데이터 사용 시 최적
- 참조: https://www.postgresql.org/docs/9.6/static/brin.html
댓글