guess: The SQL text in Oracle Ash report appears "* * SQL text not Available * *" for reasons
Today is doing HVR data synchronization software data synchronization test, due to the large amount of data (1 records 14M, contains LOB fields, 3,000 records) and the IO is poor, so the synchronization (to be exact, HVR refresh) is slow.
During the HVR synchronization process, the AWR report and the ash report are generated, and the AWR report is idle, as follows:
Insert sentence: Log file parallel write the average wait time for this wait event is 49ms,io is really too bad.
The "* * SQL Text NOT Available * * * *" appears in the top SQL statements section of the Ash report, as follows:
The top sessions part of the ASH report is as follows:
Then use the following query to determine the sql_id of the SQL that the two session is executing:
Sql> Select Sid,serial#,sql_id,event from V$session where (sid= ' 1075 ' and serial#= ' 364 ') or (sid= ' 1074 ' and serial#= ' 2 30 ');
SID serial# sql_id EVENT
---------- ---------- ------------- ----------------------------------------------------------------
1074 9jnsccphbp7a9 sql*net Message from client
1075 364 bvgbvn8a7313c sql*net message from client
Sql>
At this point, the query destination table, is not recorded, that is, HVR is working, not submitted.
Therefore, I guess: the Oracle ash report in SQL text appears "* * SQL text NOT Available * * *" because there is no commit.
Add a sentence:
At this time in the AWR, with 9JNSCCPHBP7A9 and bvgbvn8a7313c the two sql_id to search, is not found these two SQL. Using the OS process ID in top to reverse SQL, you can actually see the SQL 9jnsccphbp7a9.
guess: The SQL text in Oracle Ash report appears "* * SQL text not Available * *" for reasons