Collect query optimization data using the dynamic performance view of Oracle

Source: Internet
Author: User

For some current releases, three dynamic performance views are available for DBAs (Database Administrator, Database Administrator) and developers, namely V $ SQL, V $ SQLAREA, and V $ SQLTEXT.

These views can be used to collect statistics about SQL command execution. In Oracle 10g and Release 2, the fourth dynamic performance view, V $ SQLSTATS, is added to facilitate access to such data.

Unlike the static data dictionary view (which is prefixed with USER _, ALL _, or DBA _), the dynamic performance view is constantly updated as the system runs. This makes it possible to monitor the performance of SQL statements during execution.

Like static views, you must first obtain a license to use them. You can grant SELECT_CATALOG_ROLE permissions to non-Database Administrators (such as in a typical development environment) so that they can make choices.

The following is a brief description of the functions provided by each view:

  • 1
  • 2
  • Next Page
[Content navigation]
Page 1st: Collect query tuning using the dynamic performance view of Oracle Page 2nd: Collect query tuning using the dynamic performance view of Oracle

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.