react-native-quick-sqlite
DISCONTINUED
sqlite_scanner
Our great sponsors
react-native-quick-sqlite | sqlite_scanner | |
---|---|---|
7 | 4 | |
469 | 167 | |
- | 3.0% | |
8.3 | 0.0 | |
6 months ago | 10 days ago | |
C | C | |
MIT License | MIT License |
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.
react-native-quick-sqlite
-
TOP 6 React Native libraries with native performance ⚡️
5. Quick SQLite
-
Which local db to use?
react-native-quick-sqlite if you know what you're doing and Know SQL it gives you more control over the database like executing custom SQL queries, or some advance things, you can use it with an orm like Typeorm.
-
How to specify pre-processor flags to the JSI-based React Native libraries
View on GitHub
-
A performant way to use PouchDB@7 on React Native in 2022
Oscar Franco created a great SQLite driver react-native-quick-sqlite, which provides a low-level API to execute SQL queries, fast bindings via JSI. JSI has a smaller overhead than the traditional RN bridge's. So, this is much faster than react-native-sqlite-2, which I made to get PouchDB to work on RN before.
sqlite_scanner
-
DuckDB 0.7.0
It's not a dumb question at all. I'm pretty knowledgeable with DBs and still find it very difficult to understand how many of these front-end/pass-through engines work.
Checkout Postgres Foreign Data Wrappers. That might be the most well known approach for accessing one database through another. The Supabase team wrote an interesting piece about this recently.
https://supabase.com/blog/postgres-foreign-data-wrappers-rus...
You might also want to try out duckdb's approach to reading other DBs (or DB files). They talk about how they can "import" a sqlite DB in the above 0.7.0 announcement, but also have some other examples in their duckdblabs github project. Check out their "...-scanner" repos:
-
Notes on the SQLite DuckDB Paper
DuckDB can actually read SQLite or Postgres directly! In the SQLite case, something like Litestream plus DuckDB could work really well!
Also, with Pyarrow's help, DuckDB can already do this with Delta tables!
-
Friendlier SQL with DuckDB
Excellent question! I'll jump in - I am a part of the DuckDB team though, so if other users have thoughts it would be great to get other perspectives as well.
First things first - we really like quite a lot about the SQLite approach. DuckDB is similarly easy to install and is built without dependencies, just like SQLite. It also runs in the same process as your application just like SQLite does. SQLite is excellent as a transactional database - lots of very specific inserts, updates, and deletes (called OLTP workloads). DuckDB can also read directly out of SQLite files as well, so you can mix and match them! (https://github.com/duckdblabs/sqlitescanner)
DuckDB is much faster than SQLite when doing analytical queries (OLAP) like when calculating summaries or trends over time, or joining large tables together. It can use all of your CPU cores for sometimes ~100x speedup over SQLite.
DuckDB also has some enhancements with respect to data transfer in and out of it. It can natively read Pandas, R, and Julia dataframes, and can read parquet files directly also (meaning without inserting first!).
Does that help? Happy to add more details!
What are some alternatives?
react-native-quick-websql - Fast WebSQL-compatible SQLite driver for React Native
react-native - A framework for building native applications using React
PouchDB - :koala: - PouchDB is a pocket-sized database.
react-native-sqlite-2 - SQLite3 Native Plugin for React Native for iOS, Android, Windows and macOS.
pouchdb-react-native - :koala: - PouchDB is a pocket-sized database, with some patches for running on React Native
react-native-sqlite-storage - Full featured SQLite3 Native Plugin for React Native (Android and iOS)
sqlite - A simple sqlite3 library for Haskell
pouchdb-adapter-react-native-sqlite - PouchDB adapter using ReactNative SQLite as its backing store
ibis - The flexibility of Python with the scale and performance of modern SQL.
sqleet - SQLite3 encryption that sucks less
ClickBench - ClickBench: a Benchmark For Analytical Databases
duckdb - DuckDB is an in-process SQL OLAP Database Management System