Common Methods for viewing Oracle execution plans-Series 2
Continued article: http://blog.csdn.net/bisal/article/details/38919181
3. AUTOTRACE Switch
Turn on AUTOTRACE in SQLPLUS to get the SQL Execution Plan.
The prompt shows that AUTOTRACE has several options:
OFF/ON/TRACEONLY/EXPLAIN/STATISTICS.
Lab:
1. Execute set autotrace on:
2. Execute set autotrace traceonly:
VcD4KPHA + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20140917/201
The following article describes how to use optimizer updates to execute plans in DB2 databases, we all know that in a DB2 database, the optimizer is generally used to analyze SQL statements and generate an Access Plan that is considered optimal ).
The DB2 optimizer is actually a set of standard rules. Generally, we only need to tell DB2 what to search, not how to search.
So what is the DB2 optimizer used to determine the optimal SQL access path?
DB2 o
Without third-party tools, view SQL Execution plans SQL> connect sys as sysdba -- create the table SQL used by the execution plan> @? \ Rdbms \ admin \ utlxplan grants the Autotrace permission to each user by using the following methods. If you need to restrict the Autotrace permission, you can change the public authorization to the specific user authorization. Www.2cto.com 1. grant all permissions to the plan_table table to the public role SQL> grant
Oracle AWR threshold affects the historical execution plan. Some netizens recently mentioned why the historical execution plan of SQL statements cannot be viewed in dba_hist_ SQL _plan. This problem is caused by default, the threshold value set by Oracle does not capture all SQL statements, so it is normal to see some historical SQL Execution plans. In Oracle 9i, we can set different snapshot levels to obtain detailed information of different degrees.
development opportunity. Between the ages of 25 and 32 is the accumulation stage. During this period, they should have performance. If they are successful, they should have the right to return (including monetary return ).
Basic quota
After the return, it is to solve the family problem and build a family. Some people will try to become "professionals" in this industry ". Therefore, Bai Ling thinks that when she was in her 30 s, she already had a basic career model. Some people have to start the
goal. The long-term goal must also be tied to the intermediate goal. Its level is certainly higher, with a time span of more than five years. In addition, the long-term goal is generally not related to the specific XX language, XX platform, etc., but is often associated with career positions. For example, "become technical director in 5-7 years" and "become product architect in 5 years. After you have set all three goals, you have formed a personal development plan. Since it is a plan, You Have
Personal plans will never go messy: five timed reminder software for horizontal Evaluation
(16:19:57)
Category: Work articles
Generally, the reminder software is simple and may not be used by everyone. But for users who need to use computers as work tools, a good reminder software will often bring great help to their work and learning. With the help of the reminder software, you don't have to worry about forgetting anyt
Tags: javascript Oracle review plan Java MySQL After three months of training in chinansoft, I handed in a lot of "messy" things and felt like watering my head, so I didn't absorb it very well. It's time to reorganize the knowledge. To sum up, I learned the following knowledge: 1. html, CSS, JavaScript, jquery, JSON, and Ajax 2. servlet, XML, JSP, and log4j 3. MySQL and Oracle 4. Java, GitHub, and SSH (learning not started yet) The following review plan is developed to ensure that the
here indicates that the optimizer considers the cost of the execution plan:Select statement Optimizer = CHOOSE (Cost = 1234 Card = 1 Bytes = 14)
However, if the information shown in the execution plan is similar to the following, it indicates that the RBO optimizer is used because the value of the cost part is null or there is no cost part at all.Select statement Optimizer = CHOOSE Cost =Select statement Optimizer = CHOOSEIn this way, we can find out the Optimizer used to execute the statement
MSSQL Optimization-exploring MSSQL execution plans
Author: nz. perfectaction QQ: 34813284Time: 2006.11.07 23:30:00Environment: win2003 + mssql2005
Recently, I have always wanted to understand and understand MSSQL, but I have never thought about it and have no time to write it. At night I wrote an execution plan to explore MSSQL, this article describes the execution plan, but not limited to the execution plan.There are a lot of articles on SQL Optimiz
Some netizens recently mentioned why the historical execution plan of SQL statements cannot be viewed in dba_hist_ SQL _plan. This problem is due to the fact that the threshold value set by Oracle does not capture all SQL statements by default, therefore, it is normal to see some SQL history execution plans. In Oracle 9i, we can set different snapshot levels to obtain detailed information of different degrees. You can also separately configure the SQL
Obtaining execution plans and execution costs and writing the optimal SQL statements are required by each Oracle Developer and dba.
After Oracle 11g is passed, auto trace is automatically enabled for dba role by default?
Configure autotrace:
Enter $ ORACLE_HOME/rdbms/admin
Go to sqlplus,
Run:
SQL> @ utlxplan
Create an analysis table. For ease of operation, we can create a synonym
SQL> create public synonym plan_table for plan_table;
We can grant this
Some netizens recently mentioned why the historical execution plan of SQL statements cannot be viewed in dba_hist_ SQL _plan. This problem is due to the fact that the threshold value set by Oracle does not capture all SQL statements by default, therefore, it is normal to see some SQL history execution plans. In Oracle 9i, we can set different snapshot levels to obtain detailed information of different degrees. You can also separately configure the SQL
Electronics weekly, allthingsd Intel plans to sell a set-top box with a camera. It is said that it can recognize every viewer sitting on a TV in China. The collected information allows enterprises to place advertisements in specific audiences. These set-top boxes will be sold by the mysterious intel Media Division. Erik huggers, vice president of Intel's media division, said it implemented a TV with 'who really care about your. Intel said hundreds of
. ' _ '. $GLOBALS [' _cfg '] [' template '];Change template parsing class is to ensure that the template variation between the different Chinese and English templates ask no conflict6, in any position of the template plusLANG=CN ">chineseLang=en ">EnglishThe last changes are languages\zh_cn\common.php and languages\en_us\common.php, with {$lang. xx}This approach also applies to multi-language settings Copyright notice: This article Bo Master original articles, blogs, without consent may not be r
The books to be read in this semester are "requirements engineering-software modeling and Analysis", "ten-Step software Requirements", "demand analysis and system design" three booksOctober read "Requirements Engineering-software modeling and Analysis":October 15 20:30 published the first reading note,October 21 20:30 published the second reading note,October 30 20:30 published the third reading note.November read "Ten Steps to software Requirements":November 10 20:30 published the first reading
arrangements within the organisation. 2, the test object of clear test (clear test items, for the subsequent division of tasks, estimated workload, etc.)3, the completion of testing requirements tracking4. Define the principles to be observed in the test1 Test pass/fail criteria2 requirements for test suspend and reply5, clear test task assignment is the core of the test plan1, the test task Division2, the test workload estimate3, personnel resources and material resources allocation4, clear th
Books:I'll fill in a hole, list the books I think I need to see, and find them later.1.game engine architecture >>[Beauty] Jason Gregory (Jason Gregory), Translator: Ye Jin;The content includes:-Large-scale C + + software architecture in game development-Math required for game programming-Game development tools for debugging, source code control and profiling-engine subsystem such as engine base system, rendering, collision, physics, character animation, game world object model, etc.-Multi-platf
Today I really realize how decadent I am. silly for a lot of days. But this is not a day or two to make up, so I want to make a specific plan, well, time to the final exam before it.1. English reading for the day is still indispensable.2. As for the appreciation of Chinese poetry, classical writing, composition, breakthrough bar. to seek stability. (Haha, or do the title, or the exam is stupid )3. Math hurry to get 53 done, and then go to brush the vector bar, time is not much4. Chemistry intend
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.