wxyfj 发表于 2018-10-23 11:29:05

研发成功了从Sybase SQL Anywhere的DB文件上恢复数据的工具

  之前就已经研发成功了能够从Sybase SQL Anywhere的DB文件中恢复数据的工具,现在公布一下。
  此工具支持ASA v5.0,v6.0,v7.0,v8.0,v9.0,v10.0,v11.0,v12.0等版本。恢复Sybase SQL Anywhere的工具在国内应该算首创。
  本工具的应用场景:
  1.因为物理磁盘故障、操作系统、系统软件方面或者掉电等等原因导致的Sybase SQL Anywhere数据库无法打开的情况;
  2.误操作,包括truncate table,drop table,不正确的where条件导致的误删除等;
  Sybase SQL Anywhere无法打开时,比较常见的错误是:Assertion failed。
  如:
  1、Internal database error *** ERROR *** Assertion failed:201819 (8.0.1.2600) Checkpoint log: invalid bitmap page -- transaction rolled back
  2、Internal database error *** ERROR *** Assertion failed:201819 (8.0.1.2600) Page number on page does not match page requested -- transaction rolled back
  3、Internal database error *** ERROR *** Assertion failed:200502 (9.0.2.2451) Checksum failure on page 23 -- transaction rolled back
  4、File is shorter than expected
  5、Internal database error *** ERROR *** Assertion failed: 201116 Invalid free list index page found while processing checkpoint log -- transaction rolled back
  6、*** ERROR *** Assertion failed: 51901 Page for requested record not a table page or record not present on page


  等等。报错的同时可能会在db文件相同目录下生成assert.dmp文件。
  关于Assertion Failure,大家可以参考Sybase官方技术文章:I've got an assertion! What should I do?
  本博中有两篇文章介绍Sybase SQL Anywhere数据库db文件的物理存储结构的分析过程,可以参考一下:
  ASA数据库物理存储结构分析(1)
  ASA数据库物理存储结构分析(2)
  本人不提供此工具的下载。如想了解使用本工具恢复损坏db文件的过程,可以观看下面的视频:
  http://www.dbainfo.net/wp-content/uploads/file/SQL_Anywhere_Recovery_Tool-ReadASADB-demo.swf
  全屏浏览视频:http://www.dbainfo.net/wp-content/uploads/file/SQL_Anywhere_Recovery_Tool-ReadASADB-demo.swf
  如果您的ASA数据库需要恢复的话,可以联系我。

页: [1]
查看完整版本: 研发成功了从Sybase SQL Anywhere的DB文件上恢复数据的工具