Planning Server データベースの状態のモニタリング

更新 : 2009-04-30

データベース管理者は、Planning Server データベースの稼働状態とパフォーマンスを定期的にモニタリングする必要があります。インデックスの断片化のモニタリングと最適化は、Planning Server モニタリングの重要な部分であるため、それぞれ独立したセクションで説明しています。

Planning データベースの状態のモニタリングは、2 つの方法で行うことができます。ここでは、Planning Server アプリケーションの観点からモニタリングに焦点を当てて説明します。もう 1 つの方法では、一般的な Microsoft SQL Server 2005 の稼働状況をモニタリングします。一般的な SQL Server のモニタリングについては、「付録 A : SQL Server の正常性モニタリング」を参照してください。SQL Server コンピュータのモニタリングの詳細については、「SQL Server Books Online」を参照してください。

サンプル クエリ

次のクエリを使用すると、システム状態を確認し、Planning Server システムをモニタリングできます。PerformancePoint Planning アプリケーション データベースに対して各クエリを実行します。

今後実行するようにスケジュールされているすべての項目を含む現在のキューの項目

select * from asyncworkitems with (NOLOCK)
where methodname = 'AsyncSubmit' ---and itemcompletionstatus = 4
and (itemstartDateTime is null or itemenddatetime is null)

実行するようにスケジュールされているすべての項目を除く現在のキューの項目

select * from asyncworkitems with (NOLOCK)
where methodname = 'AsyncSubmit' ---and itemcompletionstatus = 4
and (itemstartDateTime is null or itemenddatetime is null)
and scheduleddatetime > getutcdate()

最後の時間に処理された項目

select count(*) as [Count], avg(datediff(second, itemstartdatetime, itemenddatetime)) as [Avg],max(datediff(second, itemstartdatetime, itemenddatetime)) as [Max], min(datediff(second, itemstartdatetime, itemenddatetime)) as [Min] from asyncworkitems with (NOLOCK)
where methodname = 'AsyncSubmit'
and (itemstartdatetime is not null and itemenddatetime is not null)
and dateadd(minute, 60, itemenddatetime) > getutcdate()

最後の時間に送信された項目

select count(*) as [Count]
from asyncworkitems with (NOLOCK)
where methodname = 'AsyncSubmit'
and dateadd(minute, 60, submissiondatetime) > getutcdate()

select top(10) datediff(second, itemstartdatetime, itemenddatetime), datediff(second, submissiondatetime, itemenddatetime) from asyncworkitems with (NOLOCK)
where methodname = 'AsyncSubmit'
order by itemenddatetime desc

次のキューブ処理時間までの時間

select datediff(second, getutcdate(), scheduledDatetime)  from asyncworkitems where methodname like 'asyncprocess%' and itemenddatetime is null and itemstartdatetime is null

関連項目