Home
Search results “Oracle query plan”
Oracle Performance Tuning - Read and interpret Explain Plan
 
17:43
Connect with me or follow me at https://www.linkedin.com/in/durga0gadiraju https://www.facebook.com/itversity https://github.com/dgadiraju https://www.youtube.com/c/TechnologyMentor https://twitter.com/itversity
Views: 33935 itversity
Oracle SQL Tuning - How to Read Execution Plans (Explain Plan)
 
13:39
In this free tutorial you will learn how to generate and read (interpret) an execution plan in Oracle Databases. See more FREE Oracle Tuning tutorials at http://skillbuilders.com/free-oracle-tutorials. Understanding what the Oracle Database does with your SQL is essential to tuning - and the execution plan is the key. Oracle Certified Master DBA John Watson will provide a brief introduction (4 minutes) - which includes John's tuning methodology, then demonstrate EXPLAIN PLAN, SQL*Plus AUTOTRACE and DBMS_XPLAN.DISPLAY_CURSOR. In the tutorial, John will teach you: - How to read an execution plan - Find the 1st step in the plan - Decipher the order of the steps in the plan - That EXPLAIN PLAN can be very misleading Prerequisites: To get the most from this tutorial, you should: 1 Know how to code SQL 2 Be familiar with SQL*Plus 3 Know - in very general terms - what an execution plan is. 4 Have a basic understanding of the Library Cache (this is where Oracle Database stores parsed SQL statements) 5 Have a basic understanding of the Cost Based Optimizer (this is the part of the database that parses your SQL, creates an execution plan. Hopefully the correct - most efficient - plan).
Views: 60750 SkillBuilders
Interpreting Oracle Explain Plan Output - John Mullins
 
01:00:16
Themis Instructor John Mullins presents some details on interpreting Oracle Database Explain Plan output. For more information visit http://www.themisinc.com
Views: 42142 Themis Education
ORACLE EXPLAIN PLAN FUNDAMENTALS
 
36:14
This Tutorial will explain basics of Oracle 11g EXPLAIN Plan by using this ppt & some hands-on in Oracle 11g R2 Database.This tutorial will include below topics. Understanding EXPLAIN plan. Set up & Use EXPLAIN Plan. Explain PLAN_TABLE & related scripts & DBMS_XPLAN.DISPLAY. Generate & View EXPLAIN Plan. Read & Interpret basics of EXPLAIN Plan. EXPLAIN PLAN limitations.
Views: 156441 Anindya Das
SQL: Explain Plan for knowing the Query performance
 
05:17
In this tutorial, you'll learn how to compare queries to know the better performance query..
Views: 89721 radhikaravikumar
Oracle Explain Plan basics
 
11:50
This video gives basic understanding of Oracle Explain plan and will help to understand execution plan terminology.
Views: 11706 amit wadbude
Oracle tutorial : Using execution plan to optimize query in oracle
 
12:54
Oracle tutorial: Explain plan for query optimization in Oracle PLSQL oracle tutorial for beginners using execution plan to optimize query sql query analyzer sql query cost analysis https://techquerypond.wordpress.com This oracle tutorial show you how to use EXPLAIN PLAN in oracle. This video covers how to check cost of the query from DBMS_XPLAN.DISPLAY . You can find the cost of the query using the Using EXPLAIN PLAN FOR and based on the result you can optimize the query for faster performance. Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://twitter.com/techquerypond
Views: 7154 Tech Query Pond
Explaining the Explain Plan: Interpreting Execution Plans for SQL Statements
 
01:04:02
Presenter: Maria Colgan, Oracle Corporation The execution plan for a SQL statement can often seem complicated and hard to understand. Determining if the execution plan you are looking at is the best plan you could get or attempting to improve a poorly performing execution plan can be a daunting task, even for the most experienced DBA or developer. This session examines the different aspects of an execution plan, from selectivity to parallel execution, and explains what information you should be gleaming from the plan and how it affects the execution. It offers insight into what caused the Optimizer to make the decision it did as well as a set of corrective measures that can be used to improve each aspect of the plan.
Views: 2464 ODTUG
Plan d'exécution Oracle
 
06:37
http://oraclexperts.ca L'interprétation de plusieurs plans d'exécution avec Oracle 11g 10G, optimiser vos bases de données Oracle, vidéo de formation Oracle sur l'optimisation
Views: 6468 oracleexpert
22 Basic Execution Plans
 
29:46
SQL Server 2012 Administration Essentials SQL Server 2014
Sql server query plan cache
 
14:20
Text version of the video http://csharp-video-tutorials.blogspot.com/2017/04/sql-server-query-plan-cache.html Slides http://csharp-video-tutorials.blogspot.com/2017/04/sql-server-query-plan-cache_12.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All SQL Server Tutorial Videos https://www.youtube.com/playlist?list=PL08903FB7ACA1C2FB All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists In this video we will discuss 1. What happens when a query is issued to SQL Server 2. How to check what is in SQL Server plan cache 3. Things to consider to promote query plan reusability What happens when a query is issued to SQL Server In SQl Server, every query requires a query plan before it is executed. When you run a query the first time, the query gets compiled and a query plan is generated. This query plan is then saved in sql server query plan cache. Next time when we run the same query, the cached query plan is reused. This means sql server does not have to create the plan again for that same query. So reusing a query plan can increase the performance. How long the query plan stays in the plan cache depends on how often the plan is reused besides other factors. The more often the plan is reused the longer it stays in the plan cache. How to check what is in SQL Server plan cache SELECT cp.usecounts, cp.cacheobjtype, cp.objtype, st.text, qp.query_plan FROM sys.dm_exec_cached_plans AS cp CROSS APPLY sys.dm_exec_sql_text(plan_handle) AS st CROSS APPLY sys.dm_exec_query_plan(plan_handle) AS qp ORDER BY cp.usecounts DESC As you can see we have sorted the result set by usecounts column in descending order, so we can see the most frequently reused query plans on the top. usecounts - Number of times the plan is reused objtype - Specifies the type of object text - Text of the SQL query query_plan - Query execution plan in XML format To remove all elements from the plan cache use the following command DBCC FREEPROCCACHE In older versions of SQL Server up to SQL Server 6.5 only stored procedure plans are cached. The query plans for Adhoc sql statements or dynamic sql statements are not cached, so they get compiled every time. With SQL Server 7, and later versions the query plans for Adhoc sql statements and dynamic sql statements are also cached. Things to consider to promote query plan reusability For example, when we execute the following query the first time. The query is compiled, a plan is created and put in the cache. Select * From Employees Where FirstName = 'Mark' When we execute the same query again, it looks up the plan cache, and if a plan is available, it reuses the existing plan instead of creating the plan again which can improve the performance of the query. However, one important thing to keep in mind is that, the cache lookup is by a hash value computed from the query text. If the query text changes even slightly, sql server will not be able to reuse the existing plan. For example, even if you include an extra space somewhere in the query or you change the case, the query text hash will not match, and sql server will not be able find the plan in cache and ends up compiling the query again and creating a new plan. Another example : If you want the same query to find an employee whose FirstName is Steve instead of Mark. You would issue the following query Select * From Employees Where FirstName = 'Steve' Even in this case, since the query text has changed the hash will not match, and sql server will not be able find the plan in cache and ends up compiling the query again and creating a new plan. This is why, it is very important to use parameterised queries for sql server to be able to reuse cached query plans. With parameterised queries, sql server will not treat parameter values as part of the query text. So when you change the parameters values, sql server can still reuse the cached query plan. The following query uses parameters. So even if you change parameter values, the same query plan is reused. Declare @FirstName nvarchar(50) Set @FirstName = 'Steve' Execute sp_executesql N'Select * from Employees where [email protected]', N'@FN nvarchar(50)', @FirstName One important thing to keep in mind is that, when you have dynamic sql in a stored procedure, the query plan for the stored procedure does not include the dynamic SQL. The block of dynamic SQL has a query plan of its own. Summary: Never ever concatenate user input values with strings to build dynamic sql statements. Always use parameterised queries which not only promotes cached query plans reuse but also prevent sql injection attacks.
Views: 19615 kudvenkat
Obtaining Execution Plan in Oracle
 
05:11
Obtaining Execution Plan in Oracle with demostration.
Views: 350 Expert-Oracle.com
Query Tuning 101: How to Compare Execution Plans
 
04:12
When you're tuning SQL query there's two important questions to keep in mind: * Have my changes made any difference? * If they have, is performance better or worse? In this video we'll look at how you can use SQL Developer to compare execution plans. This will enable you to differences between them and determine which plan performs better. ============================ The Magic of SQL with Chris Saxon Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Views: 13343 The Magic of SQL
Using DBMS_XPLAN.DISPLAY_CURSOR to examine execution plans
 
12:33
In this video I describe how you can use Oracle's DBMS_XPLAN.DISPLAY_CURSOR to examine the execution plan for a SQL statement that has recently been executed and determine if that plan is optimal or not and where you might be able to optimize it.
Views: 5213 Maria Colgan
Access vs. Filter in SQL Execution Plans | Chris Saxon
 
02:37
Chris Saxon, an SQL Developer Advocate with Oracle, takes to his kitchen to explain the differences between access and filter in an SQL execution plan.
Query Analysis and Optimizing in Oracle
 
37:53
Database Management Systems 11. Query Analysis and Optimizing in Oracle ADUni
Views: 81816 Chao Xu
Understanding The Execution Plan - Part 1
 
01:29:06
Topic: Understanding The Execution Plan In this video (part-1) I have explained - The basics of Oracle Execution Plan - How an Execution Plan Looks from SQL Developer, SQL*Plus - How to use Oracle Explain Plan command - Where else one can find Oracle's Execution Plan apart from PLAN_TABLE - Some Examples of Execution Plan - Using DBMS_XPLAN package to format the output while printing the Execution Plan
Views: 5514 Satish Lodam
Oracle Performance Tuning - Generate Explain Plan
 
18:05
Connect with me or follow me at https://www.linkedin.com/in/durga0gadiraju https://www.facebook.com/itversity https://github.com/dgadiraju https://www.youtube.com/c/TechnologyMentor https://twitter.com/itversity
Views: 8016 itversity
Coherence 3.7.1 - Query Explain Plan
 
07:56
An overview of the new Query Explain Plan feature included in the Oracle Coherence 3.7.1 release. Coherence 3.7.1 YouTube Playlist: http://www.youtube.com/user/OracleCoherence#grid/user/856A473B14828BF0 The Oracle Coherence Wiki: ‪http://coherence.oracle.com‬ Coherence on OTN: ‪http://www.oracle.com/technology/products/coherence/‬ The Coherence Incubator: ‪http://coherence.oracle.com/display/INCUBATOR/‬ Coherence Discussion Forums: ‪http://forums.oracle.com/forums/forum.jspa?forumID=480‬ Oracle Exalogic: http://www.oracle.com/exalogic
Views: 4338 OracleCoherence
Slow SQL Query? Get the Plan in Oracle SQL Developer!
 
15:38
See how to get execution and explain plans, format and views those plans, use AutoTrace, and Real Time SQL Monitoring for your SQL queries in Oracle SQL Developer.
Views: 1359 Jeff Smith
05 04 Reading an Execution Plan
 
04:26
ORACLE
Views: 241 oracle ocm
Execution Plan Example 2
 
03:10
Get the complete course on SQL Tuning(Regular price $199) for only $10 https://www.udemy.com/sql-tuning/?couponCode=UDEYOU
Views: 515 Oracle Training
Oracle SQL Performance Tuning  1
 
06:49
Oracle SQL Performance Tuning and tips Cost Based Optimizer (CBO) Rule Based Optimizer (RBO) SQL Explain Plan Oracle Explain Plan
Views: 6540 TechLake
Oracle Explain Plan
 
12:08
Oracle SQL Executions: Explain Plan and Execution Plan A simple introduction with a single table example
Views: 821 Hemant K Chitale
Oracle SQL Tuning - Oracle Execution Plans for Beginners
 
13:39
For More Tutorials Related To Cisco,CCNA,Microsoft,Oracle,HP,Adobe,IBM,Java And Much More Please Visit This Site http://www.geteveryvideos.com/category/certification-tutorials/
Why Did Your SQL Execution Plan Change? | Alfredo Krieg
 
02:26
Oracle ACE Alfredo Krieg offers advice on tools for improving database performance in this 2 Minute Tech Tip recorded at the 2016 Great Lakes Oracle Conference in Cleveland, OH.
Oracle Parallel Execution Plans Deep Dive
 
44:24
A presentation about understanding the essentials of Oracle Parallel Execution and how to read the corresponding execution plans
Views: 2530 Randolf Geist
Query Tuning 101: Access vs. Filter Predicates In Execution Plans
 
02:08
Have you ever wondered what the difference is between the "filter predicates" or "access predicates" steps listed in execution plans - or even what a predicate is? If so, watch this video to find out! Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Views: 4412 The Magic of SQL
Execution Plan Example 1
 
02:16
Get the complete course on SQL Tuning(Regular price $199) for only $10 https://www.udemy.com/sql-tuning/?couponCode=UDEYOU
Views: 810 Oracle Training
Calculate query performance with Explain Plan in Oracle PLSQL.
 
09:14
Explain plan is a wonderful utility in Oracle PL SQL. It helps you to understand how much cost a query takes to perform based on indexed table or table without index. In this oracle tutorial a full description is given on a table containing huge number of rows first based on index on a column and then without index.
Views: 3452 Subhroneel Ganguly
Query Tuning 101 What to Look for in Autotrace Output
 
02:58
You're up and running with autotrace, looking at the actual execution plan for a query. Now the real work begins! What is it you're actually looking for in the execution plan? This video shows what you need to investigate and how to use the HotSpot feature of SQL Developer 4.1 to highlight parts of the query you need to pay attention to. ============================ The Magic of SQL with Chris Saxon Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Views: 7251 The Magic of SQL
Oracle SQL Tuning - Explain Plan Lies?
 
08:20
Do you use EXPLAIN PLAN to tune Oracle SQL? Does it always "tell the truth", or does it "lie". (Maybe it's not the whole truth!) In this free tutorial from SkillBuilders' Oracle Certified Master John Watson, you will learn why the execution plan generated by EXPLAIN PLAN can be misleading and what to do about it. After a brief lecture, John demonstrates exactly why. You'll hear about dynamic sampling, adaptive cursor sharing (11g), adaptive execution plans (12c) and of course, bind variables. John demonstrates how bind variables cause misleading execution plans using dbms_xplan.display and dbms_xplan.display_cursor. To get the most from this tutorial, you should have some understanding of hard parse, soft parse, cardinality, histograms. See all SkillBuilders FREE Oracle Database tutorials at http://www.skillbuilders.com/free-oracle-tutorials.
Views: 3144 SkillBuilders
Introduction to Execution Plan
 
02:12
Get the complete course on SQL Tuning(Regular price $199) for only $10 https://www.udemy.com/sql-tuning/?couponCode=UDEYOU
Views: 360 Oracle Training
Oracle 12c SQL Tuning - Adaptive Execution Plans
 
10:11
Learn an Oracle Database 12c new performance feature - Adaptive SQL Plans. During execution, Oracle Database can switch the SQL to a new plan. A very powerful corrective measure! But if you don't know about it , how can you possibly tune SQL in Oracle Database 12c? Time to learn 12c!
Views: 5254 SkillBuilders
Execution Plan Example 4
 
06:34
Get the complete course on SQL Tuning(Regular price $199) for only $10 https://www.udemy.com/sql-tuning/?couponCode=UDEYOU
Views: 2104 Oracle Training
Oracle Database 12c: Adaptive Execution Plans with Tom Kyte
 
05:42
Tom Kyte introduces adaptive execution plans followed by a demo. "Adaptive Plans" in SQL Tuning Guide" http://www.oracle.com/pls/topic/lookup?ctx=db121&id=TGSQL221 "Controlling Adaptive Optimization" http://www.oracle.com/pls/topic/lookup?ctx=db121&id=TGSQL257 "Generating and Displaying SQL Execution Plans" http://www.oracle.com/pls/topic/lookup?ctx=db121&id=TGSQL271 "Keeping Your Database Secure" http://www.oracle.com/pls/topic/lookup?ctx=db121&id=DBSEG009
Views: 12903 OracleDBVision
Ways of generating EXECUTION PLAN in Oracle Database
 
12:15
Learn how to generate execution plan in oracle database in many ways
Views: 3116 OrSkl Academy
Influencing Oracle SQL Execution Plans
 
51:50
Themis instructor John Mullins discusses Oracle SQL Execution plans and how you can influence them for better SQL performance.
Views: 1674 Themis Education
Understanding SQL Trace, TKPROF and Execution Plan for Beginners
 
01:01:38
Presenter: Carlos Sierra, Oracle Corporation In this session, participants will learn about producing a SQL Trace then a summary TKPROF report. A sample TKPROF is navigated with the audience, where the trivial and the not so trivial is exposed and explained. Execution Plans are also navigated and explained, so participants can later untangle complex execution plans and start diagnosing SQL performing badly.
Views: 315 ODTUG
Oracle 11g Hints Overview
 
42:56
In this Video tutorial we will discuss about Optimizer hints in Oracle. What is optimizer hint, when & why its needed. Different Category of hints. Description of mostly used hints. Demonstrate how query plan can change with the influence of hint.
Views: 50018 Anindya Das
How to read and interpret an explain plan by Daniel Morgan (English)
 
01:08:05
Webinar done in 2010 by Oracle ACE Director Daniel Morgan regarding how to read and interpret an Oracle explain plan
Views: 15751 OracleMania
SQL Server Execution Plan Operators
 
42:07
Table scans, clustered index scans, merge joins, sorts, and more.
Views: 24877 Brent Ozar Unlimited
Oracle SQL Tuning - How to Read Execution Plan Part 1
 
03:39
Learn how to tune SQL. If you're going to tune Oracle SQL statements, you will need to learn how to read an execution plan! See all Free lessons in this tutorial at http://www.skillbuilders.com/sql-tuning-for-beginners-free-tutorial .
Views: 1719 SkillBuilders
How to auto-optimize SQL code with Toad for Oracle Xpert Edition
 
03:50
http://www.DellSoftware.com/Toad-for-Oracle This video shows how to auto-optimize SQL code with Toad for Oracle Xpert Edition from Dell Software.
Views: 6002 DellTechCenter
Oracle SQL Developer - Comparing SQL Execution Plans
 
10:36
This is a short video about a feature in SQL Developer which alllow any DBA or developer to compare different execution plans of a SQL Statement. My Blog: https://navneetupnejadba.wordpress.com/ Slideshare: https://www.slideshare.net/navneetupneja1/sql-developer-powerful-free-tool-for-developers-and-dbas
Views: 86 Navneet Upneja
Flush particular SQL Statement from Shared Pool
 
04:33
Flush Execution Plan in Oracle 11g, Flush sql_statement from shared pool in Oracle 11g,
Views: 719 Athar Fahad
How Oracle SQL Query work
 
09:22
This video will give to understanding of SQL Parsing, Syntatic check , semantic check, spool file check, Sql Optimization, row source generation and sql execution.
Views: 16394 amit wadbude
Oracle-performance-tuning-1.avi
 
08:53
How to show the execution plan for your Oracle SQL statements to help with your performance tuning activities. For more Oracle tutorials go to http://www.asktheoracle.net
Views: 39577 asktheoracle1
Four Steps to Oracle SQL Tuning  - A Methodolgy
 
02:43
Learn a predictable and repeatable methodology for tuning Oracle SQL statements. Just four steps that you should always follow when tuning an SQL statement. (Note this video does not contain examples of how to apply the four steps, just what the steps are.) Oracle Certified Master John Watson presents. John concludes with a brief overview of how SkillBuilders SQL tuning course provides the information you need to apply the four steps. Learn more about SkillBuilders SQL Tuning course http://skillbuilders.com/oracle-sql-tuning-training 1. What is Oracle doing? (explain plan, trace) 2. Why is Oracle doing it that way? (analyze the execution plan) 3. Is there a better way? Test! 4. If there's a better way, push the CBO towards the better way.
Views: 10049 SkillBuilders