C-ISAM 文件一致性

发布于 2024-10-09 04:22:36 字数 295 浏览 0 评论 0 原文

INFORMIX-SE 4.10.DD6:我似乎遇到了一些虚假问题,例如 SE 数据库中的 C-ISAM 文件缺少指针。当我执行“bcheck -y FILE_123”时,它说它已经重建了索引并修复了问题,但是当我再次重新运行 bcheck 时,它重复相同的错误消息并说它修复了它,但不是真的!我知道这是一个不受支持/过时的 SE 版本,但如果您能想到除了卸载/删除表/重新创建并重新加载之外的任何其他替代方法来解决此问题,我将不胜感激。当我使用 SE 2.10.06 时,bcheck 工作正常,但自从升级到 4.10 后,C-ISAM 文件和 bcheck 就出现了问题。

INFORMIX-SE 4.10.DD6: I seem to be having spurious problems like missing pointers with C-ISAM files in my SE database. When I do 'bcheck -y FILE_123' it says it has rebuilt indexes and fixed the problem, but when I re-run bcheck on it again, it repeats the same error messages and says it fixed it, but not true! I know this is an unsupported/outdated version of SE, but if you can think of any other alternative to fixing this other than unloading/dropping table/re-create and load back in, I would appreciate any help. When I used SE 2.10.06, bcheck worked fine, but since moving up to 4.10, C-ISAM files and bcheck have been problematic.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

向日葵 2024-10-16 04:22:36

有一个老技巧:

  • 创建一个与出现问题的表具有相同索引结构的新表。
  • 将新表的索引文件(几乎为空)复制到旧表的索引文件上。
  • 重新运行 bcheck。

当然,您需要采取预防措施:

  • 创建新表。
  • 您将麻烦的索引文件的数据文件复制到某处。
  • 您将新的索引文件复制到它旁边。
  • 对新副本运行 bcheck。
  • 对重建的文件重新运行 bcheck。
  • 仅当一切正常时才将内容复制到数据库副本上。

There's the old trick of:

  • Create a new table with the same index structure as the table that is giving trouble.
  • Copy the (almost empty) index file for the new table over the index file of the old one.
  • Rerun bcheck.

Of course, you take precautions:

  • You create the new table.
  • You copy the data file of the troublesome index file somewhere.
  • You copy the new index file beside it.
  • Run bcheck on the new copies.
  • Rerun bcheck on the rebuilt file.
  • Only copy stuff over the database copy if everything looks OK.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文