{"id":13712809,"url":"https://github.com/torden/go-mdbm","last_synced_at":"2026-01-18T01:28:48.263Z","repository":{"id":56819934,"uuid":"109957361","full_name":"torden/go-mdbm","owner":"torden","description":"Just! Go(go-lang) interface for Y! MDBM, Golang MDBM Wrapper","archived":false,"fork":false,"pushed_at":"2022-09-02T04:10:31.000Z","size":63349,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T20:58:52.840Z","etag":null,"topics":["database","go","go-mdbm","golang","key-value","mdbm","yahoo"],"latest_commit_sha":null,"homepage":"https://torden.github.io/go-mdbm/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/torden.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}},"created_at":"2017-11-08T09:49:27.000Z","updated_at":"2024-02-21T02:04:51.000Z","dependencies_parsed_at":"2023-01-17T19:30:18.295Z","dependency_job_id":null,"html_url":"https://github.com/torden/go-mdbm","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/torden/go-mdbm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torden%2Fgo-mdbm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torden%2Fgo-mdbm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torden%2Fgo-mdbm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torden%2Fgo-mdbm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torden","download_url":"https://codeload.github.com/torden/go-mdbm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torden%2Fgo-mdbm/sbom","scorecard":{"id":894876,"data":{"date":"2025-08-11","repo":{"name":"github.com/torden/go-mdbm","commit":"138fde8bdd4cb714806f67b06d40d2f2ea5a2c3a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":0,"reason":"binaries present in source code","details":["Warn: binary detected: pkg/rhel/el6/mdbm-4.12.4.0-1.el6.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el6/mdbm-debuginfo-4.12.4.0-1.el6.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el6/mdbm-devel-4.12.4.0-1.el6.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el6/mdbm-perl-4.12.4.0-1.el6.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el7/mdbm-4.12.4.0-1.el7.src.rpm:1","Warn: binary detected: pkg/rhel/el7/mdbm-4.12.4.0-1.el7.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el7/mdbm-debuginfo-4.12.4.0-1.el7.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el7/mdbm-devel-4.12.4.0-1.el7.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el7/mdbm-perl-4.12.4.0-1.el7.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/cppunit-1.12.1-3.1.el8.src.rpm:1","Warn: binary detected: pkg/rhel/el8/cppunit-1.12.1-3.1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/cppunit-debuginfo-1.12.1-3.1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/cppunit-debugsource-1.12.1-3.1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/cppunit-devel-1.12.1-3.1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/cppunit-doc-1.12.1-3.1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/doxygen-1.8.16-2.el8.src.rpm:1","Warn: binary detected: pkg/rhel/el8/doxygen-1.8.16-2.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/doxygen-debuginfo-1.8.16-2.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/doxygen-debugsource-1.8.16-2.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/doxygen-doxywizard-1.8.16-2.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/doxygen-doxywizard-debuginfo-1.8.16-2.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/doxygen-latex-1.8.16-2.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/mdbm-4.12.4.0-1.el8.src.rpm:1","Warn: binary detected: pkg/rhel/el8/mdbm-4.12.4.0-1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/mdbm-debuginfo-4.12.4.0-1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/mdbm-debugsource-4.12.4.0-1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/mdbm-devel-4.12.4.0-1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/mdbm-perl-4.12.4.0-1.el8.x86_64.rpm:1","Warn: binary detected: pkg/rhel/el8/mdbm-perl-debuginfo-4.12.4.0-1.el8.x86_64.rpm:1","Warn: binary detected: pkg/ubuntu/mdbm-4.13.0-Bionic_Beaver.deb:1","Warn: binary detected: pkg/ubuntu/mdbm-4.13.0-Disco_Dingo.deb:1","Warn: binary detected: pkg/ubuntu/mdbm-4.13.0-Precise_Pangolin.deb:1","Warn: binary detected: pkg/ubuntu/mdbm-4.13.0-Trusty_Tahr.deb:1","Warn: binary detected: pkg/ubuntu/mdbm-4.13.0-Xenial_Xerus.deb:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/torden/go-mdbm/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/torden/go-mdbm/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/torden/go-mdbm/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/torden/go-mdbm/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/torden/go-mdbm/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/torden/go-mdbm/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/torden/go-mdbm/go.yml/master?enable=pin","Warn: containerImage not pinned by hash: pkg/docker/centos/6/Dockerfile:1: pin your Docker image by updating centos:6 to centos:6@sha256:a93df2e96e07f56ea48f215425c6f1673ab922927894595bb5c0ee4c5a955133","Warn: containerImage not pinned by hash: pkg/docker/centos/7/Dockerfile:1: pin your Docker image by updating centos:7 to centos:7@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4","Warn: containerImage not pinned by hash: pkg/docker/ubuntu/12.04/Dockerfile:1: pin your Docker image by updating ubuntu:12.04 to ubuntu:12.04@sha256:18305429afa14ea462f810146ba44d4363ae76e4c8dfc38288cf73aa07485005","Warn: containerImage not pinned by hash: pkg/docker/ubuntu/14.04/Dockerfile:1: pin your Docker image by updating ubuntu:14.04 to ubuntu:14.04@sha256:64483f3496c1373bfd55348e88694d1c4d0c9b660dee6bfef5e12f43b9933b30","Warn: containerImage not pinned by hash: pkg/docker/ubuntu/16.04/Dockerfile:1: pin your Docker image by updating ubuntu:16.04 to ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6","Warn: containerImage not pinned by hash: pkg/docker/ubuntu/18.04/Dockerfile:1: pin your Docker image by updating ubuntu:18.04 to ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98","Warn: downloadThenRun not pinned by hash: pkg/docker/centos/6/Dockerfile:7","Warn: pipCommand not pinned by hash: pkg/docker/centos/6/Dockerfile:8","Warn: downloadThenRun not pinned by hash: pkg/docker/centos/7/Dockerfile:7","Warn: pipCommand not pinned by hash: pkg/docker/centos/7/Dockerfile:8","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   6 containerImage dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T13:19:06.204Z","repository_id":56819934,"created_at":"2025-08-24T13:19:06.204Z","updated_at":"2025-08-24T13:19:06.204Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"ssl_error","status_checked_at":"2026-01-18T00:39:39.467Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","go","go-mdbm","golang","key-value","mdbm","yahoo"],"created_at":"2024-08-02T23:01:22.984Z","updated_at":"2026-01-18T01:28:48.231Z","avatar_url":"https://github.com/torden.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"\n# Go-mdbm\n\n- Go-mdbm is a Go(golang,go-lang) binds to [Yahoo! MDBM C API](https://github.com/yahoo/mdbm).\n- MDBM is a super-fast memory-mapped key/value store.\n- MDBM is an ndbm work-alike hashed database library based on sdbm which is based on Per-Aake Larson’s Dynamic Hashing algorithms.\n- MDBM is a high-performance, memory-mapped hash database similar to the homegrown libhash.\n- The records stored in a mdbm database may have keys and values of arbitrary and variable lengths.\n\n[![Build Status](https://github.com/torden/go-mdbm/actions/workflows/go.yml/badge.svg)](https://github.com/torden/go-mdbm/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/torden/go-mdbm)](https://goreportcard.com/report/github.com/torden/go-mdbm)\n[![GoDoc](https://godoc.org/github.com/torden/go-mdbm?status.svg)](https://godoc.org/github.com/torden/go-mdbm)\n[![codecov](https://codecov.io/gh/torden/go-mdbm/branch/master/graph/badge.svg?token=Cb94xJMoYW)](https://codecov.io/gh/torden/go-mdbm)\n[![Coverage Status](https://coveralls.io/repos/github/torden/go-mdbm/badge.svg?branch=master)](https://coveralls.io/github/torden/go-mdbm?branch=master)\n[![CodeQL](https://github.com/torden/go-mdbm/workflows/CodeQL/badge.svg)](https://github.com/torden/go-mdbm/actions/workflows/codeql-analysis.yml)\n[![GitHub version](https://img.shields.io/github/v/release/torden/go-mdbm)](https://github.com/torden/go-mdbm)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n\n## Table of Contents\n\n\n- [Install from Source Code](#install-from-source-code)\n    - [Y! MDBM](#y!-mdbm)\n    - [Downloading](#downloading)\n    - [Compiling](#compiling)\n- [Install from Pre-build Packages](#install-from-pre-build-packages)\n    - [Ubuntu](#ubuntu)\n    - [go-mdbm](#go-mdbm)\n    - [Install](#install)\n- [Download for Development or Customization](#download-for-development-or-customization)\n    - [Build](#build)\n    - [Testing](#testing)\n    - [Run to Example](#run-to-example)\n    - [Miscellaneous](#miscellaneous)\n    - [Support two compatibility branches](#support-two-compatibility-branches)\n- [Not Support APIs](#not-support-apis)\n    - [Deprecated APIs](#deprecated-apis)\n    - [Only a V2 implementation](#only-a-v2-implementation)\n    - [Alternative](#alternative)\n    - [As soon](#as-soon)\n- [Examples](#examples)\n- [Benchmark](#benchmark)\n    - [Spec](#spec)\n    - [Command](#command)\n    - [Output](#output)\n- [Additional Benchmarks](#additional-benchmarks)\n    - [Spec](#spec)\n        - [Command](#command)\n        - [Output](#output)\n        - [DB File](#db-file)\n    - [Command](#command)\n        - [Output](#output)\n        - [DB File](#db-file)\n    - [Command](#command)\n        - [Output](#output)\n        - [DB File](#db-file)\n    - [Spec](#spec)\n    - [Command](#command)\n        - [Output](#output)\n        - [DB File](#db-file)\n    - [Command](#command)\n        - [Output](#output)\n        - [DB File](#db-file)\n    - [Command](#command)\n        - [Output](#output)\n        - [DB File](#db-file)\n- [Links](#links)\n\n\n## Install from Source Code\n\n### Y! MDBM\n\n#### Downloading\n\nUse the master branch\n\n```shell\ngit clone https://github.com/yahoo/mdbm.git\n```\n\nOR Use the release tarball, Guess you will using it\n\n```shell\nwget https://github.com/yahoo/mdbm/archive/v4.12.3.tar.gz\ntar xvzf v4.12.3.tar.gz\n```\n\n#### Compiling\n\nRefer to the https://github.com/yahoo/mdbm/blob/master/README.build\nif you want to install to another path, (HIGH RECOMMEND)\n\n```shell\ncd mdbm\nPREFIX=/usr/local/mdbm make install\n```\n\n## Install from Pre-build Packages\n\n- [Ubuntu Package](https://github.com/torden/mdbm/tree/main/ubuntu)\n- [RedHat(CentOS) Package](https://github.com/torden/mdbm/tree/main/ubuntu)\n- [OSX Package](https://github.com/torden/mdbm/tree/main/osx)\n- BSD Port (as soon)\n\n### Ubuntu\n\n```shell\ndpkg -i pkg/ubunt/mdbm-XXXX_XXXX.dep\necho \"/usr/local/mdbm/lib64/\" \u003e\u003e /etc/ld.so.conf\n```\n\n### go-mdbm\n\n#### Install\n\n```\nCGO_CFLAGS=\"-I/usr/local/mdbm/include/ -I./\" \\\nCGO_LDFLAGS=\"-L/usr/local/mdbm/lib64/ -Wl,-rpath=/usr/local/mdbm/lib64/ -lmdbm\" \\\ngo get github.com/torden/go-mdbm\n```\n\n#### Download for Development or Customization\n\n```\ngit clone https://github.com/torden/go-mdbm\n```\n\n##### Build\n\n```shell\ncd $GOPATH/src/github.com/torden/go-mdbm\n\nmake clean\nmake setup\nmake build\n```\n\n##### Testing\n\n```shell\ncd $GOPATH/src/github.com/torden/go-mdbm\nmake test\n```\n\n##### Run to Example\n\n```shell\ncd $GOPATH/src/github.com/torden/go-mdbm/example/\ngo run -race example.go\n```\n\n##### Miscellaneous\n\n\nThe following is support to development\n```shell\nmake help\n```\n\n```shell\nbuild:             Build the go-mdbm\nclean::            Clean-up\ncover:             Generate a report about coverage\ncoveralls::        Send a report of coverage profile to coveralls.io\nhelp::             Show Help\ninstallpkgs::      Install Packages\nlint:              Run a LintChecker (Normal)\nmetalinter::       Install GoMetaLinter\npprof:             Profiling\nreport:            Generate the report for profiling\nsetup:             Setup Build Environment\nstrictlint:        Run a LintChecker (Strict)\ntest:              Run Go Test with Data Race Detection\n```\n\n\n## Support two compatibility branches\n\n|*Branch*|*Support*|*test*|\n|---|---|---|\n|master|yes|always|\n|release 4.3.x|yes|tested|\n\n## Not Support APIs\n\nUnfortunately, the following list is not supported on now.\nIf you want them, please feel free to raise an issue\n\n### Deprecated APIs\n\n|*API*|*STATUS*|*COMMENT*|\n|---|---|---|\n|mdbm_save|DEPRECATED|mdbm_save is only supported for V2 MDBMs.|\n|mdbm_restore|DEPRECATED|mdbm_restore is only supported for V2 MDBMs.|\n|mdbm_sethash|DEPRECATED|Legacy version of mdbm_set_hash() This function has inconsistent naming, an error return value. It will be removed in a future version.|\n\n### Only a V2 implementation\n\n|*API*|*STATUS*|*COMMENT*|\n|---|---|---|\n|mdbm_stat_all_page|V3 not supported|There is only a V2 implementation. V3 not currently supported.|\n|mdbm_stat_header|V3 not supported|There is only a V2 implementation. V3 not currently supported.|\n\n### Alternative\n\n|*API*|*COMMENT*|\n|---|---|\n|mdbm_fetch_buf|Fetch, FetchStr APIs|\n\n### As soon\n\n|*API*|*STATUS*|\n|---|---|\n|mdbm_set_backingstore|as soon|\n|mdbm_cdbdump_add_record|as soon|\n|mdbm_cdbdump_import|as soon|\n|mdbm_dbdump_to_file|as soon|\n|mdbm_dbdump_trailer_and_close|as soon|\n|mdbm_dbdump_export_header|as soon|\n|mdbm_iterate|as soon|\n|mdbm_prune|as soon|\n|mdbm_set_stats_func|as soon|\n|mdbm_chunk_iterate|as soon|\n\n## Examples\n\nSee the [Documentations](https://github.com/torden/go-mdbm/tree/master/example) for more details\n\n\n## Benchmark\n\nThe following is result of Go-mdbm vs  BoltDB benchmarks for simple data storing and random fetching in them.\n\n- [Source Code](https://github.com/torden/go-mdbm/blob/master/benchmark_test.go)\n- [MDBM::Performance](http://yahoo.github.io/mdbm/guide/performance.html)\n\n### Spec\n\n|Type|Spec|\n|---|---|\n|Machine|VM(VirtualBox)|\n|OS|Ubuntu 17.10 (Artful Aardvark)|\n|CPU|2 vCore|\n|RAM|8G|\n|BoltDB Ver.|9da3174 on 20 Nov|\n|Mdbm Ver.|893f7a8 on 26 Jul|\n\n### Command\n\n```shell\nCGO_CFLAGS=\"-I/usr/local/mdbm/include/ -I./\" CGO_LDFLAGS=\"-L/usr/local/mdbm/lib64/ -Wl,-rpath=/usr/local/mdbm/lib64/ -lmdbm\" \\\ngo test -race -bench=. -run Benchmark -test.benchmem -v\n```\n\n### Output\n\n|func|count of loop|nano-seconds per loop|bytes per operation|allocations per operation|\n|---|--:|--:|--:|--:|\n|Benchmark_boltdb_Store-2                  |          2000      |     1082487 ns/op    |       38110 B/op     |    59 allocs/op|\n|Benchmark_mdbm_Store-2                    |        500000      |        2845 ns/op    |          96 B/op     |     6 allocs/op|\n|Benchmark_mdbm_StoreWithLock-2            |        500000      |        2908 ns/op    |          96 B/op     |     6 allocs/op|\n|Benchmark_boltdb_Fetch-2                  |        200000      |        9199 ns/op    |         496 B/op     |     9 allocs/op|\n|Benchmark_mdbm_Fetch-2                    |       1000000      |        1824 ns/op    |          56 B/op     |     4 allocs/op|\n|Benchmark_mdbm_FetchWithLock-2            |       1000000      |        2025 ns/op    |          56 B/op     |     4 allocs/op|\n|Benchmark_mdbm_PreLoad_Fetch-2            |       1000000      |        1811 ns/op    |          56 B/op     |     4 allocs/op|\n|Benchmark_mdbm_PreLoad_FetchWithLock-2    |        500000      |        2038 ns/op    |          56 B/op     |     4 allocs/op|\n\n### Additional Benchmarks\n\n#### Spec\n\n|Type|Spec|\n|---|---|\n|Machine|VM(VirtualBox)|\n|OS|Ubuntu 17.10 (Artful Aardvark)|\n|CPU|2 vCore|\n|RAM|8G|\n|BoltDB Ver.|9da3174 on 20 Nov|\n|Mdbm Ver.|893f7a8 on 26 Jul|\n\n\n#### Command\n```\nCGO_CFLAGS=\"-I/usr/local/mdbm/include/ -I./\" CGO_LDFLAGS=\"-L/usr/local/mdbm/lib64/ -Wl,-rpath=/usr/local/mdbm/lib64/ -lmdbm\"\ngo test -race -bench=. -run Benchmark -test.benchmem -v \\\n```\n\n##### Output\n\n```\nBenchmark_boltdb_Store-2                            2000           1072628 ns/op           37994 B/op         59 allocs/op\nBenchmark_boltdb_Fetch-2                          200000              8960 ns/op             496 B/op          9 allocs/op\nBenchmark_mdbm_Store-2                            500000              2923 ns/op              96 B/op          6 allocs/op\nBenchmark_mdbm_StoreWithLock-2                    500000              3055 ns/op              96 B/op          6 allocs/op\nBenchmark_mdbm_Fetch-2                           1000000              1823 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_FetchWithLock-2                   1000000              2093 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_Fetch-2                   1000000              1825 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_FetchWithLock-2            500000              2084 ns/op              56 B/op          4 allocs/op\n```\n\n##### DB File\n\n|Type|File Size|Times|elapsed time|\n|---|---|---|---|\n|BoltDB|128K|10000|1168516ns|\n|MDBM(Store)|32M|3000000|2937ns|\n\n#### Command\n```\nCGO_CFLAGS=\"-I/usr/local/mdbm/include/ -I./\" CGO_LDFLAGS=\"-L/usr/local/mdbm/lib64/ -Wl,-rpath=/usr/local/mdbm/lib64/ -lmdbm\" \\\ngo test -race -bench=. -run Benchmark -test.benchmem -v -test.benchtime 3s\n```\n\n##### Output\n\n```\nBenchmark_boltdb_Store-2                            5000           1168516 ns/op           39249 B/op         59 allocs/op\nBenchmark_boltdb_Fetch-2                          500000              9146 ns/op             496 B/op          9 allocs/op\nBenchmark_mdbm_Store-2                           2000000              2937 ns/op              96 B/op          6 allocs/op\nBenchmark_mdbm_StoreWithLock-2                   1000000              3015 ns/op              96 B/op          6 allocs/op\nBenchmark_mdbm_Fetch-2                           2000000              1891 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_FetchWithLock-2                   2000000              2185 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_Fetch-2                   2000000              1975 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_FetchWithLock-2           2000000              2129 ns/op              56 B/op          4 allocs/op\n```\n\n##### DB File\n\n|Type|File Size|Times|elapsed time|\n|---|---|---|---|\n|BoltDB|256K|10000|1168516ns|\n|MDBM(Store)|128M|3000000|2937ns|\n\n\n#### Command\n\n```\nCGO_CFLAGS=\"-I/usr/local/mdbm/include/ -I./\" CGO_LDFLAGS=\"-L/usr/local/mdbm/lib64/ -Wl,-rpath=/usr/local/mdbm/lib64/ -lmdbm\" \\\ngo test -race -bench=. -run Benchmark -test.benchmem -v -test.benchtime 10s\n```\n\n##### Output\n\n```\nBenchmark_boltdb_Store-2                           10000           1115691 ns/op           41109 B/op         60 allocs/op\nBenchmark_mdbm_Store-2                           5000000              2933 ns/op              96 B/op          6 allocs/op\nBenchmark_mdbm_StoreWithLock-2                   5000000              3098 ns/op              96 B/op          6 allocs/op\nBenchmark_boltdb_Fetch-2                         2000000              9200 ns/op             496 B/op          9 allocs/op\nBenchmark_mdbm_Fetch-2                          10000000              1802 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_FetchWithLock-2                  10000000              2049 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_Fetch-2                  10000000              1802 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_FetchWithLock-2          10000000              2038 ns/op              56 B/op          4 allocs/op\n```\n\n##### DB File\n\n|Type|File Size|Times|elapsed time|\n|---|---|---|---|\n|BoltDB|512K|10000|1115691ns|\n|MDBM(Store)|257M|5000000|2933ns|\n\n\n#### Spec\n\n|Type|Spec|\n|---|---|\n|Machine|Physical|\n|OS|Ubuntu 17.10 (Artful Aardvark)|\n|CPU|8 Core (Intel i7)|\n|RAM|16G|\n|HDD|SSD|\n|BoltDB Ver.|9da3174 on 20 Nov|\n|Mdbm Ver.|893f7a8 on 26 Jul|\n\n#### Command\n\n```\n#CPU : 8core\n#RAM : 16g\nCGO_CFLAGS=\"-I/usr/local/mdbm/include/ -I./\" CGO_LDFLAGS=\"-L/usr/local/mdbm/lib64/ -Wl,-rpath=/usr/local/mdbm/lib64/ -lmdbm\" \\\ngo test -race -bench=. -run Benchmark -test.benchmem -v\n```\n\n##### Output\n\n```\nBenchmark_boltdb_Store-8                             300           6138312 ns/op           32704 B/op         55 allocs/op\nBenchmark_mdbm_Store-8                            200000              5235 ns/op              96 B/op          6 allocs/op\nBenchmark_mdbm_StoreWithLock-8                    200000              5749 ns/op              96 B/op          6 allocs/op\nBenchmark_boltdb_Fetch-8                          100000             15322 ns/op             496 B/op          9 allocs/op\nBenchmark_mdbm_Fetch-8                            500000              2852 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_FetchWithLock-8                    300000              3713 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_Fetch-8                    500000              2829 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_FetchWithLock-8            500000              3436 ns/op              56 B/op          4 allocs/op\n```\n\n##### DB File\n\n|Type|File Size|Times|elapsed time|\n|---|---|---|---|\n|BoltDB|64K|300|6138312ns|\n|MDBM(Store)|16M|200000|5235ns|\n\n\n#### Command\n\n```\nCGO_CFLAGS=\"-I/usr/local/mdbm/include/ -I./\" CGO_LDFLAGS=\"-L/usr/local/mdbm/lib64/ -Wl,-rpath=/usr/local/mdbm/lib64/ -lmdbm\" \\\ngo test -race -bench=. -run Benchmark -test.benchmem -v -test.benchtime 3s\n```\n\n##### Output\n\n```\nBenchmark_boltdb_Store-8                            1000           6283664 ns/op           37533 B/op         58 allocs/op\nBenchmark_mdbm_Store-8                           1000000              4780 ns/op              96 B/op          6 allocs/op\nBenchmark_mdbm_StoreWithLock-8                   1000000              5360 ns/op              96 B/op          6 allocs/op\nBenchmark_boltdb_Fetch-8                          300000             14556 ns/op             496 B/op          9 allocs/op\nBenchmark_mdbm_Fetch-8                           2000000              2772 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_FetchWithLock-8                   1000000              3104 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_Fetch-8                   2000000              2527 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_FetchWithLock-8           1000000              3256 ns/op              56 B/op          4 allocs/op\n```\n\n##### DB File\n\n|Type|File Size|Times|elapsed time|\n|---|---|---|---|\n|BoltDB|128K|1000|6283664ns|\n|MDBM(Store)|64M|1000000|4780ns|\n\n#### Command\n\n```\nCGO_CFLAGS=\"-I/usr/local/mdbm/include/ -I./\" CGO_LDFLAGS=\"-L/usr/local/mdbm/lib64/ -Wl,-rpath=/usr/local/mdbm/lib64/ -lmdbm\" \\\ngo test -race -bench=. -run Benchmark -test.benchmem -v -test.benchtime 10s\n```\n\n##### Output\n\n```\nBenchmark_boltdb_Store-8                            2000           6133872 ns/op           28366 B/op         59 allocs/op\nBenchmark_mdbm_Store-8                           3000000              5377 ns/op              96 B/op          6 allocs/op\nBenchmark_mdbm_StoreWithLock-8                   3000000              5145 ns/op              96 B/op          6 allocs/op\nBenchmark_boltdb_Fetch-8                         1000000             15703 ns/op             496 B/op          9 allocs/op\nBenchmark_mdbm_Fetch-8                           5000000              2631 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_FetchWithLock-8                   5000000              3245 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_Fetch-8                   5000000              2598 ns/op              56 B/op          4 allocs/op\nBenchmark_mdbm_PreLoad_FetchWithLock-8           5000000              3379 ns/op              56 B/op          4 allocs/op\n```\n\n##### DB File\n\n|Type|File Size|Times|elapsed time|\n|---|---|---|---|\n|BoltDB|128K|2000|6133872ns|\n|MDBM(Store)|256M|3000000|5377ns|\n\n\n\n\n## Links\n\n- [Yahoo! MDBM](https://github.com/yahoo/mdbm)\n- [MDBM::Concept](http://yahoo.github.io/mdbm/guide/concepts.html)\n- [MDBM::Build](https://github.com/yahoo/mdbm/blob/master/README.build)\n- [MDBM::Document](http://yahoo.github.io/mdbm/)\n- [MDBM::FAQ](http://yahoo.github.io/mdbm/guide/faq.html)\n- [DBM](https://en.wikipedia.org/wiki/Dbm)\n- [BoltDB](https://github.com/boltdb/bolt)\n- [MDBM Packages](https://github.com/torden/mdbm)\n- [PHP-MDBM](https://github.com/torden/php-mdbm)\n- [Py-MDBM](https://github.com/torden/py-mdbm)\n\n---\n\n*Please feel free. I hope it is helpful for you*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorden%2Fgo-mdbm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorden%2Fgo-mdbm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorden%2Fgo-mdbm/lists"}