Blazing fast, incredibly small, and ridiculously simple. IslandDB is the modern SQLite alternative built for performance.
Up to 10x faster than SQLite
90% smaller database size with zero compromise
Compatible with SQLite with minimal changes
IslandDB combines powerful features with elegant simplicity to deliver the database experience developers deserve.
IslandDB can be used in most places where something like SQLite is used; but with improved performance, smaller database size, and enhanced features for today's applications.
import IslandDB from "island-db";
async function main() {
const db = new IslandDB({ filePath: "./test.idb", autosave: true }); // Persists a DB in test.idb
await db.load();
const users = await db.create("users"); // Create a users collection
await users.add({ name: "bob", age: 20 }); // Will automatically create name and age islands
const bobResult = await users.find({ name: "bob" }); // Query by JSON
}
main();
IslandDB is built from the ground up for performance, with innovative architecture that leaves traditional databases in the dust.
IslandDB uses a special data storage format which allows access to data in O(1) time-complexity, resulting in lightning-fast query execution.
We avoid writing to the disk unless it's necessary. Disk writes are expensive, so we only write when necessary, or when the data is modified if autosave is enabled.
IslandDB automatically creates optimized indexes based on the data you store, ensuring optimal performance without manual tuning. The indexes are built-in to the database with and don't have a database size tradeoff.
See how IslandDB stacks up against the competition in real-world performance tests.
All tests were conducted on identical hardware with the following specifications:
IslandDB is MIT licensed and free to use in any project.
View Source CodeIslandDB is open source and free to use. Get started now or contribute to the project on GitHub.