cstore_fdw VS PostgreSQL

Compare cstore_fdw vs PostgreSQL and see what are their differences.

cstore_fdw

Columnar storage extension for Postgres built as a foreign data wrapper. Check out https://github.com/citusdata/citus for a modernized columnar storage implementation built as a table access method. (by citusdata)

PostgreSQL

Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch (by postgres)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
cstore_fdw PostgreSQL
6 407
1,738 14,734
0.4% 3.8%
2.6 10.0
about 3 years ago 1 day ago
C C
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cstore_fdw

Posts with mentions or reviews of cstore_fdw. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-21.
  • Moving a Billion Postgres Rows on a $100 Budget
    2 projects | news.ycombinator.com | 21 Feb 2024
    Columnar store PostgreSQL extension exists, here are two but I think I’m missing at least another one:

    https://github.com/citusdata/cstore_fdw

    https://github.com/hydradatabase/hydra

    You can also connect other stores using the foreign data wrappers, like parquet files stored on an object store, duckdb, clickhouse… though the joins aren’t optimised as PostgreSQL would do full scan on the external table when joining.

  • Anything can be a message queue if you use it wrongly enough
    6 projects | news.ycombinator.com | 4 Jun 2023
    I'm definitely not from Citus data -- just a pg zealot fighting the culture war.

    If you want to reach people who can actually help, you probably want to check this link:

    https://github.com/citusdata/cstore_fdw/issues

  • Pg_squeeze: An extension to fix table bloat
    3 projects | news.ycombinator.com | 4 Oct 2022
    That appears to be the case:

    https://github.com/citusdata/cstore_fdw

    >Important notice: Columnar storage is now part of Citus

  • Ingesting an S3 file into an RDS PostgreSQL table
    3 projects | dev.to | 10 Jun 2022
    either we go for RDS, but we stick to the AWS handpicked extensions (exit timescale, citus or their columnar storage, ... ),
  • Postgres and Parquet in the Data Lke
    7 projects | news.ycombinator.com | 3 May 2022
    Re: performance overhead, with FDWs we have to re-munge the data into PostgreSQL's internal row-oriented TupleSlot format again. Postgres also doesn't run aggregations that can take advantage of the columnar format (e.g. CPU vectorization). Citus had some experimental code to get that working [2], but that was before FDWs supported aggregation pushdown. Nowadays it might be possible to basically have an FDW that hooks into the GROUP BY execution and runs a faster version of the aggregation that's optimized for columnar storage. We have a blog post series [3] about how we added agg pushdown support to Multicorn -- similar idea.

    There's also DuckDB which obliterates both of these options when it comes to performance. In my (again limited, not very scientific) benchmarking of on a customer's 3M row table [4] (278MB in cstore_fdw, 140MB in Parquet), I see a 10-20x (1/2s -> 0.1/0.2s) speedup on some basic aggregation queries when querying a Parquet file with DuckDB as opposed to using cstore_fdw/parquet_fdw.

    I think the dream is being able to use DuckDB from within a FDW as an OLAP query engine for PostgreSQL. duckdb_fdw [5] exists, but it basically took sqlite_fdw and connected it to DuckDB's SQLite interface, which means that a lot of operations get lost in translation and aren't pushed down to DuckDB, so it's not much better than plain parquet_fdw.

    This comment is already getting too long, but FDWs can indeed participate in partitions! There's this blog post that I keep meaning to implement where the setup is, a "coordinator" PG instance has a partitioned table, where each partition is a postgres_fdw foreign table that proxies to a "data" PG instance. The "coordinator" node doesn't store any data and only gathers execution results from the "data" nodes. In the article, the "data" nodes store plain old PG tables, but I don't think there's anything preventing them from being parquet_fdw/cstore_fdw tables instead.

    [0] https://github.com/citusdata/cstore_fdw

  • Creating a simple data pipeline
    1 project | /r/dataengineering | 20 May 2021
    The citus extension for postgresql. https://github.com/citusdata/cstore_fdw

PostgreSQL

Posts with mentions or reviews of PostgreSQL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • Presentación del Operador LMS Moodle
    5 projects | dev.to | 29 Apr 2024
  • Introducing LMS Moodle Operator
    5 projects | dev.to | 29 Apr 2024
    The LMS Moodle Operator serves as a meta-operator, orchestrating the deployment and management of Moodle instances in Kubernetes. It handles the entire stack required to run Moodle, including components like Postgres, Keydb, NFS-Ganesha, and Moodle itself. Each of these components has its own Kubernetes Operator, ensuring seamless integration and management.
  • Integrate txtai with Postgres
    2 projects | dev.to | 25 Apr 2024
    Another key feature of txtai is being able to quickly move from prototyping to production. This article will demonstrate how txtai can integrate with Postgres, a powerful, production-ready and open source object-relational database system. After txtai persists content to Postgres, we'll show it can be directly queried with SQL from any Postgres client
  • Understanding SQL vs. NoSQL Databases: A Beginner's Guide
    5 projects | dev.to | 9 Apr 2024
    SQL (Structured Query Language) databases are relational databases. They organize data into tables with rows and columns, and they use SQL for querying and managing data. Examples include MySQL, PostgreSQL, and SQLite.
  • From zero to hero: using SQL databases in Node.js made easy
    3 projects | dev.to | 19 Mar 2024
    Node.js, MySQL and PostgreSQL servers installed on your machine
  • I Deployed My Own Cute Lil’ Private Internet (a.k.a. VPC)
    8 projects | dev.to | 18 Mar 2024
    Each app’s front end is built with Qwik and uses Tailwind for styling. The server-side is powered by Qwik City (Qwik’s official meta-framework) and runs on Node.js hosted on a shared Linode VPS. The apps also use PM2 for process management and Caddy as a reverse proxy and SSL provisioner. The data is stored in a PostgreSQL database that also runs on a shared Linode VPS. The apps interact with the database using Drizzle, an Object-Relational Mapper (ORM) for JavaScript. The entire infrastructure for both apps is managed with Terraform using the Terraform Linode provider, which was new to me, but made provisioning and destroying infrastructure really fast and easy (once I learned how it all worked).
  • How to dump and restore a Postgres DB with new table ownership
    2 projects | dev.to | 14 Mar 2024
    I've used MySQL for years. But recently, I found myself working PostgreSQL and simple things like dumping and restoring a database are different enough that I decided to document the process. It's straightforward enough once I knew how.
  • Test Driving a Rails API - Part One
    11 projects | dev.to | 11 Mar 2024
    A running Rails application needs a database to connect to. You may already have your database of choice installed, but if not, I recommend PostgreSQL, or Postgres for short. On a Mac, probably the easiest way to install it is with Posrgres.app. Another option, the one I prefer, is to use Homebrew. With Homebrew installed, this command will install PostgreSQL version 16 along with libpq:
  • Um júnior e um teste técnico: The battle.
    5 projects | dev.to | 3 Mar 2024
    PostgreSQL
  • How to choose the right type of database
    15 projects | dev.to | 28 Feb 2024
    PostgreSQL: Offers a robust feature set and strong compliance with SQL standards, making it suitable for a wide range of applications, from simple to complex, particularly where data integrity and extensibility are key.

What are some alternatives?

When comparing cstore_fdw and PostgreSQL you can also consider the following projects:

ZLib - A massively spiffy yet delicately unobtrusive compression library.

psycopg2 - PostgreSQL database adapter for the Python programming language

odbc2parquet - A command line tool to query an ODBC data source and write the result into a parquet file.

ClickHouse - ClickHouse® is a free analytics DBMS for big data

zstd - Zstandard - Fast real-time compression algorithm

phpMyAdmin - A web interface for MySQL and MariaDB

cute_headers - Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games

Firebird - FB/Java plugin for Firebird

delta - An open-source storage framework that enables building a Lakehouse architecture with compute engines including Spark, PrestoDB, Flink, Trino, and Hive and APIs

Adminer - Database management in a single PHP file

parquet_fdw - Parquet foreign data wrapper for PostgreSQL

SQLAlchemy - The Database Toolkit for Python