DBA Consultant Training Content @20141230

Source: Internet
Author: User

1, logical reading or physical reading?The actual execution plan of the query statement.F5 expected execution plan.-How to produce the actual execution plan??. --session Collection instructions.
Workload Repository Report for AWRElapsect:dbtime. Numerator/Denominator ease:->1.
--top FOREGROUND EVENTS by Total WAIT time--sql ORDERED by GETS the number of disk buffers--sql ORDERED by VERSION COUNT child cursors are arranged. Same statement < Use FALSE hint to complete, reduce child cursor polling. (Hard parsing > Soft parsing, 2.RAC)--SELECT * from TABLE (Dbms_xplan. Display_cursor (sqlid, child cursor number <null represents all, which data < personal preferences in the execution plan;.--e-initial estimate.--a-actual logic count (statistics session)
--sample:dev,prd,qas. Data volume ↑, CBO way optimization, go index way different.--Background: Table connection: 4. substr, | |--buffers: Number of disk cache executions. Dependency: Parameters: 1) Number of blocks per read, 2) actual environment. Example: Parameters: 16. Actual storage block, distribution, continuous reading of a. 8,18. Read 8,16,2.Independent of tablespace logical size, actual storage, internal mode control, fragmentation.--Method: Shorten the index, rowid→ the actual value cost. Increase the Index organization table query. (The query result column is placed in the index, and the number of queries is not cost-effective.) Cbo. For query excute more times, the effect is obvious). Reduce get.
--average per row occupancy, tuple storage size. property is not occupied. Estimation method: Average row data occupies length * How many rows. Analogue data, table data acquisition, average length. < Table Analysis >--dbms_stats.gather_table_stats data statistics. Automatic trigger mechanism + manual statistics. Schema-based statistics, cost↑, table-based statistics.The Art of Oracle Performance Diagnostics.


From for notes (Wiz)

DBA Consultant Training Content @20141230

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.