sqlite VS go-sqlite3-stdlib

Compare sqlite vs go-sqlite3-stdlib and see what are their differences.

go-sqlite3-stdlib

A standard library for mattn/go-sqlite3 including best-effort date parsing, url parsing, math/string functions, and stats aggregation functions (by multiprocessio)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
sqlite go-sqlite3-stdlib
3 6
150 123
- 0.0%
3.8 0.0
9 months ago 9 months ago
Go Go
GNU General Public License v3.0 or later 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.

sqlite

Posts with mentions or reviews of sqlite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-03.
  • Row Level Security Extension for SQLite Feasiblity
    1 project | news.ycombinator.com | 16 Aug 2022
    A recent project has me happily using SQLite but I am missing having Row Level Security (RLS) for my application. I searched around and SQLite has no out-of-the-box or 3rd party ext support for RLS.

    I am seeing that 1) we can load extensions into SQLite (see attached URL), and 2) that extensions can create modules with pretty rich functionality. Maybe a virtual table impl with `xFilter` and/or `xNext` fns could help yield the row filtering, plus some custom fns to add some state used during the query to configure the dynamic constraint?

    Interesting idea? Plausible?

    I also saw someone made some handy golang bindings, which could add a few niceties to writing such an extension (albeit heresy to some, to lodge Go into SQLite :)).

    https://github.com/riyaz-ali/sqlite/blob/master/virtual_tabl...

  • SQLite-HTML: A SQLite extension for querying, manipulating, and creating HTML
    3 projects | news.ycombinator.com | 3 Aug 2022
    Hey, author here, happy to answer questions! A few other recent posts/tools that you may be interested in:

    - sqlite-lines discussion from a few days ago: https://news.ycombinator.com/item?id=32288165

    - htmlq, Rust CLI for (like jq but for html): https://github.com/mgdm/htmlq

    - The Go library that sqlite-html uses for making runtime-loadable SQLite extensions https://github.com/riyaz-ali/sqlite

    - sqlean, a ton of other helpful SQLite extensions (in C): https://github.com/nalgeon/sqlean

  • Build SQLite Extensions in Go
    1 project | news.ycombinator.com | 19 Feb 2021

go-sqlite3-stdlib

Posts with mentions or reviews of go-sqlite3-stdlib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-01.
  • SQLite: Past, Present, and Future
    4 projects | news.ycombinator.com | 1 Sep 2022
    Adding user-defined functions to SQLite is not difficult, and the mechanism is quite flexible. You can create extensions and load them when you create the SQLite connection to have the functions available in queries. I wrote a blog post explaining how to do that using Rust, and the example is precisely a `regex_extract` function [0].

    If you need them, you also have a "stdlib" implemented for Go [1] and a pretty extensive collection of extensions [2]

    [0]: https://ricardoanderegg.com/posts/extending-sqlite-with-rust...

    [1]: https://github.com/multiprocessio/go-sqlite3-stdlib

    [2]: https://github.com/nalgeon/sqlean

  • SQLite has pretty limited builtin functions
    3 projects | /r/sqlite | 22 Aug 2022
  • OctoSQL allows you to join data from different sources using SQL
    13 projects | news.ycombinator.com | 14 Jul 2022
    OctoSQL is an awesome project and Kuba has a lot of great experience to share from building this project I'm excited to learn from.

    And while building a custom database engine does allow you to do pretty quick queries, there are a few issues.

    First, the SQL implemented is nonstandard. As I was looking for documentation and it pointed me to `SELECT * FROM docs.functions fs`. I tried to count the number of functions but octosql crashed (a Go panic) when I ran `SELECT count(1) FROM docs.functions fs` and `SELECT count() FROM docs.functions fs` which is what I lazily do in standard SQL databases. (`SELECT count(fs.name) FROM docs.function fs` worked.)

    This kind of thing will keep happening because this project just doesn't have as much resources today as SQLite, Postgres, DuckDB, etc. It will support a limited subset of SQL.

    Second, the standard library seems pretty small. When I counted the builtin functions there were only 29. Now this is an easy thing to rectify over time but just noting about the state today.

    And third this project only has builtin support for querying CSV and JSON files. Again this could be easy to rectify over time but just mentioning the state today.

    octosql is a great project but there are also different ways to do the same thing.

    I build dsq [0] which runs all queries through SQLite so it avoids point 1. It has access to SQLite's standard builtin functions plus* a battery of extra statistic aggregation, string manipulation, url manipulation, date manipulation, hashing, and math functions custom built to help this kind of interactive querying developers commonly do [1].

    And dsq supports not just CSV and JSON but parquet, excel, ODS, ORC, YAML, TSV, and Apache and nginx logs.

    A downside to dsq is that it is slower for large files (say over 10GB) when you only want a few columns whereas octosql does better in some of those cases. I'm hoping to improve this over time by adding a SQL filtering frontend to dsq but in all cases dsq will ultimately use SQLite as the query engine.

    You can find more info about similar projects in octosql's Benchmark section but I also have a comparison section in dsq [2] and an extension of the octosql benchmark with different set of tools [3] including duckdb.

    Everyone should check out duckdb. :)

    [0] https://github.com/multiprocessio/dsq

    [1] https://github.com/multiprocessio/go-sqlite3-stdlib

    [2] https://github.com/multiprocessio/dsq#comparisons

    [3] https://github.com/multiprocessio/dsq#benchmark

  • One year as a solo dev building open-source data tools without funding
    6 projects | news.ycombinator.com | 21 Jun 2022
    Hey Kuba!

    > Especially on the community building aspect, it's really impressive that you've been able to spark so many communities on various platforms (Reddit, GitHub, Discord, etc.)!

    Yeah it's been so cool to see so many people come together, hobbyists and professionals.

    > On a more technical note, since dsq is based on the "load it into SQLite and query it from there" architecture, have you considered integrating with the plugin ecosystems of other existing projects based on that same architecture, like Datasette[0]? It seems like a way to add a lot of value to your tools without much work.

    Interesting idea! I haven't looked into Datasette too much. And I haven't thought about plugins too much either. The most I've done is extend the SQLite standard library [0] and I hope to continue growing that. I'd be curious to hear what specifically people like from Datasette they'd like to see in dsq.

    > On a more commercial note, overall I think tools like this are very hard to monetize, because right now they're just a fairly niche use case, between - as you mentioned - full blown data analytics platforms and observability query systems, as well as standard unix tools. Especially since if you need the analytics a lot, you'll probably have time to integrate it into your preferred analytics solution (like BigQuery). Do you have any thoughts on that?

    My idea was always to focus on smaller and less mature organizations, probably ones that have been around for 10+ years. They aren't using BigQuery, they prefer to host everything themselves, and they don't yet realize there are tools like DataStation that they can easily run to make analytics easier.

    I've worked at a bunch of companies like this so I know the market exists. Actually I have been surprised how many people outside of this market showed up in the DataStation community. I've seen Googlers, MS-ers, modern startups, data science teams show up interested in DataStation compared to what they're already using.

    For me it's just been a matter of time (and funding) to build out the product to serve these communities commercially as a SaaS or enterprise product.

    [0] https://github.com/multiprocessio/go-sqlite3-stdlib

  • Show HN: A standard library for mattn/go-sqlite3
    1 project | news.ycombinator.com | 26 May 2022
  • A standard library for mattn/go-sqlite3 including best-effort date parsing, url parsing, math/string functions, and stats aggregation functions
    1 project | /r/golang | 26 May 2022

What are some alternatives?

When comparing sqlite and go-sqlite3-stdlib you can also consider the following projects:

grimoire - Database access layer for golang

sqlite-past-present-future - Performance evaluation and optimization of SQLite

sqlite-html - A SQLite extension for querying, manipulating, and creating HTML elements.

octosql-plugin-postgres

grimoire - Bookmark manager for the wizards 🧙

sqlite-plus - The ultimate set of SQLite extensions

octosql-plugin-random_data - OctoSQL plugin serving random data

mycelite - Mycelite is a SQLite extension that allows you to synchronize changes from one instance of SQLite to another.

cargo-semver-checks - Scan your Rust crate for semver violations.

rqlite - The lightweight, distributed relational database built on SQLite.

steampipe - Zero-ETL, infinite possibilities. Live query APIs, code & more with SQL. No DB required.

sqlitestudio - A free, open source, multi-platform SQLite database manager.