Skip to content

Commit

Permalink
Add in-memory mode support (#204)
Browse files Browse the repository at this point in the history
* Add in-memory mode support

* Bump kuzu to 0.6.0
  • Loading branch information
mewim committed Aug 16, 2024
1 parent 7f476e2 commit e24e6ff
Show file tree
Hide file tree
Showing 5 changed files with 2,058 additions and 852 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,19 @@ docker run -p 8000:8000 \
--rm kuzudb/explorer:latest
```

#### In-memory mode

By default, Kùzu Explorer is launched in disk-based mode. If you want to launch Kùzu Explorer in in-memory mode, you can do so by setting the `KUZU_IN_MEMORY` environment variable to `true` as follows.

```bash
docker run -p 8000:8000 \
-e KUZU_IN_MEMORY=true \
--rm kuzudb/explorer:latest
```

In in-memory mode, the database is stored in memory and all changes are lost when the server is shut down even if a database directory is mounted. Also, read-only access mode is not supported in in-memory mode.


#### Dev builds

If you want to launch Kùzu Explorer with the latest development build of Kùzu, you can do so by using the `dev` tag instead of `latest`.
Expand Down
2 changes: 1 addition & 1 deletion kuzu
Submodule kuzu updated 265 files
Loading

0 comments on commit e24e6ff

Please sign in to comment.