{"id":18886404,"url":"https://github.com/pmem/pmem-rocksdb","last_synced_at":"2025-04-14T21:31:08.750Z","repository":{"id":37443123,"uuid":"198826377","full_name":"pmem/pmem-rocksdb","owner":"pmem","description":"A version of RocksDB that uses persistent memory","archived":false,"fork":false,"pushed_at":"2021-11-29T04:56:22.000Z","size":78510,"stargazers_count":89,"open_issues_count":3,"forks_count":36,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-28T02:42:32.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmem.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-25T12:22:51.000Z","updated_at":"2024-04-19T07:09:07.000Z","dependencies_parsed_at":"2022-07-20T12:17:35.876Z","dependency_job_id":null,"html_url":"https://github.com/pmem/pmem-rocksdb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmem%2Fpmem-rocksdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmem%2Fpmem-rocksdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmem%2Fpmem-rocksdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmem%2Fpmem-rocksdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmem","download_url":"https://codeload.github.com/pmem/pmem-rocksdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223647069,"owners_count":17179206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T07:27:17.515Z","updated_at":"2024-11-08T07:27:18.233Z","avatar_url":"https://github.com/pmem.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PROJECT NOT UNDER ACTIVE MANAGEMENT #  \nThis project will no longer be maintained by Intel.  \nThis project has been identified as having known security escapes.  \nIntel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.  \nIntel no longer accepts patches to this project.  \n  \n## RocksDB: A Persistent Key-Value Store for Flash and RAM Storage\n\n### Intel optimized features for pmem\n\nThese are experimental features, don't use them in production environment.\n\n#### Build\n\nmake ROCKSDB_ON_DCPMM=1 install-static -j\n\n#### Reuse obsoleted sst files\n\nTo avoid page-fault and page-zeroing overhead on pmem\n\nusage:\n\noptions.recycle_dcpmm_sst = true;\n\n#### Write wal with nt-store\n\nusage:\n\noptions.env = rocksdb::NewDCPMMEnv(rocksdb::DCPMMEnvOptions());\n\n#### Key-value separation\n\nallocate values with libpmemobj\n\nusage:\n\noptions.env = rocksdb::NewDCPMMEnv(rocksdb::DCPMMEnvOptions());\n\noptions.dcpmm_kvs_enable = true;\n\noptions.dcpmm_kvs_mmapped_file_fullpath = {path to libpmemobj file};\n\noptions.dcpmm_kvs_mmapped_file_size = {libpmemobj file size};\n\noptions.dcpmm_kvs_value_thres = 64;  // minimal size to do kv sep\n\noptions.dcpmm_compress_value = false;\n\n#### Optimized mmap read for pmem\n\nusage:\n\noptions.use_mmap_read = true;\n\noptions.cache_index_and_filter_blocks_for_mmap_read = true;\n\nrocksdb::BlockBasedTableOptions bbto;\n\nbbto.block_size = 256 (512,1024, ... etc);\n\noptions.table_factory.reset(rocksdb::NewBlockBasedTableFactory(bbto));\n\n[![Linux/Mac Build Status](https://travis-ci.org/facebook/rocksdb.svg?branch=master)](https://travis-ci.org/facebook/rocksdb)\n[![Windows Build status](https://ci.appveyor.com/api/projects/status/fbgfu0so3afcno78/branch/master?svg=true)](https://ci.appveyor.com/project/Facebook/rocksdb/branch/master)\n[![PPC64le Build Status](http://140.211.168.68:8080/buildStatus/icon?job=Rocksdb)](http://140.211.168.68:8080/job/Rocksdb)\n\nRocksDB is developed and maintained by Facebook Database Engineering Team.\nIt is built on earlier work on [LevelDB](https://github.com/google/leveldb) by Sanjay Ghemawat (sanjay@google.com)\nand Jeff Dean (jeff@google.com)\n\nThis code is a library that forms the core building block for a fast\nkey-value server, especially suited for storing data on flash drives.\nIt has a Log-Structured-Merge-Database (LSM) design with flexible tradeoffs\nbetween Write-Amplification-Factor (WAF), Read-Amplification-Factor (RAF)\nand Space-Amplification-Factor (SAF). It has multi-threaded compactions,\nmaking it especially suitable for storing multiple terabytes of data in a\nsingle database.\n\nStart with example usage here: https://github.com/facebook/rocksdb/tree/master/examples\n\nSee the [github wiki](https://github.com/facebook/rocksdb/wiki) for more explanation.\n\nThe public interface is in `include/`.  Callers should not include or\nrely on the details of any other header files in this package.  Those\ninternal APIs may be changed without warning.\n\nDesign discussions are conducted in https://www.facebook.com/groups/rocksdb.dev/ and https://rocksdb.slack.com/\n\n## License\n\nRocksDB is dual-licensed under both the GPLv2 (found in the COPYING file in the root directory) and Apache 2.0 License (found in the LICENSE.Apache file in the root directory).  You may select, at your option, one of the above-listed licenses.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmem%2Fpmem-rocksdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmem%2Fpmem-rocksdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmem%2Fpmem-rocksdb/lists"}