SQL profiles can be used to improve performance.
To create a SQL Profile, a user must have the following privileges:
To deploy SQL profiles:
EXEC DBMS_SQLTUNE.CREATE_STGTAB_SQLPROF (table_name => 'STGTAB_SQLPROF_DB006');
imp
<user>
/
<pwd>
@
<instance>
tables=('STGTAB_SQLPROF_DB006') file= InForm_SQLProfiles.dmp log=imp.log ignore=y
EXEC DBMS_SQLTUNE.UNPACK_STGTAB_SQLPROF(replace => TRUE, staging_table_name => 'STGTAB_SQLPROF_DB006');
Select name, created from dba_sql_profiles;
Copyright © 2014, 2016 Oracle and/or its affiliates. All rights reserved.