본문 바로가기

Database/Greenplum

Greenplum 7 RoadMap - 예상기능정리

728x90
반응형

Greenplum 7 은 아직 출시되지 않았지만 주요계획을 가지고 개발이 진행되는 것 같다.

2021년 3월 5일(금) 기준으로 VMware Tanzu Greenplum 채널 유튜브, Greenplum Github 를 참고로 주요기능을 유추해 보도록 하자.

 

tanzu.vmware.com/content/videos/greenplum-summit-2020-korea-vmware-tanzu-greenplum-7-roadmap

 

Greenplum Summit 2020 Korea - VMware Tanzu Greenplum 7 Roadmap

VMware Tanzu Greenplum 7 Roadmap by Ivan Novic and Sanghee Lee

tanzu.vmware.com

 

github.com/greenplum-db/gpdb/milestone/4

Greenplum7 Github

 

Greenplum 7 은 Postgresql 12 기반으로 개발되었으니 PostgreSQL 9.5, 9.6, 10, 11, 12 버전의 모든 기능이 통합되는 것이다.

 

1.  Upsert 구문 기능 지원(PostgreSQL 9.5)

  • Oracle의 Merge 처럼 Upsert 구문 기능을 지원하는 것이며 실제 업무에서 아주 유용하게 사용할 것 같다.
  • 데이터가 없으면 INSERT, 데이터가 있으면 UPDATE 또는 DO NOTHING(아무작업을 안할 수 있게) 설정을 할 수 있게 된다.
  • Upsert 보다 Greenplum은 on conflict 라고 부르는게 직관적같기도 하다.

www.postgresql.org/docs/9.5/sql-insert.html#SQL-ON-CONFLICT

 

INSERT

INSERT Name INSERT -- create new rows in a table Synopsis [ WITH [ RECURSIVE ] with_query [, ...] ] INSERT INTO table_name [ AS alias ] [ ( column_name [, ...] ) ] { DEFAULT VALUES | VALUES ( { expression | DEFAULT } [, ...] ) [, ...] | query } [ ON CONF

www.postgresql.org

 

2. 트랜잭션 관리가 가능한 프로시져 기능(PostgreSQL 11)

  • Function 으로 안되었던 트랜잭션을 세밀하게 조정가능한 프로시져가 지원된다.

www.postgresql.org/docs/11/sql-createprocedure.html

 

CREATE PROCEDURE

CREATE PROCEDURE CREATE PROCEDURE — define a new procedure Synopsis CREATE [ OR REPLACE ] PROCEDURE name ( [ [ …

www.postgresql.org

 

3. JIT(Just-In-Time) Compliation

  • SQL 을 인터프리터 언어에서 컴파일 언어로 변환한 기능
  • CPU 리소스를 적게 사용하면서 쿼리실행속도가 향상됨.

 

4. Block Range Index - BRIN

  • B-Tree Index, Bitmap Index와 다른 구조의 새로운 인덱스 유형 추가
  • B-Tree Index 보다 빠르면서 적은 용량을 사용

www.postgresql.org/docs/9.6/brin-intro.html

 

Introduction

BRIN stands for Block Range Index. BRIN is designed for handling very large tables in which certain columns have some natural correlation with their physical location within the table. A block range is a group of pages that are physically adjacent in the t

www.postgresql.org

 

5. Vacuum 기능 향상

  • Vacuum 수행시 Lock 방지를 더 효율적으로 작동하게끔 기능향상

 

6. Multi Site Replication

  • 다중 데이터 센터 / 다중 사이트 복제 기능
  • Kafka 를 이용한 복제 기능 - 데이터 스트리밍
  • Read-only live mirror cluster - Active/Stanby
  • 장애조치 및 장애복구 기능 - Supports failover and failback

 

7. Point in Time Recovery

  • 백업파일과 X 로그를 이용하여 원하는 시점으로 복구가능한 기능

 

8. GPCC(Greenplum Command Center) 기능 향상

 

<정리>

정식으로 출시된 버전이 아니기 때문에 추측으로 작성하였고 언제든지 기능이 없어지거나 새로운 기능이 추가될 수 있다.

 

728x90
반응형