Re: Implement a column store for pg?

From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: jacktby jacktby <jacktby(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Implement a column store for pg?
Date: 2023-09-15 16:24:47
Message-ID: CADUqk8W2oybCHdUZouwrUCYTX-7EjeywQoObGEJyfHQswuKvOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Sep 15, 2023 at 10:21 AM jacktby jacktby <jacktby(at)gmail(dot)com> wrote:

> > I’m trying to implement a new column store for pg, is there a good
> example to reference?
> That’s too complex, I just need to know the interface about design a
> column store. In fact, I just need a simple example, and I will implement
> it by myself, what I’m confusing is that, I don’t know how to implement a
> MVCC, because old version is tuple, this will make a big difference to the
> transaction?

If you're looking for the simplest version of a columnar implementation for
Postgres, I'd check out Citus' original cstore implemented via FDW. It
hasn't been updated in years, but it's still one of the faster simple
columnar implementations out there https://github.com/citusdata/cstore_fdw

--
Jonah H. Harris

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2023-09-15 16:35:38 Re: Add 'worker_type' to pg_stat_subscription
Previous Message torikoshia 2023-09-15 15:10:59 Re: Make --help output fit within 80 columns per line