SYSFILE システムビューの各ローは、データベースの DB 領域を示します。各データベースは、1 つ以上の DB 領域で構成されます。各 DB 領域は、1 つのオペレーティングシステムファイルに対応します。
メインデータベースファイル、テンポラリファイル、トランザクションログファイル、トランザクションログミラーファイル用に、自動的に DB 領域が作成されます。トランザクションログ、トランザクションログミラーの DB 領域に関する情報は、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 で意見交換できます
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |