将 Berkley Db 从 XP 迁移到 Ubuntu
我有一个 bdb 数据库,我一直在我的 XP 机器上使用它。我现在正在将我的大部分应用程序等迁移到 Linux(准确地说是 Ubuntu 9.10)。
我不确定简单地移动数据库文件是否有效。以前是否有人经历过将 BDB 数据库从 Windows 平台迁移到 Linux 的过程,如果是的话,过程是什么?
另外,在“迁移”过程中,有什么特别需要注意的地方(即“陷阱”)吗?
I have a bdb database which I have been using on my XP box. I am now migrating most of my apps etc to Linux (Ubuntu 9.10 to be precise).
I am not sure that simply moving the db files will work. Has anyone undergone this process of moving a BDB database from the windows platform to Linux before, and if so what is the procedure?.
Also, during the "migration" is there anything in particular that I need to be aware of (i.e. "gotchas")?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简短的回答,是的,您可以迁移数据库机器/操作系统之间的文件。 bdb 创建的文件是跨平台的,它们只需要由 bdb 读取,这使得这很容易。
OTN Bdb论坛是询问 bdb 问题的好地方。
Short answer, yes, you can migrate the db files between machines/os. The files that bdb creates are cross platform, they only need to be read by bdb which makes this easy.
The OTN Bdb forum is a really good place to ask bdb questions.