|Did you know ...||Search Documentation:|
|Packs (add-ons) for SWI-Prolog|
|Title:||SWI-Prolog interface to RocksDB|
|Rating:||Not rated. Create the first rating!|
|Author:||Jan Wielemaker <J.Wielemaker@vu.nl>|
|Maintainer:||Jan Wielemaker <J.Wielemaker@cwi.nl>|
|Packager:||Jan Wielemaker <J.Wielemaker@cwi.nl>|
No reviews. Create the first review!.
This is a SWI-Prolog pack that provides
library(rocksdb), a binding to
The installation requires a recent C++ compiler. RocksDB can work with several compression libraries. Most systems have zlib installed, but others may provide better performance or less resource usage. See INSTALL.md. Once these are in place, a simple
Should do the trick. Note that this clones RocksDB and builds it the way we need the library. This requires significant disk space (1.4Gb) and takes long (several minutes on a modern machine).
There are a number of issues with several pre-built versions of librocksdb:
As is, the most reliable way around is to include RocksDB, so we can control the version and build it the way that best fits our needs: as a static library with RTTI and -fPIC.
If the above fails
packdirectory of your installation or clone it elsewhere and link it.
?- pack_rebuild(rocksdb).to rebuild it. On failure, adjust Makefile to suit your installation and re-run the pack_rebuild/1 command.
The wrapper provides most functionality of RocksDB. It does not provide access to the many options that can be set to configure RocksDB. These will be added on demand. Please create issues for missing functionality (or bugs).
Pack contains 9 files holding a total of 41.4K bytes.