macOS
brew install dbhashlocal Homebrew formula metadata
安装
brew install dbhashlocal Homebrew formula metadata
概览
Computes the SHA1 hash of schema and content of a SQLite database
历史
dbhash is an SQLite command-line utility that computes a SHA1 hash of a database's schema and content, ignoring storage-level details that do not change the represented data. It is packaged separately in some ecosystems because it is a useful database-inspection tool even for users who are not building SQLite itself.
The official SQLite documentation describes dbhash as part of SQLite's source tree, implemented by the single C source file tool/dbhash.c. The SQLite source repository is a Fossil repository whose README says it contains SQLite source history going back to May 2000.
dbhash is a specialist utility rather than a broad application. Its adoption comes from SQLite's ubiquity: database users often need to compare two SQLite files whose on-disk bytes differ after VACUUM, page-size changes, journal-mode changes, backup, or other operations, while the logical schema and content remain equivalent.
Users run dbhash with one or more SQLite database files and compare the resulting hashes. The official documentation also notes options for restricting hashing to specific tables, content only, or schema only, making it useful in tests, release checks, and remote verification where transferring a whole database would be expensive.
For package maintainers and database-heavy developers, dbhash is a small example of SQLite's tool-first culture: a single-purpose binary built from the canonical source tree that solves a real reproducibility problem better than hashing database files byte-for-byte.
安全态势
没有找到 dbhash 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dbhash | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.sqlite.org/dbhash.html
安装元数据
| 软件包键 | brew:dbhash |
|---|---|
| 版本 | 3.53.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dbhash |
| 主页 | https://www.sqlite.org/dbhash.html |
| 仓库 | https://sqlite.org/src |
| 上游文档 | https://www.sqlite.org/dbhash.html |
| 许可证 | blessing |
| 源码归档 | https://www.sqlite.org/2026/sqlite-src-3530300.zip |
| 最后更新 | 2026-06-27T14:08:56Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dbhash |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.