不同 BerkeleyDB 版本之间有什么区别,我应该选择哪个?
很多事情都依赖于 BDB。当我为我的服务器安装预打包的软件时,每个软件似乎都需要不同版本的 BerkeleyDB。但似乎当我编译它们时我可以指定特定的 BDB 版本。 (涉及的软件包括Postfix、OpenLDAP和Cyrus IMAP。)
我偶尔在python项目中使用BDB,我不知道不同版本对创建的数据库文件有什么影响。
我想知道所有不同 Berkeley DB 版本之间的区别。似乎很难找到有关不同版本以及任何 API 或文件格式差异、版本之间的不兼容性等的信息。
我知道至少存在以下版本:
1.85(历史版本?)
2.x
3.x < /p>
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
5.0
Many things depend on BDB. When I go to install the prepackaged software for my server, each piece of software seems to want a different version of BerkeleyDB. But it seems when I compile them I can specify a specific BDB version. (The software involved includes Postfix, OpenLDAP, and Cyrus IMAP.)
I use BDB in python projects occaisionally and I have no clue what impact the different versions have on the database file created.
I would like to know the difference between all the different Berkeley DB versions. It seems difficult to find information about the different versions and any API or file format differences, incompatibilities between versions, et cetera.
I know at minimum the following versions exist:
1.85 (a historical version?)
2.x
3.x
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
5.0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一般来说,对于每个版本,您都可以在随该版本下载的文档中找到更改日志。您还可以在构建、安装和升级指南 此处。您还可以在此处<找到历史更改日志列表< /a>.
正如您所发现的,不同的包链接在不同版本的 Berkeley DB 库中。通常,BDB库名称包含版本号,以便多个版本可以同时在系统上共存。由于 Berkeley DB 被许多不同的软件包使用,因此系统上有多个版本的 Berkeley DB 并不罕见。
主要版本/功能的快速摘要:
临时版本添加了对其他平台以及其他功能和增强功能的支持。
我希望这会有所帮助。
问候,
戴夫
Generally, for each release you can find a Change Log in the documentation that gets downloaded with the release. You can also find a history of past releases, as well as upgrade instructions in the Build, Installation and Upgrading Guide here. You can also find the list of historic change logs here.
As you have discovered, different packages link in different versions of the Berkeley DB library. Usually, the BDB library name includes the release number, so that multiple versions can co-exist on a system at the same time. Since Berkeley DB is used by so many different packages, it is not uncommon to have multiple versions of Berkeley DB on your system.
A quick summary of the major releases/features:
The interim releases add support for additional platforms and other features and enhancements.
I hope that this helps.
Regards,
Dave