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

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - 数据库管理 » 启动并连接到数据库 » SQL Anywhere for Windows Mobile » 配置 Windows Mobile 数据库

 

在 Windows Mobile 上重建数据库

在 Windows Mobile 上重建数据库时,可采用以下方法:

  • 在另一个平台上重建 Windows Mobile 数据库,然后将该数据库复制到 Windows Mobile 设备。这是推荐使用的方法。

  • 使用 dbmlsync 重新填充空数据库。

  • 使用 dbremote 重新填充空数据库。

  • 在 Windows Mobile 设备上使用 dbunload。此方法在智能手机上不可用。

升级 Windows Mobile 数据库时,建议使用前三种方法。但是,如果这些方法对您不适用,则您可在 Windows Mobile 上使用 dbunload。决定在 Windows Mobile 上使用 dbunload 之前,应考虑在 Windows Mobile 上使用 dbunload 产生的以下影响:

  • 数据库服务器临时文件的大小(卸载和重装都可能使此文件增至数兆字节)

  • dbunload 及相关组件所需的额外空间

  • 在 Windows Mobile 设备上具有多个数据库副本的额外开销

因为在 Windows Mobile 设备上运行 dbunload 所需要的资源可能会比一些设备可用的资源更多,所以建议尽可能在其它平台上升级数据库。

注意

如果要在 Windows Mobile 设备上运行 dbunload,必须在 [Deploy SQL Anywhere 12 for Windows Mobile Wizard] 中选择 [卸载/重装支持]。如果在首次安装 SQL Anywhere for Windows Mobile 时未选择该选项,则可通过修改 SQL Anywhere 安装来添加此支持。

 在 Windows Mobile 上使用 dbunload 的注意事项

在 Windows Mobile 上重建数据库