Home
Search results “Trace table oracle”
Oracle SQL_TRACE - Beginner
 
11:31
Oracle SQL_TRACE - Beginner
Views: 22385 Chris Ostrowski
Oracle  AUTOTRACE Fundamentals to Analyze & Tune SQL
 
20:43
This Tutorial will explain fundamentals of Oracle AUTOTRACE. Set up & Use AUTOTRACE. Review PLAN & Statistics generated by AUTOTRACE. Understanding Statistics details.
Views: 23611 Anindya Das
ORACLE TKPROF fundamentals Part 1 -  Introduction to SQL Tracing & TKPROF
 
11:44
Link for ORACLE TKPROF fundamentals Part-2 (Interpret TKPROF Report) https://www.youtube.com/watch?v=OiVu6vFq28w ORACLE TKPROF fundamentals For SQL TUNING Part-1 covers 1. Introduction to SQL Tracing. 2. Set up SQL_Trace &TKPROF. 3. Generate TKPROF Report. ---------------------------------------------------------------------------------------------------------------------- ORACLE TKPROF fundamentals For TUNING SQL Part-2 covers  1. Interpreting TKPROF Report.
Views: 32629 Anindya Das
Debugging Oracle PL/SQL code with ORACLE SQL DEVELOPER tool
 
15:04
Want to know how to debug procedures on Oracle sql developer 3.0? Well the you are at the correct place, we have worked out this simple tutorial to help you guys use this cool feature of debugging on Oracle sql developer tool. You can debug your procedures, functions, packages easly with the steps mentioned in the video.
Views: 8621 Kishan Mashru
How to Monitor Session in SQL Developer | Oracle SQL Developer Tips and Tricks
 
04:10
How to Monitor Session in Oracle SQL Developer | Oracle SQL Developer Tips and Tricks Oracle SQL Tutorial for Beginners, Oracle Database Tutorial for Beginners, Oracle SQL Developer Tips and Tricks, Oracle Tutorial for Beginners, Oracle Tutorial How to Monitor Session in SQL Developer, How to Monitor Session Using SQL Developer, How to Monitor Session in Oracle SQL Developer, How to Monitor Session Using Oracle SQL Developer, how to check number of connections in oracle, how to check active sessions in oracle, oracle sql developer real time sql monitoring, how to check active session in oracle 11g, sql developer monitor sessions table or view does not exist oracle monitor sql statements how to check query performance in oracle sql developer
Views: 1148 Oracle PL/SQL World
SQL: SQL Tracing  Part-1
 
04:33
In this tutorial, you'll learn how to create a tracing file..
Views: 10701 radhikaravikumar
AskTOM TV - SQL trace, SQL plus, SQL developer
 
05:12
A video to help you understand the "thought process" behind answering AskTom questions. In this episode, we look at how we can use SQL trace to diagnose what autotrace privileges we need in SQL Developer blog: https://connor-mcdonald.com ========================================­­­­============== Copyright © 2017 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: 1483 Connor McDonald
Detect performance issues using PL/SQL Profiler
 
06:05
https://www.quest.com/products/toad-for-oracle/ As more companies move their database change management to automated processes like CI in order to shorten their release cycles, it’s important to be able to identify code performance issues fast. Toad PL/SQL Profiler enables developers to quickly pinpoint which lines of code are causing a bottleneck in order that the correct resolution is applied.
Views: 11020 Quest
Trace session details with USER process and SERVER process ID
 
13:43
Oracle database user session tracing.
Views: 8136 OrSkl Academy
Tracing Oracle SQL Performance
 
27:47
Tracing Oracle SQL statement performance
Views: 76 Tommy Tang
performance tuning
 
18:59
Tracing: Transaction ST12 = Combination of two transactions . SAT (ABAP Trace) , ST05 = SQL Trace SQL Trace: To monitor the database access of reports and transactions. Less common traces : Enqueue Trace: (the locking system),RFC Trace, Table buffer trace: Performance Improvements ABAP Coding: Keep an eye on those loops. Select statements in loops = absolutely avoid = use for all entries instead Function call, or performs in loops = re - visit and see if you can optimize The "READ TABLE" statement Sorted table- Binary search .. Or even better use "Index" on internal tables. Use mass operations on internal table = internal table copy one to another, Append lines of int_fligh1 to int_fligh2. Use field symbols to modify internal table in a loop (minor improvement ) A little trick if you call performs in a loop:: Use static variables Avoid sleep, wait etc commands.. Or synchronous RFC calls 2)Database bottleneck Use Indexes : Make sure Indexes are being used in your select statement (check with trace if needed) Extreme case , create new index (this has the disadvantage of making the insert slower) Select -- End select loop : Usually database optimiser will fix it, still avoid it Select * into corresponding fields = about a millisecond slower Make clever use of inner joins Use views Use (max,min, avg): example : Select max( flightnum ) from flight . GET RUN TIME command Reduce I/O first, then memory, then CPU activity.Field-groups can be useful for multi-level sorting and displaying. However, they write their data to the system's paging space, rather than to memory (internal tables use memory)
Views: 17712 Sourabh Bora
ORACLE DML ERROR LOGS/ DBMS_ERRLOG / شرح عربي
 
07:35
ORACLE DML ERROR LOGS/ DBMS_ERRLOG / شرح عربي ------- select employee_id , first_name||' '||last_name name from employees create table emp_c ( employee_id number, ename varchar2(15) ); insert into emp_c select employee_id , first_name||' '||last_name name from employees ---the solution exec dbms_errlog.create_error_log('emp_c'); desc err$_emp_c insert into emp_c select employee_id , first_name||' '||last_name name from hr.employees log errors reject limit unlimited; select * from err$_emp_c
Views: 806 khaled alkhudari
Oracle Midlands #13: All About Table Locks - Franck Pachot
 
54:41
Timestamps: 0:45 - Basics 5:03 - TX lock demo 9:30 - TM lock info 21:04 - Foreign key index demo 28:48 - 10g, 11g, 12c locking differences 41:50 - New online operations in 12c 46:26 - Event 10704 trace 50:34 - Deadlock demo 53:42 - Q&A Franck discusses different types of locking scenarios to consider with your systems. The slides are available at: Google: https://drive.google.com/folderview?id=0B0DLaAfeW6uKZmJ3TXE0WGtLYlE Dropbox: https://www.dropbox.com/sh/9koxoemak8ts7j6/AADozVVYLoK_FdDZbQGC6TYta This event was sponsored by Red Stack Technology (http://redstacktechnology.com/). See more events at http://OracleMidlands.com/ Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for fair use for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use. "Fair Dealing" under UK Copyright, Designs and Patents Act 1988.
Views: 835 Oracle Midlands
Oracle X$TRACE, Wait Event Internals and Background Process Communication
 
01:48:41
In this session we will look into some internals of Oracle background process communication and also some special types of wait events that most people aren’t aware of. We will use some exotic tracing for internals research and fun and some of this stuff is actually useful in real life too! I’m not going to reveal everything upfront, as this is a secret internals hacking session after all ;-) We will use various techniques to research what the “reliable message” wait event is about and how reliable background process communication is orchestrated in Oracle. This is a hacking session, not formal structured training, so I’ll just do free form demos and talk (probably no slides, just hacking stuff on the command line). Also, check out my full-week Advanced Oracle Troubleshooting online training at https://blog.tanelpoder.com/seminar
Views: 3529 Tanel Poder
Oracle - Locking - Beginner
 
06:40
Oracle - Locking - Beginner
Views: 8693 Chris Ostrowski
Auditing in Oracle 11g
 
10:43
Auditing in Oracle database will help you to what a user doing??
Views: 5474 Athar Fahad
How to Recover or Recreate Controlfile without Backup ?
 
12:08
Hi guys in my today videos i will explain how to recover to controlfile without any backup. #RecreateControlfile #withoutBackup Oracle database Unbeatable,Unbreakable Platform..
Views: 11326 Oracle World
HOW TO TRACE AND VISUALIZE THE OBJECTS USAGE OF YOUR ORACLE FORMS MODULE
 
03:26
Trace & visualize the objects usage of your Oracle Forms Module - with PITSS.CON Module Summary ▼▼▼▼▼▼▼▼▼▼ MORE DETAILS BELOW ▼▼▼▼▼▼▼▼▼▼▼ Learn and understand the dependencies within your forms module. In this video you will learn how you can find out where different form objects are used in one form module and how to... ►Use module summary to analyze where form objects are used in the source code ►Visualize the table/view-usage in a graph ►Visualize the complete forms flow - from the top level triggers down to the database -------------------------------LEARN MORE ABOUT APPLICATION ANALYSIS ------------------------------- PITSS US/CANADA/UK: ►Information about Application Analysis: https://pitss.com/products/pitss-con-overview/application-analysis/ PITSS D/A/CH: ►Informationen über Application Analysis https://pitss.com/de/pitsscon-application-analysis/ ------------------------------------------------ HOW TO FIND US ---------------------------------------------- PITSS US/Canada/UK: https://pitss.com/ PITSS D/A/CH: https://pitss.com/de/ -------------------------------------------- CONNECT & STAY UP TO DATE --------------------------------------- Subscribe on Youtube: https://www.youtube.com/user/pitssam Twitter: https://twitter.com/PITSS_GmbH Google+: https://plus.google.com/116912679338809155946/posts LinkedIn US: https://www.linkedin.com/company/pitss-america-llc LinkedIn De: https://www.linkedin.com/company/pitss-gmbh
Views: 204 PITSS
Oracle Database - Wait Event - Sequential Read Vs Scattered Read
 
06:26
In this video you will learn about what is Sequential read and how is it different from Scattered read in an Oracle Database. The entire course can be purchased at https://www.udemy.com/oracle-database-troubleshooting-and-tuning Use Coupon Code - YOUTUBETT Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 2446 Ramkumar Swaminathan
Query Tuning 101 How to Run Autotrace in SQL Developer
 
02:21
This video shows how to run autotrace reports using Oracle SQL Developer to analyze query performance. It also discusses the privileges you need to enable database users to run autotrace. ============================ 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: 20591 The Magic of SQL
Trace It, Log It, Format It - Part 2
 
55:04
Oracle Performance Tuning - Logging and Tracing in Oracle. This is part-2 and in this video I have explained the concept of SERVICE and its importance in the performance tuning world. I also explained the code instrumentation using DBMS_APPLICATION_INFO as a coding best practice
Views: 1742 Satish Lodam
How to Debug Oracle Procedure | Package step by step with Toad For Oracle
 
09:05
In this Video I show you the simple and efficient way to Debugging your PL/SQL Procedure | Package with Toad For Oracle.
Views: 11544 Oracle PL/SQL World
Connection Pool with an Oracle Database - DBArch  Video 19
 
08:06
In this video you will learn the concept of a Connection pool an application uses with a Database. You will learn the need for connection pool and how it helps in optimizing resource utilzation on the Database Server. You will learn that Logon and Logoff are the most resource intensive tasks in a database, and hence both tasks should be avoided during normal operations of the application and database. Our Upcoming Online Course Schedule is available in the url below https://docs.google.com/spreadsheets/d/1qKpKf32Zn_SSvbeDblv2UCjvtHIS1ad2_VXHh2m08yY/edit#gid=0 Reach us at [email protected]
Views: 11096 Ramkumar Swaminathan
Audit table changes in sql server
 
06:45
sql server 2008 ddl trigger audit sql server table changes tracking In this video we will discuss, how to audit table changes in SQL Server using a DDL trigger. Table to store the audit data Create table TableChanges ( DatabaseName nvarchar(250), TableName nvarchar(250), EventType nvarchar(250), LoginName nvarchar(250), SQLCommand nvarchar(2500), AuditDateTime datetime ) Go The following trigger audits all table changes in all databases on a SQL Server. CREATE TRIGGER tr_AuditTableChanges ON ALL SERVER FOR CREATE_TABLE, ALTER_TABLE, DROP_TABLE AS BEGIN DECLARE @EventData XML SELECT @EventData = EVENTDATA() INSERT INTO SampleDB.dbo.TableChanges (DatabaseName, TableName, EventType, LoginName, SQLCommand, AuditDateTime) VALUES ( @EventData.value('(/EVENT_INSTANCE/DatabaseName)[1]', 'varchar(250)'), @EventData.value('(/EVENT_INSTANCE/ObjectName)[1]', 'varchar(250)'), @EventData.value('(/EVENT_INSTANCE/EventType)[1]', 'nvarchar(250)'), @EventData.value('(/EVENT_INSTANCE/LoginName)[1]', 'varchar(250)'), @EventData.value('(/EVENT_INSTANCE/TSQLCommand)[1]', 'nvarchar(2500)'), GetDate() ) END In the above example we are using EventData() function which returns event data in XML format. Text version of the video http://csharp-video-tutorials.blogspot.com/2015/09/audit-table-changes-in-sql-server.html Slides http://csharp-video-tutorials.blogspot.com/2015/09/audit-table-changes-in-sql-server_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 Full SQL Server Course https://www.youtube.com/playlist?list=PL4cyC4G0M1RQ_Rm52cQ4CcOJ_T_HXeMB4 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
Views: 44624 kudvenkat
Query Tuning with tkprof
 
14:57
Demonstration of generating Oracle trace files and then turning these into tuning reports with the tkprof utility.
Views: 55553 Stephen Frein
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: 14639 SkillBuilders
Working with the Trace File Analyzer Collector
 
28:22
The Trace File Analyzer (TFA) Collector Tool is a utility for collecting first failure diagnostics when creating Service Requests with Oracle Support. Using TFA Collector to make diagnostic collections removes questions about what files to collect and upload. TFA knows about all the well known Oracle and operating system diagnostic locations and collects only files that have been modified proximate to problem time specified from any of those well known locations. Larger files are also pruned proximate to problem time specified to reduce the size of the upload. If the system is a clustered environment TFA collects relevant diagnostics from the remote nodes as well. All of this can be accomplished with one simple command. Key features of TFA Collector include: RAC and single instance non-RAC support Time-based collection of relevant files OS Clusterware ASM DB OSW and CHMOS etc Large file pruning Cluster-wide time-relevant collections Analytics for key files DB alert logs Clusterware alert logs ASM alert logs system messages OSWatcher top and slabinfo data Flexible command-line interface Copyright © 2014 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. 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 of merchantability, fitness for a particular purpose, and non-infringement.
What exactly is PLAN TABLE in Oracle Database #Performance #Tuning
 
16:00
Running an EXPLAIN PLAN to generate EXECUTION PLAN in oracle database is possible with PLAN_TABLE. But this video will give you much more insights of what is this PLAN_TABLE. Learn how is PLAN_TABLE called as global temporary table. Need Oracle database training? WhatsApp to +919951696808 visit www.orskl.com/training
Views: 3228 OrSkl Academy
Tracing Parallel Execution
 
08:54
This video shows how to trace parallel executions. Copyright © 2012 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. 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 of merchantability, fitness for a particular purpose, and non-infringement.
Top Nine Coding Guidelines for Oracle PL/SQL
 
08:00
My take, as of November 2015, of some of the most helpful guidelines to follow when writing PL/SQL code: 1. MAXSQL - maximize use of SQL first and foremost 2. SPOD - single point of definition 3. TRACE - production-available application-level tracing 4. LOG - consistent, encapsulated error logging 5. BULK - avoid row by row 6. OBVIOUS - make your code tell its own story, comment when it can't 7. NESTPROG - use nested subprograms 8. DECLARE - use declarative features of language 9. WARN - use compile-time warnings Accompanying blog post: http://stevenfeuersteinonplsql.blogspot.com/2015/10/your-ideas-for-more-important-plsql.html ======================================== Practically Perfect PL/SQL with Steven Feuerstein 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. ======================================== Practically Perfect PL/SQL with Steven Feuerstein 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.
Trace It, Log It, Format It - Part 3
 
01:06:47
This part 3 of 4 from - Oracle Performance Tuning - Logging and Tracing in Oracle. In part 3, I have explained the TRCSESS utility for consolidating scattered Oracle trace files and how to read a RAW trace file.
Views: 1253 Satish Lodam
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: 102296 radhikaravikumar
ORACLE TKPROF fundamentals Part 2 - Interpret TKPROF Report
 
29:03
ORACLE TKPROF fundamentals Part 2 video will cover interpretation of TKPROF Report. Video Part 1 will be in this url -- http://www.youtube.com/watch?v=8CQO2mEJg0s Part 1 will cover 1. Introduction to SQL Tracing.,2. Set up SQL_Trace &TKPROF, 3 Generate TKPROF Report.
Views: 20864 Anindya Das
Why is my Oracle Database Slow? The SQL Developer Performance Dashboard
 
11:00
Oracle SQL Developer's product manager, Jeff Smith, takes you through the Instance Viewer: a performance dashboard for your Oracle Database. See expensive queries, wait event break downs, and more!
Views: 2239 Jeff Smith
Real Time SQL Monitorin Demo in Oracle SQL Developer
 
03:42
See how to watch a query execute in real time using this Oracle Database Tuning Pack feature in Oracle SQL Developer.
Views: 28042 Jeff Smith
oracle world - Row Level Lock in Oracle database
 
14:21
Hello friends in this video we learn how the lock occur in database automatically when multiple user modified the same transaction in their session. #RowLevelLock Oracle database Unbeatable,Unbreakable Platform..
Views: 7670 Oracle World
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: 9018 itversity
Can a data block accommodate rows of distinct tables?
 
09:25
With a case study let us find the answer if Oracle Database BLOCK can accommodate rows from multiple tables. Really very important when dealing with tuning an Oracle database at storage level. Need Oracle DBA training? Then visit www.orskl.com or whatsapp +919951696808 FInd more interesting blogs at www.orskl.com/blog
Views: 895 OrSkl Academy
How to Track and Trace Events in Oracle Transportation Management Cloud (OTM)
 
07:08
This video demonstrates How to Track and Trace Events in Oracle Transportation Management (OTM). Enroll for our complete trainings at: www.apps2fusion.com/packages Also, visit us at : http://apps2fusion.com/ Contact us at: [email protected] or +44-207-193-5456 | +1-650-318-5241
Views: 1137 apps2fusion
Oracle Blockchain  Platform for Food Safety with Supply Chain Tracking
 
19:30
Supply chain networks can involve hundreds of goods, multiple locations, parts for manufacturing, food ingredients, invoices and payments, plus many trading partners or entities. Because supply chains can be complex, blockchain technology can help track goods and services. In this demo, the digital ledger established with the Oracle Blockchain Platform can help trading partners establish food safety by tracking goods from origin to destination. For more information visit www.oracle.com/blockchain
Views: 709 Oracle Blockchain
Oracle Database Users / User Management (Simple)
 
09:33
Create, Alter, Drop, Grant Rights, Default Tablespace, Temporary Tablespace, Quota Setup, View Users Information, Lock / Unlock user account select username,account_status,default_tablespace, temporary_tablespace,created from dba_users; create user myuser identified by myuser; alter user myuser quota unlimited on mytbs; alter user myuser quota 100m on mytbs; alter user temporary tablespace temp; alter user myuser default tablespace mytbs; alter user myuser accout unlock; alter user myuser account lock; alter user myuser password expire; alter user myuser identified by youuser; create user myuser identified by myuser default tablespace users temporary tablespace temp quota unlimited on users; grant create session, resource to myuser; grant create session, resource to myuser with grant option; drop user asif; drop user asif cascade;
Views: 42188 Abbasi Asif
oracle telugu classic full hd HARSHA TABLE CREATE INSERT
 
13:28
thanks to watching my videos please subscribe my channel
Trace Your Code - All of It | Cary Millsap
 
02:38
Oracle ACE Director Cary Millsap, founder and CEO of Method R Corporation and a software performance specialist with Enkitect, wastes no time in delivering his concise tip based on his three-step development process. Cary is presenting two sessions at ODTUG Kscope 2015: * Lessons Learned Version 2015.06 Jun 24, 2015, Session 14, 1:45 pm - 2:45 pm http://kscope15.com/presenters/presenterlist?last_id=112 * Developer's Toolkit and The Database THURSDAY DEEP DIVE How to Find and Fix Your (APEX, Java, .NET, OBIEE, etc.) Application Performance Problem Jun 25, 2014, 9:00 am - 11:00 am http://kscope15.com/content/10-main/312-thursday-deep-dives#Dev Visit the Method R Corporation homepage: http://method-r.com/
Views: 707 ArchBeat Archive
How To Configure Oracle on XAMPP for Windows - OCI8
 
16:24
With the default installation of XAMPP for Windows, we don’t get PHP Oracle connectivity enabled. This can be enabled easily. PHP has got the OCI8 extension, which provides Oracle connectivity to PHP application, and OCI8 uses Oracle Instant Client Package to get Oracle specific functions. Download the “Instant Client Package – Basic” for Windows from the OTN Instant Client page. URL: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html Download the actual Thread Safe OCI-DLLs from: http://pecl.php.net/package/oci8/2.0.8/windows
Views: 41619 Sahil Bhutna
Debugging sql server stored procedures
 
15:11
debugging in ssms debugging t-sql code t sql debug stored procedure sql server management studio debug stored procedure how to debug t sql debug in sql server management studio In this video we will discuss how to debug stored procedures in SQL Server. Setting up the Debugger in SSMS : If you have connected to SQL Server using (local) or . (period), and when you start the debugger you will get the following error Unable to start T-SQL Debugging. Could not connect to computer. To fix this error, use the computer name to connect to the SQL Server instead of using (local) or . For the examples in this video we will be using the following stored procedure. Create procedure spPrintEvenNumbers @Target int as Begin Declare @StartNumber int Set @StartNumber = 1 while(@StartNumber [ @Target) Begin If(@StartNumber%2 = 0) Begin Print @StartNumber End Set @StartNumber = @StartNumber + 1 End Print 'Finished printing even numbers till ' + RTRIM(@Target) End Connect to SQL Server using your computer name, and then execute the above code to create the stored procedure. At this point, open a New Query window. Copy and paste the following T-SQL code to execute the stored procedure. DECLARE @TargetNumber INT SET @TargetNumber = 10 EXECUTE spPrintEvenNumbers @TargetNumber Print 'Done' Starting the Debugger in SSMS : There are 2 ways to start the debugger 1. In SSMS, click on the Debug Menu and select Start Debugging 2. Use the keyboard shortcut ALT + F5 At this point you should have the debugger running. The line that is about to be executed is marked with an yellow arrow Step Over, Step into and Step Out in SSMS : You can find the keyboard shortcuts in the Debug menu in SSMS. Let us understand what Step Over, Step into and Step Out does when debugging the following piece of code 1. There is no difference when you STEP INTO (F11) or STEP OVER (F10) the code on LINE 2 2. On LINE 3, we are calling a Stored Procedure. On this statement if we press F10 (STEP OVER), it won't give us the opportunity to debug the stored procedure code. To be able to debug the stored procedure code you will have to STEP INTO it by pressing F11. 3. If the debugger is in the stored procedure, and you don't want to debug line by line with in that stored procedure, you can STEP OUT of it by pressing SHIFT + F11. When you do this, the debugger completes the execution of the stored procedure and waits on the next line in the main query, i.e on LINE 4 in this example. To stop debugging : There are 2 ways to stop debugging 1. In SSMS, click on the Debug Menu and select Stop Debugging 2. Use the keyboard shortcut SHIFT + F5 Show Next Statement shows the next statement that the debugger is about to execute. Run to Cursor command executes all the statements in a batch up to the current cursor position Locals Window in SSMS : Displays the current values of variables and parameters If you cannot see the locals window or if you have closed it and if you want to open it, you can do so using the following menu option. Locals window is only available if you are in DEBUG mode. Watch Window in SSMS : Just like Locals window, Watch window is used to watch the values of variables. You can add and remove variables from the watch window. To add a variable to the Watch Window, right click on the variable and select "Add Watch" option from the context menu. Call Stack Window in SSMS : Allows you to navigate up and down the call stack to see what values your application is storing at different levels. It's an invaluable tool for determining why your code is doing what it's doing. Immediate Window in SSMS : Very helpful during debugging to evaluate expressions, and print variable values. To clear immediate window type ]cls and press enter. Breakpoints in SSMS : There are 2 ways to set a breakpoint in SSMS. 1. By clicking on the grey margin on the left hand side in SSMS (to remove click again) 2. By pressing F9 (to remove press F9 again) Enable, Disable or Delete all breakpoints : There are 2 ways to Enable, Disable or Delete all breakpoints 1. From the Debug menu 2. From the Breakpoints window. To view Breakpoints window select Debug =] Windows =] Breakpoints or use the keyboard shortcut ALT + CTRL + B Conditional Breakpoint : Conditional Breakpoints are hit only when the specified condition is met. These are extremely useful when you have some kind of a loop and you want to break, only when the loop variable has a specific value (For example loop varible = 100). How to set a conditional break point in SSMS : 1. Right click on the Breakpoint and select Condition from the context menu 2. In the Breakpoint window specify the condition Text version of the video http://csharp-video-tutorials.blogspot.com/2015/09/debugging-sql-server-stored-procedures.html Slides http://csharp-video-tutorials.blogspot.com/2015/09/debugging-sql-server-stored-procedures_28.html
Views: 117328 kudvenkat
Troubleshooting a Complex Oracle Performance Issue
 
01:28:00
In this session Tanel will walk you through troubleshooting a yet another complex performance issue that he has faced in past. Again, the initial symptoms point to a different direction than the actual root cause, so a systematic approach was needed.
Views: 4414 Tanel Poder
Why are Kernel parameters critical for Oracle Database
 
16:53
Learn more about Kernel parameters with a case study. It's awesome to see how SHMMAX parameter effects a process on UNIX. Liked it? Subscribe to our channel now !!! Look at the complete blog at www.orskl.com Need training on Oracle DBA? WhatsApp to +919951696808 Training content is at www.orskl.com
Views: 5362 OrSkl Academy
oracle tutorial for beginners in hindi | export and import in oracle 11g with examples
 
19:02
In this video you can learn how to take backup with new users . you need to provide the authentication to new user through sys user . by using grant you can provide the access . you need to provide access on directory also using expdp directory = name dumpfile =name logfile =name schemas =user name full=y tables=user name.table name
Views: 1530 Bharat Arya
Ways of generating EXECUTION PLAN in Oracle Database
 
12:15
Learn how to generate execution plan in oracle database in many ways
Views: 3756 OrSkl Academy