oushuDB之各类压缩表如何创建

本文介绍了oushuDB中不同类型的压缩表创建方法,包括Append only table、Parquet table和Native Orc table。详细列出了Snappy、Lz4、Zlib和zstd等压缩算法的使用,并指出在某些情况下,压缩级别的设置可能无效,会默认为level=1。
摘要由CSDN通过智能技术生成

oushuDB version

PostgreSQL 8.2.15 (OushuDB 4.1.0.0 build 25055 Enterprise Edition) 
(Apache HAWQ 2.4.0.0) (Greenplum Database 4.2.0)

Table type

Append only table

None

CREATE TABLE ao_demo_none (id int) 
with (appendonly =true, orientation =row );

Snappy [ - ]

CREATE TABLE ao_demo_snappy (id int) 
with (appendonly =true, orientation =row , compresstype = snappy);

Lz4 [ 0-9 ]

CREATE TABLE ao_demo_lz4 (id int) 
with (appendonly =true, orientation =row , compresstype = lz4);

CREATE TABLE ao_demo_lz4_01 (id int) 
with (appendonly =true, orientation =row , compresstype = lz4,compresslevel=1);

CREATE TABLE ao_demo_lz4_02 (id int) 
with (appendonly =true, orientation =row , compresstype = lz4,compresslevel=2);

CREATE TABLE ao_demo_lz4_03 (id int) 
with (appendonly =true, orientation =row , compresstype = lz4,compresslevel=3);

CREATE TABLE ao_demo_lz4_04 (id int) 
with (appendonly =true, orientation =row , compresstype = lz4,compresslevel=4);

CREATE TABLE ao_demo_lz4_05 (id int) 
with (appendonly =true, orientation =row , compresstype = lz4,compresslevel=5);

CREATE TABLE ao_demo_lz4_06 (id int) 
with (appendonly =true, orientation =row , compresstype = lz4,compresslevel=6);

CREATE TABLE ao_demo_lz4_07 (id int) 
with (appendonly =true, orientation =row , compresstype = lz4,compresslevel=7);

CREATE TABLE ao_demo_lz4_08 (id int) 
with (appendonly =true, orientation =row , compresstype = lz4,compresslevel=8);

CREATE TABLE
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值