Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 (中文) » SQL Anywhere 服务器 - 编程 » 数据库和应用程序部署 » 数据库服务器部署

 

提高 Intel 存储驱动程序的稳健性

通过在注册表中指定 EnableFlush 参数,可以提高采用某些 Intel 存储驱动程序的系统应对电源故障的稳健性。不设置此参数可导致在电源发生故障时丢失数据和损坏数据库。

前提条件

执行此任务没有前提条件。

 任务
  1. 检查以下注册表条目是否存在:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\iastor\Parameters\
  2. 如果注册表条目存在,则在注册表项中添加名为 EnableFlush 的 REG_DWORD 值,并为其赋予数据值 1。

  3. 检查以下注册表条目是否存在。

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\iastorv\Parameters\
  4. 如果注册表条目存在,则在注册表项中添加名为 EnableFlush 的 REG_DWORD 值,并为其赋予数据值 1。

结果

指定了 EnableFlush 参数,这可防止在出现电源故障时数据丢失。

以下示例显示了将在两个可能的位置均指定 EnableFlush 参数的注册表文件:

REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Parameters]
"EnableFlush"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastorv\Parameters]
"EnableFlush"=dword:00000001