New port: databases/postgresql-cstore_fdw

Cstore_fdw is a extension of PostgreSQL. This extension uses the Optimized Row
Columnar (ORC) format for its data layout. ORC improves upon the RCFile format
developed at Facebook, and brings the following benefits:
	- Compression: Reduces in-memory and on-disk data size by 2-4x. Can be
	  extended to support different codecs.
	- Column projections: Only reads column data relevant to the query.
	  Improves performance for I/O bound queries.
	- Skip indexes: Stores min/max statistics for row groups, and uses them
	  to skip over unrelated rows.
Further, cstore_fdw used the Postgres foreign data wrapper APIs and type
representations with this extension. This brings:
	- Support for 40+ Postgres data types. The user can also create new types
	  and use them.
	- Statistics collection. PostgreSQL's query optimizer uses these stats to
	  evaluate different query plans and pick the best one.
	- Simple setup. Create foreign table and copy data. Run SQL.

WWW: https://github.com/citusdata/cstore_fdw

PR:           219635
Submitted by: Jov <amutu@amutu.com>
This commit is contained in:
Torsten Zuehlsdorff 2017-06-13 10:28:30 +00:00
parent 910003f072
commit 6205b2464d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443496
5 changed files with 53 additions and 0 deletions

View file

@ -653,6 +653,7 @@
SUBDIR += postgis21
SUBDIR += postgis22
SUBDIR += postgis23
SUBDIR += postgresql-cstore_fdw
SUBDIR += postgresql-jdbc
SUBDIR += postgresql-libpgeasy
SUBDIR += postgresql-libpqxx

View file

@ -0,0 +1,23 @@
# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= cstore_fdw
PORTVERSION= 1.5.1
DISTVERSIONPREFIX= v
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= amutu@amutu.com
COMMENT= Columnar store for analytics with PostgreSQL
LICENSE= PostgreSQL
LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c
USES= gmake pgsql:9.3+
USE_GITHUB= yes
GH_ACCOUNT= citusdata
WANT_PGSQL= server
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1496052817
SHA256 (citusdata-cstore_fdw-v1.5.1_GH0.tar.gz) = dd1b6884ab9b21a6a90461df53d1ab7336fec4c4ff3073ee0a916b0bcbb5a44c
SIZE (citusdata-cstore_fdw-v1.5.1_GH0.tar.gz) = 87684

View file

@ -0,0 +1,18 @@
Cstore_fdw is a extension of PostgreSQL. This extension uses the Optimized Row
Columnar (ORC) format for its data layout. ORC improves upon the RCFile format
developed at Facebook, and brings the following benefits:
- Compression: Reduces in-memory and on-disk data size by 2-4x. Can be
extended to support different codecs.
- Column projections: Only reads column data relevant to the query.
Improves performance for I/O bound queries.
- Skip indexes: Stores min/max statistics for row groups, and uses them
to skip over unrelated rows.
Further, cstore_fdw used the Postgres foreign data wrapper APIs and type
representations with this extension. This brings:
- Support for 40+ Postgres data types. The user can also create new types
and use them.
- Statistics collection. PostgreSQL's query optimizer uses these stats to
evaluate different query plans and pick the best one.
- Simple setup. Create foreign table and copy data. Run SQL.
WWW: https://github.com/citusdata/cstore_fdw

View file

@ -0,0 +1,8 @@
lib/postgresql/cstore_fdw.so
share/postgresql/extension/cstore_fdw--1.0--1.1.sql
share/postgresql/extension/cstore_fdw--1.1--1.2.sql
share/postgresql/extension/cstore_fdw--1.2--1.3.sql
share/postgresql/extension/cstore_fdw--1.3--1.4.sql
share/postgresql/extension/cstore_fdw--1.4--1.5.sql
share/postgresql/extension/cstore_fdw--1.5.sql
share/postgresql/extension/cstore_fdw.control