Re: [WIP]Vertical Clustered Index (columnar store extension) - take2

From: Timur Magomedov <t(dot)magomedov(at)postgrespro(dot)ru>
To: "Aya Iwata (Fujitsu)" <iwata(dot)aya(at)fujitsu(dot)com>
Cc: Peter Smith <smithpb2250(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tomas Vondra <tomas(at)vondra(dot)me>, Japin Li <japinli(at)hotmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, 'Alexandre Felipe' <o(dot)alexandre(dot)felipe(at)gmail(dot)com>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Subject: Re: [WIP]Vertical Clustered Index (columnar store extension) - take2
Date: 2026-02-16 16:35:46
Message-ID: 2d5469cc8fd7e1deb3dbb41158ffc04c9ce2316a.camel@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello, Iwata-san.
Hello, everybody involved.

I personally see two most exciting things about VCI.
In short: 1. This is index. 2. It has fresh data.

1. Despite performance and other issues that can be fixed anyway, VCI
has great user API. Index doesn't always mean btree index, it is just a
database structure for faster data retrieval. In case of VCI it is
columnar storage for faster data retrieval. It is clear SQL syntax to
put some columns (not the whole table, we can choose specific columns!)
into columnar storage. Users are aware of the fact that indexes can
slow down insertions, no surprises here. No need to change queries,
just add VCI index for some columns that are scanned heavily without
putting the whole table into columnar storage.

2. VCI has own Change Data Capture method. It doesn't use triggers
either logical replication for CDC, it uses IAM and homegrown hooks in
heapam.c. Probably VCI-style CDC could be separated to its own patch
for review and used in other extensions too.

--
Regards,
Timur Magomedov

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2026-02-16 16:48:38 Re: index prefetching
Previous Message Alvaro Herrera 2026-02-16 16:32:27 Re: pgstat include expansion