Skip to content
Collapse
Databoost logo
  1. Home
  2. Categories
  3. Projects
  4. Stanchion

Stanchion

Scheduled Pinned Locked Moved Projects
1 Posts 1 Posters 72 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ruimsramosR Offline
    ruimsramosR Offline
    ruimsramos
    wrote on last edited by
    #1

    If you use sqlite you may know that it updates data at the row level. I've just bumped into this project that aims to bring column-oriented storage to SQLite and would like to share with you.

    This is the project description:

    Stanchion

    Column-oriented tables in SQLite

    Why?

    Stanchion is a SQLite 3 extension that brings the power of column-oriented storage to SQLite, the most widely deployed database. SQLite exclusively supports row-oriented tables, which means it is not an ideal fit for all workloads. Using the Stanchion plugin brings all of the benefits of column-oriented storage and data warehousing to anywhere that SQLite is already deployed, including your existing tech stack.

    There are a number of situations where column-oriented storage outperforms row-oriented storage:

    • Storing and processing metric, log, and event data
    • Timeseries data storage and analysis
    • Analytical queries over many rows and a few columns (e.g. calculating the average temperature over months of hourly weather data)
    • Change tracking, history/temporal tables
    • Anchor modeling / Datomic-like data models

    Stanchion is an ideal fit for analytical queries and wide tables because it only scans data from the columns that are referenced by a given query. It uses compression techniques like run length and bit-packed encodings that significantly reduce the size of stored data, greatly reducing the cost of large data sets. This makes it an ideal solution for storing large, expanding datasets.

    You can find more information on the official Github repo:

    • https://github.com/dgllghr/stanchion
    1 Reply Last reply
    0

    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0