Parallel Execution and useful views in Oracle

Source: Internet
Author: User

By default, parallel_max_servers is enabled if it is greater than 0.

Alter session enable parallel [ddl | dml | query];
Alter session disable parallel [ddl | dml | query];
Alter session force parallel ddl parallel 5;

Several views used to analyze DB performance.

V $ PROCESS
Contains information about the currently active processes

V $ SESSION
Lists session information for each current session

V $ SESS_IO
Contains I/O statistics for each user session

V $ SESSION_LONGOPS
Displays the status of varous operations that run for longer than 6 seconds (in absolute time ). these operations currently include existing backup and recovery functions, statistics gathering, and query execution. more operations are added for every Oracle Database release.

V $ SESSION_WAIT
Displays the current or last wait for each session

V $ SESSION_WAIT_HISTORY
Lists the last ten wait events for each active session

V $ WAIT_CHAINS
Displays information about blocked sessions

V $ SYSSTAT
Contains session statistics

V $ RESOURCE_LIMIT
Provides information about current and maximum global resource utilization for some system resources

V $ SQLAREA
Contains statistics about shared SQL areas. Contains one row for each SQL string. Provides statistics about SQL statements that are in memory, parsed, and ready for execution

For more information about Oracle, see Oracle topics page http://www.bkjia.com/topicnews.aspx? Tid = 12

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.