should be it
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# name: benchmark/micro/compression/bitpacking_hugeint/bitpacking_hugeint_read_constant.benchmark
|
||||
# description: Scanning hugeints compressed mostly with the CONSTANT bitpacking mode
|
||||
# group: [bitpacking_hugeint]
|
||||
|
||||
name Bitpacking Scan Constant Mode Hugeint
|
||||
group bitpacking
|
||||
storage persistent
|
||||
|
||||
load
|
||||
DROP TABLE IF EXISTS integers;
|
||||
PRAGMA force_compression='bitpacking';
|
||||
PRAGMA force_bitpacking_mode='constant';
|
||||
CREATE TABLE integers AS SELECT (i/119000)::HUGEINT as i FROM range(0, 250000000) tbl(i);
|
||||
checkpoint;
|
||||
|
||||
run
|
||||
select avg(i) from integers;
|
||||
|
||||
result I
|
||||
1049.9202
|
||||
@@ -0,0 +1,17 @@
|
||||
# name: benchmark/micro/compression/bitpacking_hugeint/bitpacking_hugeint_store_constant.benchmark
|
||||
# description: Storing hugeints compressed mostly with the CONSTANT bitpacking mode
|
||||
# group: [bitpacking_hugeint]
|
||||
|
||||
name Bitpacking Insert Constant Mode Hugeint
|
||||
group bitpacking
|
||||
storage persistent
|
||||
require_reinit
|
||||
|
||||
load
|
||||
PRAGMA force_compression='bitpacking';
|
||||
PRAGMA force_bitpacking_mode='constant';
|
||||
DROP TABLE IF EXISTS integers;
|
||||
|
||||
run
|
||||
CREATE TABLE integers AS SELECT (i/119000)::HUGEINT as i FROM range(0, 250000000) tbl(i);
|
||||
checkpoint;
|
||||
Reference in New Issue
Block a user