ttIsqlユーティリティのcachegroupsコマンドの使用
TimesTenデータベースのキャッシュ・グループに関する情報を取得するには、ttIsql
ユーティリティのcachegroups
コマンドを使用します。
% ttIsql "DSN=cache1;UID=cacheadmin;PwdWallet=/wallets/cacheadminwallet" Command> cachegroups; Cache Group CACHEADMIN.RECENT_SHIPPED_ORDERS: Cache Group Type: Read Only Autorefresh: Yes Autorefresh Mode: Incremental Autorefresh State: On Autorefresh Interval: 1440 Minutes Autorefresh Status: ok Aging: Timestamp based uses column WHEN_SHIPPED lifetime 30 days cycle 24 hours on Root Table: SALES.ORDERS Table Type: Read Only Cache Group CACHEADMIN.SUBSCRIBER_ACCOUNTS: Cache Group Type: Asynchronous Writethrough (Dynamic) Autorefresh: No Aging: LRU on Root Table: SALES.SUBSCRIBER Table Type: Propagate Cache Group CACHEADMIN.WESTERN_CUSTOMERS: Cache Group Type: User Managed Autorefresh: No Aging: No aging defined Root Table: SALES.ACTIVE_CUSTOMER Where Clause: (sales.active_customer.region = 'West') Table Type: Propagate Child Table: SALES.ORDERTAB Table Type: Propagate Child Table: SALES.ORDERDETAILS Where Clause: (sales.orderdetails.quantity >= 5) Table Type: Not Propagate Child Table: SALES.CUST_INTERESTS Table Type: Read Only 3 cache groups found.
ttIsql
ユーティリティのcachegroups
コマンドによって表示される情報は、次のとおりです。
-
キャッシュ・グループが動的であるかどうかを含むキャッシュ・グループ・タイプ
-
自動リフレッシュ属性(モード、状態、間隔)およびステータス(適用可能な場合)
-
エージング・ポリシー(適用可能な場合)
-
ルート表の名前および(適用可能な場合は)子表の名前
-
キャッシュ表の
WHERE
句(適用可能な場合) -
キャッシュ表属性(読取り専用、伝播、伝播なし)
『Oracle TimesTen In-Memory Databaseリファレンス』の「ttIsql」を参照してください。