Open-source graph database, built for real-time streaming data, compatible with Neo4j.
Go to file
Matija Santl a7ee70e365 Add KVStore::CompactRange to free disk space in HA
Summary:
Manually call `CompactRange` on KVStore (rocksDB) to free disk space
upon Raft log compaction.

Raft log takes surprisingly large amount of disk space (1MB for 1000 entries) so
we need to free disk space as we compact the log into snapshot.

When `log_size_snapshot_threshold` set to `5000` the disk usage of the
`durability_dir` goes from `4.8 MB` to `240 KB`.

Reviewers: ipaljak

Reviewed By: ipaljak

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1939
2019-04-10 15:29:59 +02:00
cmake Implement LDAP authentication 2019-02-28 09:39:30 +01:00
config Implement full durability mode 2018-08-29 16:05:07 +02:00
customers Implement manage script for card fraud demo 2018-02-12 13:29:12 +01:00
docs Fix planning.md typos 2019-03-04 13:18:44 +01:00
experimental Integrate code coverage with Apollo 2018-01-15 12:20:11 +01:00
libs Initial implementation of authentication 2018-07-27 13:08:17 +02:00
poc Clean utils folder (namespaces, function names) 2018-04-22 09:44:32 +02:00
release Implement audit logging 2019-02-19 15:11:30 +01:00
src Add KVStore::CompactRange to free disk space in HA 2019-04-10 15:29:59 +02:00
tests Add distributed snapshot recovery test 2019-04-09 12:58:59 +02:00
tools Add recovery and GraphDbAccessor interface for UniqueLabelPropertyConstraint 2019-03-27 12:33:56 +01:00
.arcconfig arcconfig: Default to master for diff and land 2017-11-07 18:41:51 +01:00
.clang-format Edges data structure now supports multiple edge filtering (implicit OR) 2017-09-26 13:46:18 +02:00
.gdbinit Add pretty printer to gdb for TypedValue 2017-08-16 11:32:25 +02:00
.gitignore Add proper storage stats for HA 2019-03-07 15:00:40 +01:00
.ycm_extra_conf.py Add kafka library and integrate it into memgraph 2018-07-06 15:52:23 +02:00
apollo_archives.py Refactor Apollo build projects 2018-03-27 13:47:18 +02:00
apollo_archives.yaml Polish Bolt client and mg_client 2018-10-19 13:55:51 +02:00
apollo_build.yaml Measure read throughput in HA 2019-03-12 14:55:04 +01:00
CHANGELOG.md Add recovery and GraphDbAccessor interface for UniqueLabelPropertyConstraint 2019-03-27 12:33:56 +01:00
CMakeLists.txt Restore CentOS support 2019-01-07 09:41:59 +01:00
Doxyfile Add initial version of Apollo config files 2018-01-10 14:46:10 +01:00
Doxylogo.png Doxygen setup 2016-12-20 15:49:52 +01:00
init Implement LDAP authentication 2019-02-28 09:39:30 +01:00
README.md Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00

memgraph

Memgraph is an ACID compliant high performance transactional distributed in-memory graph database featuring runtime native query compiling, lock free data structures, multi-version concurrency control and asynchronous IO.

dependencies

Memgraph can be compiled using any modern c++ compiler. It mostly relies on the standard template library, however, some things do require external libraries.

Some code contains linux-specific libraries and the build is only supported on a 64 bit linux kernel.

  • linux
  • clang 3.8 (good c++11 support, especially lock free atomics)
  • antlr (compiler frontend)
  • cppitertools
  • fmt format
  • google benchmark
  • google test
  • glog
  • gflags