如果您的安装使用直连存储的高速缓存 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 的文件的大小。
dbspace dbfile 的路径将导致错误。