Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]Oracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Cloud Machine - Version N/A and laterOracle Cloud Infrastructure - Database Service - Version N/A and laterOracle Database Backup Service - Version N/A and laterInformation in this document applies to any platform.

Symptoms

When running SQL Performance Analyzer (DBMS_SQLPA) via a Database Link and the Target Database has VPD set up, the VPD predicates applied to the queries run by SQLPA do not match those that should be applied given the Parsing Schema for a given captured query in a SQL Tuning Set.

For Example: The Database Link below connects to the a Target Database as SYSTEM, then use this database link to execute SQLPA Analysis Task. The Parsing Schema Name for the given query in the Sql Tuning Set is TEST.