SQL Performance (MOSC)

MOSC Banner

sqltxplain is not performing "search_sql_by_sqltext"

edited Sep 17, 2016 5:00AM in SQL Performance (MOSC) 4 commentsAnswered

Hello Oracle Gurus,

Sqltxplain.sql is not performing  "search_sql_by_sqltext" as per SQLT Tool Configuration Parameters.The sql passed in sql file to sqltxplain.sql is both in memory and awr but when i run sqltxplain.sql ..its not finding the sql by sql text and retrieving the already executed plans.

I am taking the full sql query ..putting in sqldeveloper and using format option then using the formatted text as input to sqltxplain.

Please advice.

As per SQLT:

search_sql_by_sqltext

XPLAIN method uses the SQL text to search in memory and AWR for known executions of SQL being analyzed. If prior executions of this SQL text are found, corresponding plans are extracted and reported.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center