macOS
brew install berkeley-dblocal Homebrew formula metadata
安装
brew install berkeley-dblocal Homebrew formula metadata
概览
High performance key/value database
历史
Berkeley DB is the classic embedded key/value database library lineage now distributed by Oracle. For package-manager users it is less a standalone server than a C library plus administrative utilities whose major version, license, and on-disk compatibility can matter to many dependent packages.
Berkeley DB originated in the BSD Unix world and became a general embedded database library under Sleepycat Software. Oracle acquired Sleepycat in 2006, and Oracle's current Berkeley DB pages and documentation now present the product as Oracle Berkeley DB.
The Homebrew berkeley-db package represents the current Oracle Berkeley DB line, with docs for the 18.1 series. It exposes command-line maintenance tools such as db_archive, db_checkpoint, db_dump, db_load, db_recover, db_upgrade, and db_verify in addition to the library API.
Berkeley DB's adoption pattern was unusual: many users never chose it directly, but installed it because another package embedded it for local indexes, metadata stores, mail/news databases, directory services, package metadata, or application state.
That indirect adoption made the package-manager story important. Distributions historically carried multiple db, db4, db5, and berkeley-db variants because applications could be tied to a specific ABI or database file format.
Developers link Berkeley DB into an application rather than run a database daemon. Runtime state lives in application-controlled database environments, where DB_CONFIG can tune caches, logging, locking, transactions, replication, and recovery behavior.
The bundled tools are operationally important: they let maintainers dump and reload databases, recover environments, inspect logs and statistics, verify files, and upgrade database formats when moving across versions.
Berkeley DB is package-nerd canon because it is tiny in concept but huge in dependency consequences. A formula upgrade can affect ABI compatibility, license acceptability, and whether old database files can be opened.
The current brew:berkeley-db and versioned brew:berkeley-db@5 relationship is exactly the sort of thing package historians care about: the unversioned formula tracks the modern Oracle line, while @5 keeps an older major line alive for dependents that cannot simply follow the latest library.
安全态势
broad file, network, media, or database tool signal. generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
<database-environment-home>/DB_CONFIG<database-environment-home>\DB_CONFIG可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
db_archive | cli | 全局可执行文件 | |
db_checkpoint | cli | 全局可执行文件 | |
db_convert | cli | 全局可执行文件 | |
db_deadlock | cli | 全局可执行文件 | |
db_dump | cli | 全局可执行文件 | |
db_hotbackup | cli | 全局可执行文件 | |
db_load | cli | 全局可执行文件 | |
db_log_verify | cli | 全局可执行文件 | |
db_printlog | cli | 全局可执行文件 | |
db_recover | cli | 全局可执行文件 | |
db_replicate | cli | 全局可执行文件 | |
db_stat | cli | 全局可执行文件 | |
db_tuner | cli | 全局可执行文件 | |
db_upgrade | cli | 全局可执行文件 | |
db_verify | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.oracle.com/database/technologies/related/berkeleydb.html
安装元数据
| 软件包键 | brew:berkeley-db |
|---|---|
| 版本 | 18.1.40 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/berkeley-db |
| 主页 | https://www.oracle.com/database/technologies/related/berkeleydb.html |
| 上游文档 | https://docs.oracle.com/database/bdb181/html/index.html |
| 许可证 | AGPL-3.0-only |
| 源码归档 | https://download.oracle.com/berkeley-db/db-18.1.40.tar.gz |
| 最后更新 | 2026-06-23T00:28:31+09:00 |
| Pulse | updated |
| 依赖 | openssl@3 |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | berkeley-db |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.