How to modify bind var capture interval in 10gr2

Source: Internet
Author: User

In 10gr2, you can capture the value of SQL variable binding. for efficiency, it is captured every 15 minutes. I have previously introduced the capture of SQL variable binding in an article, here we will not introduce how to view the captured bind variables. The following describes how to modify Bind Variable capture interval:

A hidden parameter _ cursor_bind_capture_interval is introduced in 10gr2 to control the frequency of capturing Bound variables. to disable the capture of Bound variables, set statistics_level to basic. If statisitcs_level is set to basic, it may affect the collection of other maintenance information.

SQL & gt; Set pages 9999
SQL> set lines 121
SQL> Col ksppinm format A36
SQL> Col ksppstvl format A18
SQL> Col ksppdesc format A54
SQL> select ksppinm, ksppstvl, ksppdesc
2 from x $ ksppi Pi, x $ ksppcv CV
3 where cv. indx = pi. indx and PI. ksppinm like '_ % 'escape''
4 and PI. ksppinm like '% & Parameter % ';
Enter value for parameter: _ cursor_bind_capture_interval
Ksppinm ksppstvl ksppdesc
-------------------------------------------------------------------------
_ Cursor_bind_capture_interval 900 interval (in seconds) between two bind capture for a cursor

 

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.