SYSFILE 系统视图中的每一行都描述数据库的一个 dbspace。每个数据库都由一个或多个 dbspace 组成;每个 dbspace 都对应一个操作系统文件。
自动为主数据库文件、临时文件、事务日志文件和事务日志镜像文件创建 dbspace。有关事务日志和事务日志镜像 dbspace 的信息未出现在 SYSFILE 系统视图中。
ALTER VIEW "SYS"."SYSFILE" as select b.dbfile_id as file_id, if b.dbspace_id = 0 and b.dbfile_id = 0 then db_property('File') else if b.dbspace_id = 15 and b.dbfile_id = 15 then db_property('TempFileName') else b.file_name endif endif as file_name, a.dbspace_name, a.store_type, b.lob_map, b.dbspace_id from SYS.ISYSDBSPACE as a join SYS.ISYSDBFILE as b on(a.dbspace_id = b.dbspace_id) |
![]() |
使用DocCommentXchange讨论此页。
|
版权 © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |