A statement with no variable bound at 11G. Very good! Very accurate and fast.

Source: Internet
Author: User

A statement with no variable bound at 11G. Very good! Very accurate and fast.

-- Trace SQLSELECT FORCE_MATCHING_SIGNATURE, to_char (FORCE_MATCHING_SIGNATURE) as sing, COUNT (1) AS REPLACE_NUM, ROUND (SUM (SHARABLE_MEM)/1024/1024) AS SHARED_MB, ROUND (SUM (PERSISTENT_MEM)/1024/1024) AS SHARED_MB, ROUND (SUM (RUNTIME_MEM)/1024/1024) AS SHARED_MB, ROUND (SUM (CPU_TIME)/SUM (EXECUTIONS)/1000, 3) AS CPU_TIME_AS_HAO, ROUND (SUM (ELAPSED_TIME)/SUM (EXECUTIONS)/1000, 3) AS ELAP SED_TIME_AS_HAOFROM V $ SQLWHERE FORCE_MATCHING_SIGNATURE> 0AND EXECUTIONS> 0AND FORCE_MATCHING_SIGNATURE! = EXACT_MATCHING_SIGNATUREGROUP BY distinct COUNT (1)> 1 order by 2 DESC; select x. * from v $ SQL XWHERE FORCE_MATCHING_SIGNATURE IN ('& FORCE_MATCHING_SIGNATURE ');

 

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.