Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Berkeley DB 是否提供不同架构类型之间的可移植性?我读过 db 可以在具有不同字节顺序的 32 位和 64 位机器之间移植,但是不同的拱类型是什么?因为我试图打开在 Intel 的 ARM 机器上创建的数据库但失败了。
BerkeleyDB 为自己的变量提供不同字节序环境之间的可移植性,但不为数据本身提供可移植性。
请注意,一个非常常见的 BerkeleyDB 错误是对 B-Tree 数据库使用 little endian 键,在 B-Tree 数据库上使用 big endian 键以保持性能,在 little endian 平台上擦拭字节。