エラー「EndPointProtocolFilter のデータ外部キー制約の検証」の解決

Symantec Data Loss Prevention 14.6 から現在のバージョンにアップグレードする前に、更新準備ツールを実行すると、ログ ファイルに以下のエラーが記録されます。
Start: Data Foreign Key Constraint Validation - [date and time] Data violations are detected on your schema, please use the below query(s) to retrieve the invalid data. SELECT DISTINCT protocolFilterId AS "PROTOCOLFILTERID" FROM ENDPOINTPROTOCOLFILTER WHERE protocolFilterId IS NULL OR protocolFilterId NOT IN (SELECT acv.protocolFilterId FROM AgentConfigurationVersion acv WHERE acv.protocolFilterId IS NOT NULL); End : Data Foreign Key Constraint Validation - elapsed 0s - FAILED (1 violation)
以下の手順を実行して、エラー「EndPointProtocolFilter のデータ外部キー制約の検証」を解決します。
  1. 次のコマンドを実行して、データ バックアップを作成します。
    create table EndpointProtocolFilter_nomatch as select * from EndpointProtocolFilter where protocolFilterId not in (select acv.protocolFilterId FROM AgentConfigurationVersion acv where acv.protocolFilterId IS NOT NULL);
  2. 次のコマンドを実行して、レコード数を確認します。
    select count(*) from EndpointProtocolFilter where protocolFilterId not in (select acv.protocolFilterId FROM AgentConfigurationVersion acv where acv.protocolFilterId IS NOT NULL);
  3. レコード数をメモします。
  4. 次のコマンドを実行して、アップグレード失敗の原因となるデータを削除します。
    DELETE FROM EndpointProtocolFilter WHERE protocolFilterId NOT IN (SELECT acv.protocolFilterId FROM AgentConfigurationVersion acv WHERE acv.protocolFilterId IS NOT NULL);
  5. 削除されたレコード数がレコード数と一致していることを確認します。手順 3 を参照してください。レコード数が一致しない場合は、シマンテック サポートにお問い合わせください。
  6. 次のコマンドを実行して、削除操作を完了します。
    commit;
  7. 次のコマンドを実行して、レコード数が一致していることを確認します。
    select count(*) from EndpointProtocolFilter where protocolFilterId not in (select acv.protocolFilterId FROM AgentConfigurationVersion acv where acv.protocolFilterId IS NOT NULL);