{"id":19331974,"url":"https://github.com/tikv/titan","last_synced_at":"2025-05-15T08:09:06.104Z","repository":{"id":35593981,"uuid":"184635772","full_name":"tikv/titan","owner":"tikv","description":"A RocksDB plugin for key-value separation, inspired by WiscKey.","archived":false,"fork":false,"pushed_at":"2025-03-06T02:42:18.000Z","size":829,"stargazers_count":496,"open_issues_count":33,"forks_count":170,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-04-14T12:18:33.436Z","etag":null,"topics":["database","rocksdb"],"latest_commit_sha":null,"homepage":"https://pingcap.com/blog/titan-storage-engine-design-and-implementation/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tikv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-02T18:59:17.000Z","updated_at":"2025-04-14T06:05:35.000Z","dependencies_parsed_at":"2023-11-15T07:26:44.678Z","dependency_job_id":"6df1f581-bc4f-41a7-9a44-c1fba9aee6af","html_url":"https://github.com/tikv/titan","commit_stats":{"total_commits":174,"total_committers":31,"mean_commits":5.612903225806452,"dds":0.6839080459770115,"last_synced_commit":"fe7cfbb608438d2c21bb95f90b10f6f8233f1ede"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikv%2Ftitan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikv%2Ftitan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikv%2Ftitan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikv%2Ftitan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tikv","download_url":"https://codeload.github.com/tikv/titan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248877968,"owners_count":21176244,"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":["database","rocksdb"],"created_at":"2024-11-10T02:43:13.559Z","updated_at":"2025-04-14T12:18:36.854Z","avatar_url":"https://github.com/tikv.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# Titan: A RocksDB Plugin to Reduce Write Amplification\n\n[![Build Status](https://travis-ci.org/tikv/titan.svg?branch=master)](https://travis-ci.org/tikv/titan)\n[![codecov](https://codecov.io/gh/tikv/titan/branch/master/graph/badge.svg)](https://codecov.io/gh/tikv/titan)\n\nTitan is a RocksDB Plugin for key-value separation, inspired by \n[WiscKey](https://www.usenix.org/system/files/conference/fast16/fast16-papers-lu.pdf).\nFor introduction and design details, see our\n[blog post](https://pingcap.com/blog/titan-storage-engine-design-and-implementation/).\n\n## Build and Test\nTitan relies on RocksDB source code to build. You need to checkout RocksDB source code locally,\nand provide the path to Titan build script.\n```\n# To build:\nmkdir -p build\ncd build\ncmake ..\nmake -j\u003cn\u003e\n\n# To specify custom rocksdb\ncmake .. -DROCKSDB_DIR=\u003crocksdb_source_dir\u003e\n# or\ncmake .. -DROCKSDB_GIT_REPO=\u003cgit_repo\u003e -DROCKSDB_GIT_BRANCH=\u003cbranch\u003e\n\n# Build static lib (i.e. libtitan.a) only:\nmake titan -j\u003cn\u003e\n\n# Release build:\ncmake .. -DROCKSDB_DIR=\u003crocksdb_source_dir\u003e -DCMAKE_BUILD_TYPE=Release\n\n# Building with sanitizer (e.g. ASAN):\ncmake .. -DROCKSDB_DIR=\u003crocksdb_source_dir\u003e -DWITH_ASAN=ON\n\n# Building with compression libraries (e.g. snappy):\ncmake .. -DROCKSDB_DIR=\u003crocksdb_source_dir\u003e -DWITH_SNAPPY=ON\n\n# Run tests after build. You need to filter tests by \"titan\" prefix.\nctest -R titan\n\n# To format code, install clang-format and run the script.\nbash scripts/format-diff.sh\n```\n\n## Compatibility with RocksDB\n\nCurrent version of Titan is developed and tested with TiKV's [fork][6.29.tikv] of RocksDB 6.29.\nAnother version that is based off TiKV's [fork][6.4.tikv] of RocksDB 6.4 can be found in the [tikv-6.1 branch][tikv-6.1].\n\n[6.4.tikv]: https://github.com/tikv/rocksdb/tree/6.4.tikv\n[6.29.tikv]: https://github.com/tikv/rocksdb/tree/6.29.tikv\n[tikv-6.1]: https://github.com/tikv/titan/tree/tikv-6.1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikv%2Ftitan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftikv%2Ftitan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikv%2Ftitan/lists"}