Open source column-oriented storage engine for PostgreSQL? -
Is there any open source projects in post-generational column for creating column-oriented storage engines? I know that Yahoo has built in-house, and that there are commercial products manufactured on PostGraceSQL which are column oriented.
has developed an open source columnar store extension for PostgreSQL under Apache License v2.0 is available. It supports PostgreSQL 9.3 and higher.
First, build extensions and a foreign server:
create extension cstore_fdw; Create server seistor_servore foreign data render seistore_fedd; Next, create some foreign tables:
create foreign table customer review (customer_id text, review_date DATE , Review_rating INTEGER, review_votes INTEGER, review_helpful_votes INTEGER, product_id CHAR (10), product_title TEXT, product_sales_rank BIGINT, product_group text, product_category text, product_subcategory text, same_product_reds CHAR (10) []) server seistor_server option (filename '/ opt / citusdb /3.0/Cstore / customer_reviews.cstore ', Compression' pglz '); Finally, the copy data in the table:
copy customer_photo CSV with '/home/user/customer_reviews_1998.csv'; Foreign tables can be inquired like any other table, you can also include them with regular tables.
More examples and information are available in any other.
Comments
Post a Comment