Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

RocksDB
RocksDB

49
65
+ 1
10
SQLite
SQLite

3.8K
3.1K
+ 1
509
Add tool

RocksDB vs SQLite: What are the differences?

Developers describe RocksDB as "Embeddable persistent key-value store for fast storage, developed and maintained by Facebook Database Engineering Team". RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the foundation for a client-server database but our current focus is on embedded workloads. RocksDB builds on LevelDB to be scalable to run on servers with many CPU cores, to efficiently use fast storage, to support IO-bound, in-memory and write-once workloads, and to be flexible to allow for innovation. On the other hand, SQLite is detailed as "A software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine". SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.

RocksDB and SQLite can be primarily classified as "Databases" tools.

"Very fast" is the primary reason why developers consider RocksDB over the competitors, whereas "Lightweight" was stated as the key factor in picking SQLite.

RocksDB is an open source tool with 14.1K GitHub stars and 3.09K GitHub forks. Here's a link to RocksDB's open source repository on GitHub.

Coderus, BrightMachine, and Infoshare are some of the popular companies that use SQLite, whereas RocksDB is used by LinkedIn, Facebook, and Skry, Inc.. SQLite has a broader approval, being mentioned in 313 company stacks & 470 developers stacks; compared to RocksDB, which is listed in 6 company stacks and 7 developer stacks.

- No public GitHub repository available -

What is RocksDB?

RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the foundation for a client-server database but our current focus is on embedded workloads. RocksDB builds on LevelDB to be scalable to run on servers with many CPU cores, to efficiently use fast storage, to support IO-bound, in-memory and write-once workloads, and to be flexible to allow for innovation.

What is SQLite?

SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose RocksDB?
Why do developers choose SQLite?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use RocksDB?
    What companies use SQLite?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with RocksDB?
    What tools integrate with SQLite?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to RocksDB and SQLite?
    Redis
    Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
    Cassandra
    Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    Badger
    Domain management you'll enjoy. Domains effectively drive the entire internet, shouldn't they be easier to manage? We thought so, and thus, Badger was born! You shouldn't have to auction off your house and sacrifice your first born to transfer domains, you should be able to press a button that says "Transfer Domain" and be done with it. That is our philosophy, and we think you will appreciate it. Stop letting domain registrars badger you, and start using... Badger!
    Aerospike
    Aerospike is an open-source, modern database built from the ground up to push the limits of flash storage, processors and networks. It was designed to operate with predictable low latency at high throughput with uncompromising reliability – both high availability and ACID guarantees.
    See all alternatives
    Decisions about RocksDB and SQLite
    Daniel Quinn
    Daniel Quinn
    Senior Developer at Workfinder · | 2 upvotes · 79.8K views
    atThe Paperless ProjectThe Paperless Project
    SQLite
    SQLite
    PostgreSQL
    PostgreSQL

    SQLite is a tricky beast. It's great if you're working single-threaded, but a Terrible Idea if you've got more than one concurrent connection. You use it because it's easy to setup, light, and portable (it's just a file).

    In Paperless, we've built a self-hosted web application, so it makes sense to standardise on something small & light, and as we don't have to worry about multiple connections (it's just you using the app), it's a perfect fit.

    For users wanting to scale Paperless up to a multi-user environment though, we do provide the hooks to switch to PostgreSQL .

    See more
    Interest over time
    Reviews of RocksDB and SQLite
    No reviews found
    How developers use RocksDB and SQLite
    Avatar of Romans Malinovskis
    Romans Malinovskis uses SQLiteSQLite

    We build queries in PHP with DSQL that work with SQLite. We also have SQLite data controller, so that you can build SQLite-based models.

    Avatar of Coolfront Technologies
    Coolfront Technologies uses SQLiteSQLite

    Used during the "build process" of Coolfront Mobile's Flat rate search engine database. Flat rate data that resides in Salesforce is transformed using SQLite into a format that is usable for our mobile Flat rate search engine (AKA: Charlie).

    Avatar of Sripathi Krishnan
    Sripathi Krishnan uses SQLiteSQLite

    RDBTools is a self-hosted application, and it is important that the installation process is simple. With SQLite, we create a new database file for every analysis. Once the analysis is done, the SQLite file can be thrown away easily.

    Avatar of Perljobs.Ru
    Perljobs.Ru uses SQLiteSQLite

    All the dynamic data (i.e.: jobs) is stored in a simple SQLite database.

    Все динамические данные (вакансии) хранятся в простой SQLite БД.

    Avatar of A. M. Douglas
    A. M. Douglas uses SQLiteSQLite

    There's really no call for something heavier for this site. SQLite is simple, easy to use and quite reliable given its age.

    How much does RocksDB cost?
    How much does SQLite cost?
    Pricing unavailable
    Pricing unavailable