The following execution plan is printed out. Many friends still don't know. In fact, there are only three statements:
Explain plan for the SQL statement you want to view; commit; select * from table (dbms_xplan.display );
----- Split line ----------------------------------
First, let us know a principle,When you look at the execution plan, start from the first l
Create a power plan what to choose
To create a power plan is a timing function, such as how long we do not use the computer automatically into the screen saver or longer without the system automatically sleep state.
How do I create a power plan? (Win8.1)
1. Click the "Start" option, as shown below.2. Select the "Control Panel" option to open the entry details
Create your own oracle interpretation plan and oracle interpretation plan
1. Explain the plan
When an explain plan is used to generate an expected execution plan for a query, the output includes the following:
Each table accessed by SQL;
Method for accessing each table;
The
Cost Calculation Method in execution plan, execution plan cost
Concept:
Blevel: Binary Height = index height-1
Clustering_factor: Cluster factor, number of blocks in the table to be scanned after index scan, clustering_factor
Index scan calculation formula:Cost =
Blevel +Ceil (leaf_blocks * Valid tive index selecti.pdf) +
Ceil (clustering_factor * Valid tive table selecti.pdf)
The test is performed unde
Basic elements (time, user, problem) the user in the 11G environment has a section of SQL statements in the program is very inefficient execution, but in plsql execution is very fast, by looking at the execution plan, found that the use of different indexes caused, the program executes the following:The effects performed in Plsql are as follows:You can see the difference, the use of outpatient expense records _IX_ Registration time index is the execut
After the contract is signed, the main purpose of this phase is to prepare a plan that has obtained the consent of the stakeholders of the main project, which has the correct big framework and can guide the project implementation, further improvement, adjustment and updating of the project plan is a continuous activity in the project implementation process. In addition to having sufficient project experienc
Mo Ge: my business plan, Mo Ge: Business Plan
[Mo Ge: 1 million articles per day]
A few days ago, Qin da wrote an article titled "Qin Gang: how to write a business plan with sufficient weight". In this article, he suggested that whether you raise funds or not, you should write such a business plan, because it gives you
Tags: factor auto-generated program development OTA UI Images customer plan When doing a patrol on an Oracle server, using the following SQL to find the highest disk_read top SQL analysis, there are some anomalies in the parsing process that have an SQL statement, which makes people feel strange: SELECT sql_id, Look at the estimated execution plan for SQL in SQL developer and find that the executio
Tags: arc requires IDE number Server index execute execution plan log The source of this article: http://www.cnblogs.com/wy123/p/6008477.html For statistics on the number of rows of data estimates, previously written on the non-related columns (separate or separate index columns) of the algorithm, refer to here. Today, let's write the statistical information on the calculation methods and potential problems of the composite index at the time of est
Oracle Partition Table execution plan, oracle execution plan
Partition tables have many advantages: they are big, small, and small. With parallel use, loap can often improve the performance by dozens or even hundreds of times. Of course, poor table design can also be counterproductive, and the effect is worse than that of normal tables. To better use a partitioned table, let's take a look at the execution
Physical plan generation process
The optimized logical execution plan is logtophytranslationvisitor processed to generate a physical execution plan.
This is a classic Vistor design pattern application scenario.
Where the Logtophytranslationvisitor visit () is the entry method, through Dependencyorderwalker traversal handles each logicalrelationaloperator in
Label:Oracle-based application system many performance problems are caused by poor application SQL performance, so, SQL performance optimization is very important, analysis and optimization of SQL performance we generally look at the SQL implementation plan, this article on how to understand the implementation plan, And how to optimize SQL by analyzing the execution pla
Inaccurate MySQL execution plan-Overview, mysql execution plan
The execution plan for the Mao MySQL optimizer is often inaccurate, but not optimal (cpu + io )???
Too many factors ::
The information of information_schema is regularly refreshed. In many cases, it is not the most authentic, or even the difference is very large (when it is not a mountain peak, make
There are many ways to view execution plans. I will introduce them one by one in my blog in the future. This article describes the first method. You can use the explain plan command to view the execution plan.1. log on to the database with an hr user[Oracle @ ENMOEDU ~] $ Sqlplus hr/oracle @ ENMOEDUSQL * Plus: Release 11.2.0.3.0 Production on Thu Apr 10 00:11:00 2014Copyright (c) 1982,201 1, Oracle. All rig
Sqlserver cache plan-Clear the cache plan that is only used once, And Cache
The plan cache is very large and will only be cleared once using the cache plan, instead of the entire cache. declare @ sid varbinary (64) declare cur01 cursor forselect plan_handle from (SELECT plan_handle FROM sys. dm_exec_cached_plans AS cp
Framework Plan essay I. Background and vision, Framework Plan essay vision
It has been 11 years since I registered my blog. In fact, I forgot how I registered my blog. Afterwards, I never remembered writing my own blog.
Recently, I am working on my own architecture plans, and I am gradually guiding the back-up for coding, and I plan to write my own. net-based ORM
Explanation of MySQL execution plan, mysql execution planExplain syntax
Explain select ...... Variant: 1. explain extended select ...... Decompile the execution plan into a SELECT statement and run show warnings to obtain the query statement optimized by the MySQL optimizer. 2. explain partitions select ...... Used to EXPLAIN the Partition Table
Information contained in the execution
View the Oracle Execution Plan and the oracle execution plan1. PL/SQL explain Plan window
Advantages:
Disadvantage: limited information2. explain_plan
It is easier to optimize a sentence.3. sqlplus
Run the following command in Sqlplus:
Set autotrace on
Select * from emp;
After the data is displayed, follow the execution plan:
The advantage of this s
,Let's build this one. Index: CREATE index idx_col2_col3 on Teststatistics(col2,col3)Executes a query that is estimated to be 4127.86 rowsThen drop the index above and continue creating an index: Create index idx_col3_col2 on Teststatistics(col3,col2)Note that the order of COL2 and COL3 is inconsistentContinue execution of the above query (the query condition is unchanged, the data is unchanged, only the index column order has changed), this time is estimated to be 2414.91 row Query conditions,
To add, if you want to do a SQL automatic audit tool, where can I start?1, through the Sql*plus tool in the explain PLAN for judgment, the use of Dbms_xplan. Display displays.2, through the Sql*plus tool in the SET autotrace command display3, Sql_trace, in the database global (performance problem, is basically a waste of options), or to the current session definition Sql_trace, or use Dbms_system. Set_sql_trace_in_session gets the sql_trace of the oth
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.