Did you know ... | Search Documentation: |
![]() | Packs (add-ons) for SWI-Prolog |
Title: | SWI-Prolog interface to RocksDB |
---|---|
Rating: | Not rated. Create the first rating! |
Latest version: | 0.8.0 |
SHA1 sum: | f110766ee97cfbc6fddd4c33b7238f00e76ecc18 |
Author: | Jan Wielemaker <J.Wielemaker@vu.nl> |
Maintainer: | Jan Wielemaker <J.Wielemaker@cwi.nl> |
Packager: | Jan Wielemaker <J.Wielemaker@cwi.nl> |
Home page: | https://github.com/JanWielemaker/rocksdb |
Download URL: | https://github.com/JanWielemaker/rocksdb.git |
No reviews. Create the first review!.
Version | SHA1 | #Downloads | URL |
---|---|---|---|
0.5.0 | e92e951173fbafa70cb1225941e672ddc98560dc | 3 | https://github.com/JanWielemaker/rocksdb/archive/V0.5.0.zip |
0.6.0 | 687ab5156fb4e05b7eff71bfc6df602c343c5fb1 | 10 | https://github.com/JanWielemaker/rocksdb/archive/V0.6.0.zip |
0.7.0 | 1875de6403e2606a9040a591bfffefe9d34dfe50 | 22 | https://api.github.com/repos/JanWielemaker/rocksdb/zipball/V0.7.0 |
c71a05346e46054591006bd61b6a0201feda9191 | 1 | https://github.com/JanWielemaker/rocksdb.git | |
0.8.0 | 98ec2151732a03ca666ce1c0196b850b370138b8 | 2 | https://github.com/JanWielemaker/rocksdb.git |
f110766ee97cfbc6fddd4c33b7238f00e76ecc18 | 18 | https://github.com/JanWielemaker/rocksdb.git |
This is a SWI-Prolog pack that provides library(rocksdb)
, a binding to
RocksDB.
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
?- pack_install(rocksdb).
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
pack
directory 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.