您好,我是小DAI,专注于数据库管理员相关的技术问答,请问有什么可以帮您?

高速缓存 Dbspace 备份

如果您的安装使用直连存储的高速缓存 dbspace,请遵循最佳做法以避免在备份过程中出错。

  • 高速缓存 dbspace 必须联机。脱机高速缓存 dbspace 将导致备份失败,错误代码为 1012034。例如:Msg 21, Level 14, State 0:SQL Anywhere Error -1012034: IQ store dbspace or dbfile IQDAS1 is unavailable. Backup will not be done.(dblib/db_backupID.cxx 859)

  • 高速缓存 dbspace 必须为读写状态。只读高速缓存 dbspace 将导致备份失败,错误代码为 1012058。例如: Msg 21, Level 14, State 0:SQL Anywhere Error -1012058: IQ cache dbspace IQDAS1 is read-only. Backup will not be done.(dblib/db_backupID.cxx 863)

  • 备份单个高速缓存 dbspace dbfile 将导致错误。SAP IQ 可重新构建高速缓存 dbspace,前提是其在数据库启动时发现原始设备或长度正确的文件。在进行备份之前,请记录用于保存高速缓存 dbspace 的文件的大小。

  • 在辅助节点上使用 RENAME 子句更改高速缓存 dbspace dbfile 的路径将导致错误。