docs.surrealdb.com icon indicating copy to clipboard operation
docs.surrealdb.com copied to clipboard

Documentation: How to start surrealdb with the SpeeDB engine

Open admtech opened this issue 1 year ago • 5 comments

Description

Thanks to SpeeDB storage engine implementation surrealdb/surrealdb#2076, surrealdb can also be started with Speed. However, there is no documentation for this.

If you start the current version 1.0 with surreal start --user root speedb://database.db the user gets the following back:

ERROR surreal::cli: There was a problem with the database: There was a problem with the underlying datastore: Cannot connect to the speedb storage engine as it is not enabled in this build of SurrealDB

So how do you start or enabled surrealdb with the speedb engine? Especially in cloud environments, Speedb is many times better than RocksDB, which is mainly designed for SSDs and high IO. Cloud environments usually have network storage.

Do I need to recompile surrealdb or copy the binary from speedb somewhere. It would be great if you could describe this in more detail somewhere. Thank you

admtech avatar Nov 03 '23 11:11 admtech