A conceptual article on Optimization

Source: Internet
Author: User

So that we can make a persuasive judgment.

Description

Wait for "SQL * Net message from client". The SQL * Net package that receives the statement request "parse/execute.

Parse the SQL * Net package.

Wait for "latch free" to get a "library cache" latch.

Search for SQL statements in the Shared Pool, find matched, release latches, and create links to the shared cursor. Start execution.

Wait for "db file sequential read" because we need a data block that is not currently in the buffer cache. For example, wait for one IO to complete.

Read data blocks and start execution. Construct an SQL * Net Package and return the information containing the first line of data to the user.

Wait for "SQL * Net message to client" to confirm that the SQL * Net package has been delivered.

Wait for "SQL * Net message from client" to make the next request.

Description

The session is waiting for a specific event. (In Oracle 9.0.1, when the session is not waiting yet, V $ SESSION_WAIT shows that WAIT_TIME is 0, but due to the Bug: 2117360, the CPU may be used. V $ SESSION_WAIT.STATE displays a value other than "WAITING .)

CPU session is being used. The events listed are the last events that the session waits. WAIT_TIME indicates the time when the session waits for the last event.

-1 session needs to wait for a short time.

-2 do not know how long to wait (TIMED_STATISTICS = false ).

> 0 indicates the actual wait time in 10 ms.

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.