Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding the Citus extension #92

Open
brunoprietog opened this issue Nov 18, 2022 · 3 comments
Open

Consider adding the Citus extension #92

brunoprietog opened this issue Nov 18, 2022 · 3 comments

Comments

@brunoprietog
Copy link

Citus is an extension for PostgreSQL that allows you to distribute tables between different nodes. It would be great to have this extension available, especially in Fly, which would unlock a lot of possibilities to run global applications.

@seajhawk
Copy link

seajhawk commented Dec 5, 2022

I'd love to see you add the Citus extension as well, but for a different reason.

I'm using Postgres for reporting with Metabase and I want to minimize my storage needs. Citus has adds support for columnar compression.

I realize that I could fork this repo and add it on my own, but the capabilities of Citus are something that benefit a large percentage of folks, and TBH as a one-man-show I already have plenty on my plate. :)

@davissp14
Copy link
Contributor

davissp14 commented Dec 5, 2022

I'm not totally sure Citus will work with Stolon. If someone wants to try and put together a POC, I think that would be useful.

@viggy28
Copy link

viggy28 commented Feb 18, 2023

On a high level, though citus is a Postgres extension it has nuances.

  1. There are nodes with specific roles - Co-ordinator & Workers
  2. It has distributed query planner and executor - Meaning it will be likely doing query rewrites and has metadata on which worker to send specific parts of a query
  3. FWIW, citus uses pg_auto_failover for node failures.

Unfortunately, stolon isn't aware of any of these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants