Re: zheap: a new storage format for PostgreSQL - Mailing list pgsql-hackers
From | Alexander Korotkov |
---|---|
Subject | Re: zheap: a new storage format for PostgreSQL |
Date | |
Msg-id | CAPpHfds2hZoJAkkS_+=CsJ8XfsMJws9F2d5f06_2pFa7YaBp0w@mail.gmail.com Whole thread Raw |
In response to | zheap: a new storage format for PostgreSQL (Amit Kapila <amit.kapila16@gmail.com>) |
Responses |
Re: zheap: a new storage format for PostgreSQL
(Amit Kapila <amit.kapila16@gmail.com>)
Re: zheap: a new storage format for PostgreSQL (Kuntal Ghosh <kuntalghosh.2007@gmail.com>) |
List | pgsql-hackers |
Preliminary performance results------------------------------------------- We’ve shown the performance improvement of zheap over heap in a few different pgbench scenarios. All of these tests were run with data that fits in shared_buffers (32GB), and 16 transaction slots per zheap page. Scenario-1 and Scenario-2 has used synchronous_commit = off and Scenario-3 and Scenario-4 has used synchronous_commit = on
Scenario 1: A 15 minutes simple-update pgbench test with scale factor 100 shows 5.13% TPS improvement with 64 clients. The performance improvement increases as we increase the scale factor; at scale factor 1000, it reaches11.5% with 64 clients.
Scale Factor
HEAP
ZHEAP (tables)*
Improvement
Before test
100
1281 MB
1149 MB
-10.3%
1000
13 GB
11 GB
-15.38%
After test
100
4.08 GB
3 GB
-26.47%
1000
15 GB
12.6 GB
-16%
* The size of zheap tables increase because of the insertions in pgbench_history table.
Alexander Korotkov
Postgres Professional: http://www.
The Russian Postgres Company
pgsql-hackers by date: