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

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - 数据库管理 » 启动并连接到数据库 » 数据库文件类型

 

预定义 dbspace

SQL Anywhere 将以下预定义 dbspace 用于数据库:

Dbspace 名称
主数据库文件 system
临时文件 temporary 或 temp
事务日志文件 translog
事务日志镜像 translogmirror

您不能使用这些名称创建用户定义 dbspace,也不能删除预定义 dbspace。

如果您升级含有使用了预定义 dbspace 名称的用户定义 dbspace 的 10.0.0 或更低版本数据库,则假定在 SQL 语句中对这些 dbspace 的所有引用都是引用用户定义 dbspace,而不是引用预定义 dbspace。可以引用预定义 dbspace 的唯一方式是通过删除用户定义 dbspace 或重命名它们,以便不使用与预定义 dbspace 相同的名称。

ALTER DBSPACE 语句支持预定义 dbspace 名称,所以可以向其中添加更多空间。

DB_EXTENDED_PROPERTY 函数也接受预定义 dbspace 名称。

 另请参见