TempDB はあらゆる操作を実行する、SQL Serverによって使用されるシステムデータベースです。 通常の操作で SQL によって最大サイズまで使用されるため、サイズが大きくなることは通常の動作です。 たとえば、SQL の特定のクエリに1 GB の tempdb 容量が必要な場合、tempdb を構成するファイルが 1 GB に増加します。 クエリが完了すると SQLは tempdb の容量を解放しますが、デフォルトでは tempdbでは自動的に圧縮されないため、ファイルは依然として1 GB のままです。
通常、tempdb のサイズは時間の経過とともに増加します。(最大サイズは、ePOが実行する作業によって変わります。) ただし、次の理由で tempdb が容量不足である場合、SQL および ePO の機能が低下するか失敗する可能性があります。
- SQL データベースが存在するディスク容量がフルになっている場合。
- SQL データベースの最大サイズが設定した制限に達した場合。
SQL Server サービスの開始時に、TempDB が再構築されます。 ePO サーバー上の ePO サービスや、Agent Handler を再起動する必要がある場合は、データベースのサイズを減らすことができます。
- ePO サービスを停止します。
- Windows+Rキーを押し、 services.mscと入力し、 OKを選択してください。
- 次のサービスを右クリックし、 停止を選択してください。
McAfee ePolicy Orchestrator x.x.x Application Server
McAfee ePolicy Orchestrator x.x.x Server
McAfee ePolicy Orchestrator x.x.x Event Parser
- ePO サービスを開始します。
- Windows + R キーを押して、services.msc と入力して、OK をクリックします。
- 次のサービスを右クリックし、開始を選択してください。
McAfee ePolicy Orchestrator x.x.x Application Server
McAfee ePolicy Orchestrator x.x.x Server
McAfee ePolicy Orchestrator x.x.x Event Parser
新たな、小さい tempdb が作成されます。
トラブルシューティングの手順 tempdb に関してトラブルシューティングを行う場合、まずは tempdb の容量がフルになっているか、空き容量があるのかを確認する必要があります。
- SQL Management Studio を開きます。
- ePO データベースをホストする SQL インスタンスに接続します。
- [データベース]を展開し、[システムデータベース]を選択します。
- [tempdb] を右クリックし、 [プロパティ]を選択します。
- [全般]ページの [データベース]セクションで、 [サイズ] と [使用可能な容量] の値を確認してください。
tempdb の空き容量が多く確保されている場合、SQL が正しく作動することを意味します。 いくつかのタイミングで、操作することにより tempdb のサイズが増加することになりますが、操作が完了すると tempdb が使用していた領域を解放します。
このシナリオでは、SQL が正常に機能するように tempdb の拡張を許可します。
空き容量がほとんどない、もしくは全くない場合、問題が示されます。 SQL Management Studio で、次のクエリを実行してください。
SELECT is_read_committed_snapshot_on FROM sys.databases WHERE Name = ''
には ePO データベース名が入ります。
このクエリは、通常 1 または 0 の値を返します。(どちらの値かは、次のようにePO のバージョンによって決まります。)
- ePO 5.3.1 および 5.3.2 は通常、1を返します。
- その他の ePO バージョンは、通常 0 を返します。
ePO 5.3.1 もしくは 5.3.2を使用しており、tempdbの拡張を既に行っている場合、お使いの ePO を 5.3.3 もしくは 5.9.x. に更新されることをお勧めします。
もし ePO の他バージョンを使用しており、クエリが 1 を返す場合には、データベースの問題を修正するための必要な手順がさらにあるため、テクニカルサポートにお問い合わせください。
- 登録済みのユーザーの場合は、ユーザー ID とパスワードを入力して、[ ログイン] をクリックします。
- 登録済みのユーザーでない場合は、 登録 をクリックして各項目を入力すると、パスワードと手順がメールで送信されます。