guess: The SQL text in Oracle Ash report appears "* * SQL text not Available * *" for reasons

Source: Internet
Author: User


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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.