SlideShare a Scribd company logo
1 of 57
www.dageop.com
Database
Fundamental
Concepts
®
FC-01: Performance Analysis
DR. SUBRAMANI
PARAMASIVAM
(MANI)
About
me
Dr. SubraMANI Paramasivam
PhD., MCT, MCSE, MCITP, MCP, MCTS, MCSA
CEO, Principal Consultant & Trainer
@ DAGEOP (UK)
Email: mani@dageop.com
Blog: http://dataap.org/blog
Follow
Us
https://www.facebook.com/pages/YOUR-SQL-MAN-LTD/
http://www.youtube.com/user/YourSQLMAN
https://twitter.com/dageop
https://uk.linkedin.com/in/dageop
Proud Sponsor
• SQLBits
• SQL Saturdays
• MCT Summit
• SQL Server Geeks
Summit
• Data Awareness
Programme
• Dageop’s Data Day
®
www.DataAP.org
SPEAKER
Contents
FC-01: Performance Analysis
• Monitoring Tools
• Exploring STATISTICS IO output
• Identifying Performance Problems with Profiler data
www.dageop.com
Fundamental Concepts
FC-01: Performance Analysis
Have you done any?
www.dageop.com
Fundamental Concepts
Performance Analysis
• How SQL Server & Database
performs during all sorts of
transactions and heavy loads?
• It is one of the important role of
a Database Administrator
www.dageop.com
Fundamental Concepts
Performance Analysis
www.dageop.com
Fundamental Concepts
HOW?
Monitoring Tools
List any tool
www.dageop.com
Fundamental Concepts
Monitoring Tools
SQL Server has bunch of tools
• SQL Trace
• SQL Server Profiler
• Distributed Replay Utility
• SQL Server Management Studio Activity Monitor
• SQL Server Management Studio Graphical Show
plan
• Stored procedures
• Database Console Commands (DBCC)
• Built-in functions
• Trace flags
• Other tools
www.dageop.com
Fundamental Concepts
SQL Trace
Have you used?
www.dageop.com
Fundamental Concepts
SQL Trace
• Information collected from instance through events.
• Store the information in File or SQL Server Management objects
(SMO).
• We can monitor the information about
• Locks (Deadlock)
• Data File Auto Grow
• Objects Altered
• Scan started
• SQL Batch Started/Completed
www.dageop.com
Fundamental Concepts
SQL Trace & Stored Procedure
• Stored procedures to create traces
• sp_trace_create
• sp_trace_generateevent
• sp_trace_setevent
• sp_trace_setfilter
• sp_trace_setstatus
• Versions applicable
• Prior to 2005: Extended stored procedures that began with xp_trace_... (add, set)
• 2005, 2008, 2008R2, 2012: Above sp_trace_...
• 2014 onwards: Use extended events
• SQL Server Profiler – to see stored trace files.
• SQL Server Profiler (GUI) uses the above set of system SP’s.
www.dageop.com
Fundamental Concepts
DEMO
www.dageop.com
Fundamental Concepts
SQL Server Profiler
Have you used?
www.dageop.com
Fundamental Concepts
SQL Server Profiler
• It is used to monitor the SQL
server instance of the database
engine.
• Trace data can be stored in a file
or a table.
• SQL Server Profiler helps to
monitor any specific events.
• Also supports auditing the
actions performed on SQL Server
instances.
www.dageop.com
Fundamental Concepts
SQL Server Profiler
• Find the cause of the problem in Queries
• Finding and diagnosing slow-running queries.
• Capturing the series of T-SQL statements that
lead to problems.
• Replicate the saved trace file in a test server
to further diagnose.
• Monitoring the performance of SQL Server to
tune workloads.
• Correlating performance counters to diagnose
problems.
www.dageop.com
Fundamental Concepts
DEMO
www.dageop.com
Fundamental Concepts
Distributed Replay Utility
Have you used?
www.dageop.com
Fundamental Concepts
Distributed Replay Utility
• Assess the impact of
• future SQL server upgrades.
• hardware and OS upgrades and SQL server tuning.
• Using Distributed replay, we can replay a workload.
• Used mainly for
• Application compatibility testing
• Performance testing
• Capacity planning
• SQL Server Profiler (SSP) & Distributed Replay Utility (DRU) overlaps.
• SSP allows single computer only
• Resource bottleneck
• SSP is less scalable solution compared to DRU
www.dageop.com
Fundamental Concepts
DEMO
www.dageop.com
Fundamental Concepts
SSMS Activity Monitor
Have you used?
www.dageop.com
Fundamental Concepts
SQL Server Management Studio Activity Monitor
• Information about SQL server
processes
• how the processes affects the
instance
• Tabbed windows with expandable
and collapsible panes:
• Overview
• Processes
• Resource Waits
• Data File I/O
• Recent Expensive Queries
www.dageop.com
Fundamental Concepts
Activity Monitor
• Customizable
• Rearrange the order of the columns
• Sort any column
• Filter one or more columns,
• Refresh interval by default 10 seconds.
• Performance affected if <10 secs
• VIEW SERVER STATE permission required.
• System objects are used.
www.dageop.com
Fundamental Concepts
DEMO
www.dageop.com
Fundamental Concepts
Graphical Show plan
Have you used?
www.dageop.com
Fundamental Concepts
SSMS Graphical Show plan
• SQL Server Management Studio
• Interactive
• GUI Tool
• DBA or Developers interact with DB, SQL Server.
• Execute multiple queries simultaneously, view results, analyse the
query plan.
• Assists to improve the query performance.
• Execution Plans
• Display Estimated Execution Plan (CTRL + L)
• Include Actual Execution Plan (CTRL + M)
www.dageop.com
Fundamental Concepts
Graphical Show plan
We can Get execution plan for all type of queries
www.dageop.com
Fundamental Concepts
DEMO
www.dageop.com
Fundamental Concepts
System Stored Procedures
Have you used?
www.dageop.com
Fundamental Concepts
System Stored Procedure
• SP_WHO
• SP_WHO2
• Custom SP_WHO2
• SP_LOCK
• SP_MONITOR
• SP_SPACEUSED
www.dageop.com
Fundamental Concepts
DBCC Commands
Have you used?
www.dageop.com
Fundamental Concepts
DBCC
• DBCC means Database Console Command
• Grouped into following categories
• Maintenance
• Miscellaneous
• Informational
• Validation
• During the Maintenance Plan almost every DBA will use this DBCC
www.dageop.com
Fundamental Concepts
DBCC
OR
www.dageop.com
Fundamental Concepts
Internal Database Snapshot
Exclusive DB Lock for Allocation checks & Catalogs
&
Shared Table locks for table checks
• DBCC CHECKDB
• DBCC CHECKALLOC
• DBCC CHECKTABLE
• DBCC CHECKCATALOG
• DBCC CHECKFILEGROUP
DBCC WITH DATABASE SNAPSHOT - Exclusions
www.dageop.com
Fundamental Concepts
Snapshot not created for
below conditions
• Master database
• Single-user mode
• Read-only database
• Emergency mode
• Tempdb
DBCC
• Some of the DBCC Commands
• DBCC SQLPERF (logspace)
• DBCC SHOWFILESTATS
• DBCC CHECKCATALOG
• DBCC CHECKCONSTRAINTS
• DBCC CHECKALLOC
• DBCC CHECKTABLE(tablename)
• DBCC CHECKIDENT(tablename)
• DBCC DBREINDEX(tablename)
• DBCC INPUTBUFFER(sessionid)
• DBCC SHRINKFILE(file_id)
• DBCC TRACESTATUS
www.dageop.com
Fundamental Concepts
DEMO
www.dageop.com
Fundamental Concepts
Built-in Functions
Have you used?
www.dageop.com
Fundamental Concepts
Built-In Functions
• Built-In functions are installed by default.
• Helps getting system information.
• Some of the Built-In Functions
• @@io_busy – It will show I/O processing time in milliseconds
• @@cpu_busy -- It will show CPU processing time in milliseconds
• @@connections -- It will return no of connections/attempted connections
• @@idle – It will return SQL Server idle time in milliseconds
www.dageop.com
Fundamental Concepts
DEMO
www.dageop.com
Fundamental Concepts
Trace Flags
Have you used?
www.dageop.com
Fundamental Concepts
Trace Flags
• Frequently used to diagnose performance issues
• Debug stored procedures or complex computer systems.
• Trace flags are valuable tools as they allow DBA to enable or disable a
database function temporarily.
• Once a trace flag is turned ON, manual turn OFF or restart SQL Server.
• -TXXXX can be used as startup parameter to enable trace when SS starts.
• sysadmin fixed server role permission required.
For full list of Trace flags.
http://technet.Microsoft.com/en-us/library/ms188396.aspx
www.dageop.com
Fundamental Concepts
OTHER TOOLS
Any guess?
www.dageop.com
Fundamental Concepts
Other Monitoring Tools
• Error Logs
• Windows
• Applications
• SQL Server
• Security
• Setup
• System
• DTA (Database Engine Tuning Advisor)
www.dageop.com
Fundamental Concepts
DEMO
www.dageop.com
Fundamental Concepts
Exploring STATISTICS IO Output
www.dageop.com
Fundamental Concepts
Exploring STATISTICS IO Output
• STATISTICS IO - detailed information about the impact of the Query.
• Scan Counts
• Logical Reads
• Physical Reads
• Read-ahead reads
• LOB logical reads
• LOB Physical reads
• LOB Read-ahead reads
www.dageop.com
Fundamental Concepts
Exploring STATISTICS IO output
• Statistics IO can be set as an option while you execute the query.
• Message displayed in results pane.
• Cost of the query in terms of
• physical reads from the disk and
• logical reads from the cache
• KEY WORD
• SET STATISTICS IO ON
www.dageop.com
Fundamental Concepts
STATISTICS IO explained
www.dageop.com
Fundamental Concepts
Scan Count (1)
• Optimizer has chosen an execution plan.
• This number will be same until you change the query.
Logical Reads (1500)
• Actual number of page reads from cache.
• Will not change unless there is a change in query structure or index used in
the table
STATISTICS IO explained
www.dageop.com
Fundamental Concepts
• Physical Reads ( 2576)
• Number of pages actually read from the disk directly.
• Reads from disk first time and use the page in cache for next time.
• Read-ahead reads (0)
• Total physical reads were satisfied by SQL Servers ‘Read-ahead’ mechanism.
• Fluctuates, as pages are swapped in/out of memory.
• Index fragmentation will affect this number.
STATISTICS IO explained
www.dageop.com
Fundamental Concepts
• LOB Logical Reads (0)
• Count based on text, ntext, image, varchar(max), nvarchar(max) and varbinary(max) data type.
• Attention required like the Logical Reads.
• LOB Physical Reads (0)
• Physical reads of same data type.
• LOB Read-Ahead Reads (0)
• Number of physical reads satisfied by the Read-Ahead mechanism
DEMO
www.dageop.com
Fundamental Concepts
Identifying Performance Problems
with Profiler data
www.dageop.com
Fundamental Concepts
Identifying Performance Problems with Profiler data
• SQL Server Profiler helps to find the
exact problem in the database.
• Performance will vary depending
on the user activity.
• SSP - Highly recommend for DBA to
monitor the performance
www.dageop.com
Fundamental Concepts
Identifying Performance Problems with Profiler data
• Major functions of SSP
• Creating trace
• Watching trace
• Storing trace
• Replaying trace
www.dageop.com
Fundamental Concepts
DEMO
www.dageop.com
Fundamental Concepts
Review
Monitoring Tools
SQL Trace
SQL Server Profiler
Distributed Replay Utility
SQL Server Management
Studio Activity Monitor
SQL Server Management
Studio Graphical Show plan
Stored procedures
Database Console Commands
(DBCC)
Built-in functions
Trace flags
STATISTICS IO
Performance Problems with Profiler data
Creating trace
Watching trace
Storing trace
Replaying trace
www.dageop.com
Fundamental Concepts
Q & A
www.dageop.com
Fundamental Concepts
®
www.dageop.com

More Related Content

What's hot

Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
welcometofacebook
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
6 Data Modeling for NoSQL 2/2
6 Data Modeling for NoSQL 2/26 Data Modeling for NoSQL 2/2
6 Data Modeling for NoSQL 2/2
Fabio Fumarola
 

What's hot (20)

CBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL PresentationCBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL Presentation
 
Creating database
Creating databaseCreating database
Creating database
 
Database overview
Database overviewDatabase overview
Database overview
 
Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1
 
Data base management system
Data base management systemData base management system
Data base management system
 
DBMS Practical File
DBMS Practical FileDBMS Practical File
DBMS Practical File
 
Database concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class ActivitiesDatabase concepts and Archeticture Ch2 with in class Activities
Database concepts and Archeticture Ch2 with in class Activities
 
Object Relational Database Management System
Object Relational Database Management SystemObject Relational Database Management System
Object Relational Database Management System
 
6 Data Modeling for NoSQL 2/2
6 Data Modeling for NoSQL 2/26 Data Modeling for NoSQL 2/2
6 Data Modeling for NoSQL 2/2
 
Introduction to database & sql
Introduction to database & sqlIntroduction to database & sql
Introduction to database & sql
 
Group Members
Group MembersGroup Members
Group Members
 
Sql – pocket guide
Sql – pocket guideSql – pocket guide
Sql – pocket guide
 
Advance database systems (part 1)
Advance database systems (part 1)Advance database systems (part 1)
Advance database systems (part 1)
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
Advance Database Management Systems -Object Oriented Principles In Database
Advance Database Management Systems -Object Oriented Principles In DatabaseAdvance Database Management Systems -Object Oriented Principles In Database
Advance Database Management Systems -Object Oriented Principles In Database
 
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
 
Introduction to database with ms access.hetvii
Introduction to database with ms access.hetviiIntroduction to database with ms access.hetvii
Introduction to database with ms access.hetvii
 
Air Line Management System | DBMS project
Air Line Management System | DBMS projectAir Line Management System | DBMS project
Air Line Management System | DBMS project
 
What is difference between dbms and rdbms
What is difference between dbms and rdbmsWhat is difference between dbms and rdbms
What is difference between dbms and rdbms
 

Similar to Database Fundamental Concepts- Series 1 - Performance Analysis

Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
Simon Huang
 
SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1
sqlserver.co.il
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
Aaron Shilo
 
Bb world 2012 using database statistics to make capacity planning decisions...
Bb world 2012   using database statistics to make capacity planning decisions...Bb world 2012   using database statistics to make capacity planning decisions...
Bb world 2012 using database statistics to make capacity planning decisions...
Geoff Mower
 
A data driven etl test framework sqlsat madison
A data driven etl test framework sqlsat madisonA data driven etl test framework sqlsat madison
A data driven etl test framework sqlsat madison
Terry Bunio
 

Similar to Database Fundamental Concepts- Series 1 - Performance Analysis (20)

Optimising Queries - Series 1 Query Optimiser Architecture
Optimising Queries - Series 1 Query Optimiser ArchitectureOptimising Queries - Series 1 Query Optimiser Architecture
Optimising Queries - Series 1 Query Optimiser Architecture
 
SQL Tuning 101
SQL Tuning 101SQL Tuning 101
SQL Tuning 101
 
sqltuning101-170419021007-2.pdf
sqltuning101-170419021007-2.pdfsqltuning101-170419021007-2.pdf
sqltuning101-170419021007-2.pdf
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1
 
Database continuous integration, unit test and functional test
Database continuous integration, unit test and functional testDatabase continuous integration, unit test and functional test
Database continuous integration, unit test and functional test
 
Tarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshooting
Tarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshootingTarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshooting
Tarabica 2019 (Belgrade, Serbia) - SQL Server performance troubleshooting
 
SharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi Vončina
 
Ten query tuning techniques every SQL Server programmer should know
Ten query tuning techniques every SQL Server programmer should knowTen query tuning techniques every SQL Server programmer should know
Ten query tuning techniques every SQL Server programmer should know
 
Breaking data
Breaking dataBreaking data
Breaking data
 
SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
2010/10 - Database Architechs - Perf. & Tuning Tools
2010/10 - Database Architechs - Perf. & Tuning Tools2010/10 - Database Architechs - Perf. & Tuning Tools
2010/10 - Database Architechs - Perf. & Tuning Tools
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
 
Liquibase få kontroll på dina databasförändringar
Liquibase   få kontroll på dina databasförändringarLiquibase   få kontroll på dina databasförändringar
Liquibase få kontroll på dina databasförändringar
 
Access Data from XPages with the Relational Controls
Access Data from XPages with the Relational ControlsAccess Data from XPages with the Relational Controls
Access Data from XPages with the Relational Controls
 
Bb world 2012 using database statistics to make capacity planning decisions...
Bb world 2012   using database statistics to make capacity planning decisions...Bb world 2012   using database statistics to make capacity planning decisions...
Bb world 2012 using database statistics to make capacity planning decisions...
 
A data driven etl test framework sqlsat madison
A data driven etl test framework sqlsat madisonA data driven etl test framework sqlsat madison
A data driven etl test framework sqlsat madison
 
Performance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresPerformance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and Underscores
 

More from DAGEOP LTD

More from DAGEOP LTD (17)

HIGH PERFORMANCE DATABASES
HIGH PERFORMANCE DATABASESHIGH PERFORMANCE DATABASES
HIGH PERFORMANCE DATABASES
 
DBA – THINGS TO KNOW
DBA – THINGS TO KNOWDBA – THINGS TO KNOW
DBA – THINGS TO KNOW
 
SQL Server Editions and Features
SQL Server Editions and Features SQL Server Editions and Features
SQL Server Editions and Features
 
DATA & POWER VISUALIZATION
DATA & POWER VISUALIZATIONDATA & POWER VISUALIZATION
DATA & POWER VISUALIZATION
 
Microsoft Products
Microsoft ProductsMicrosoft Products
Microsoft Products
 
Data, Education and Social awareness
Data, Education and Social awarenessData, Education and Social awareness
Data, Education and Social awareness
 
Data Modeling - Series 4 X-Events
Data Modeling - Series 4 X-EventsData Modeling - Series 4 X-Events
Data Modeling - Series 4 X-Events
 
Data Modeling - Series 1 Storing summarised data
Data Modeling - Series 1 Storing summarised dataData Modeling - Series 1 Storing summarised data
Data Modeling - Series 1 Storing summarised data
 
Optimising Queries - Series 4 Designing Effective Indexes
Optimising Queries - Series 4 Designing Effective IndexesOptimising Queries - Series 4 Designing Effective Indexes
Optimising Queries - Series 4 Designing Effective Indexes
 
Optimising Queries - Series 3 Distinguishing among query types
Optimising Queries - Series 3 Distinguishing among query typesOptimising Queries - Series 3 Distinguishing among query types
Optimising Queries - Series 3 Distinguishing among query types
 
Managing Memory & Locks - Series 2 Transactions & Lock management
Managing  Memory & Locks - Series 2 Transactions & Lock managementManaging  Memory & Locks - Series 2 Transactions & Lock management
Managing Memory & Locks - Series 2 Transactions & Lock management
 
Managing Memory & Locks - Series 1 Memory Management
Managing  Memory & Locks - Series 1 Memory ManagementManaging  Memory & Locks - Series 1 Memory Management
Managing Memory & Locks - Series 1 Memory Management
 
All about Storage - Series 3 - All about indexes
All about Storage - Series 3 - All about indexesAll about Storage - Series 3 - All about indexes
All about Storage - Series 3 - All about indexes
 
All about Storage - Series 2 Defining Data
All about Storage - Series 2 Defining DataAll about Storage - Series 2 Defining Data
All about Storage - Series 2 Defining Data
 
Database Fundamental Concepts - Series 2 Monitoring plan
Database Fundamental Concepts - Series 2 Monitoring planDatabase Fundamental Concepts - Series 2 Monitoring plan
Database Fundamental Concepts - Series 2 Monitoring plan
 
Advanced SSRS Reporting Techniques
Advanced SSRS Reporting TechniquesAdvanced SSRS Reporting Techniques
Advanced SSRS Reporting Techniques
 
Perfect Performance Platter - SQL Server 2014
Perfect Performance Platter - SQL Server 2014 Perfect Performance Platter - SQL Server 2014
Perfect Performance Platter - SQL Server 2014
 

Recently uploaded

Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
amitlee9823
 
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
amitlee9823
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
amitlee9823
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
amitlee9823
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
gajnagarg
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
karishmasinghjnh
 

Recently uploaded (20)

Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls roorkee Escorts ☎️9352988975 Two shot with one girl ...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Shivaji Nagar ☎ 7737669865 🥵 Book Your One night Stand
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
Just Call Vip call girls Bellary Escorts ☎️9352988975 Two shot with one girl ...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
 

Database Fundamental Concepts- Series 1 - Performance Analysis

  • 2. About me Dr. SubraMANI Paramasivam PhD., MCT, MCSE, MCITP, MCP, MCTS, MCSA CEO, Principal Consultant & Trainer @ DAGEOP (UK) Email: mani@dageop.com Blog: http://dataap.org/blog Follow Us https://www.facebook.com/pages/YOUR-SQL-MAN-LTD/ http://www.youtube.com/user/YourSQLMAN https://twitter.com/dageop https://uk.linkedin.com/in/dageop Proud Sponsor • SQLBits • SQL Saturdays • MCT Summit • SQL Server Geeks Summit • Data Awareness Programme • Dageop’s Data Day ® www.DataAP.org SPEAKER
  • 3. Contents FC-01: Performance Analysis • Monitoring Tools • Exploring STATISTICS IO output • Identifying Performance Problems with Profiler data www.dageop.com Fundamental Concepts
  • 4. FC-01: Performance Analysis Have you done any? www.dageop.com Fundamental Concepts
  • 5. Performance Analysis • How SQL Server & Database performs during all sorts of transactions and heavy loads? • It is one of the important role of a Database Administrator www.dageop.com Fundamental Concepts
  • 7. Monitoring Tools List any tool www.dageop.com Fundamental Concepts
  • 8. Monitoring Tools SQL Server has bunch of tools • SQL Trace • SQL Server Profiler • Distributed Replay Utility • SQL Server Management Studio Activity Monitor • SQL Server Management Studio Graphical Show plan • Stored procedures • Database Console Commands (DBCC) • Built-in functions • Trace flags • Other tools www.dageop.com Fundamental Concepts
  • 9. SQL Trace Have you used? www.dageop.com Fundamental Concepts
  • 10. SQL Trace • Information collected from instance through events. • Store the information in File or SQL Server Management objects (SMO). • We can monitor the information about • Locks (Deadlock) • Data File Auto Grow • Objects Altered • Scan started • SQL Batch Started/Completed www.dageop.com Fundamental Concepts
  • 11. SQL Trace & Stored Procedure • Stored procedures to create traces • sp_trace_create • sp_trace_generateevent • sp_trace_setevent • sp_trace_setfilter • sp_trace_setstatus • Versions applicable • Prior to 2005: Extended stored procedures that began with xp_trace_... (add, set) • 2005, 2008, 2008R2, 2012: Above sp_trace_... • 2014 onwards: Use extended events • SQL Server Profiler – to see stored trace files. • SQL Server Profiler (GUI) uses the above set of system SP’s. www.dageop.com Fundamental Concepts
  • 13. SQL Server Profiler Have you used? www.dageop.com Fundamental Concepts
  • 14. SQL Server Profiler • It is used to monitor the SQL server instance of the database engine. • Trace data can be stored in a file or a table. • SQL Server Profiler helps to monitor any specific events. • Also supports auditing the actions performed on SQL Server instances. www.dageop.com Fundamental Concepts
  • 15. SQL Server Profiler • Find the cause of the problem in Queries • Finding and diagnosing slow-running queries. • Capturing the series of T-SQL statements that lead to problems. • Replicate the saved trace file in a test server to further diagnose. • Monitoring the performance of SQL Server to tune workloads. • Correlating performance counters to diagnose problems. www.dageop.com Fundamental Concepts
  • 17. Distributed Replay Utility Have you used? www.dageop.com Fundamental Concepts
  • 18. Distributed Replay Utility • Assess the impact of • future SQL server upgrades. • hardware and OS upgrades and SQL server tuning. • Using Distributed replay, we can replay a workload. • Used mainly for • Application compatibility testing • Performance testing • Capacity planning • SQL Server Profiler (SSP) & Distributed Replay Utility (DRU) overlaps. • SSP allows single computer only • Resource bottleneck • SSP is less scalable solution compared to DRU www.dageop.com Fundamental Concepts
  • 20. SSMS Activity Monitor Have you used? www.dageop.com Fundamental Concepts
  • 21. SQL Server Management Studio Activity Monitor • Information about SQL server processes • how the processes affects the instance • Tabbed windows with expandable and collapsible panes: • Overview • Processes • Resource Waits • Data File I/O • Recent Expensive Queries www.dageop.com Fundamental Concepts
  • 22. Activity Monitor • Customizable • Rearrange the order of the columns • Sort any column • Filter one or more columns, • Refresh interval by default 10 seconds. • Performance affected if <10 secs • VIEW SERVER STATE permission required. • System objects are used. www.dageop.com Fundamental Concepts
  • 24. Graphical Show plan Have you used? www.dageop.com Fundamental Concepts
  • 25. SSMS Graphical Show plan • SQL Server Management Studio • Interactive • GUI Tool • DBA or Developers interact with DB, SQL Server. • Execute multiple queries simultaneously, view results, analyse the query plan. • Assists to improve the query performance. • Execution Plans • Display Estimated Execution Plan (CTRL + L) • Include Actual Execution Plan (CTRL + M) www.dageop.com Fundamental Concepts
  • 26. Graphical Show plan We can Get execution plan for all type of queries www.dageop.com Fundamental Concepts
  • 28. System Stored Procedures Have you used? www.dageop.com Fundamental Concepts
  • 29. System Stored Procedure • SP_WHO • SP_WHO2 • Custom SP_WHO2 • SP_LOCK • SP_MONITOR • SP_SPACEUSED www.dageop.com Fundamental Concepts
  • 30. DBCC Commands Have you used? www.dageop.com Fundamental Concepts
  • 31. DBCC • DBCC means Database Console Command • Grouped into following categories • Maintenance • Miscellaneous • Informational • Validation • During the Maintenance Plan almost every DBA will use this DBCC www.dageop.com Fundamental Concepts
  • 32. DBCC OR www.dageop.com Fundamental Concepts Internal Database Snapshot Exclusive DB Lock for Allocation checks & Catalogs & Shared Table locks for table checks • DBCC CHECKDB • DBCC CHECKALLOC • DBCC CHECKTABLE • DBCC CHECKCATALOG • DBCC CHECKFILEGROUP
  • 33. DBCC WITH DATABASE SNAPSHOT - Exclusions www.dageop.com Fundamental Concepts Snapshot not created for below conditions • Master database • Single-user mode • Read-only database • Emergency mode • Tempdb
  • 34. DBCC • Some of the DBCC Commands • DBCC SQLPERF (logspace) • DBCC SHOWFILESTATS • DBCC CHECKCATALOG • DBCC CHECKCONSTRAINTS • DBCC CHECKALLOC • DBCC CHECKTABLE(tablename) • DBCC CHECKIDENT(tablename) • DBCC DBREINDEX(tablename) • DBCC INPUTBUFFER(sessionid) • DBCC SHRINKFILE(file_id) • DBCC TRACESTATUS www.dageop.com Fundamental Concepts
  • 36. Built-in Functions Have you used? www.dageop.com Fundamental Concepts
  • 37. Built-In Functions • Built-In functions are installed by default. • Helps getting system information. • Some of the Built-In Functions • @@io_busy – It will show I/O processing time in milliseconds • @@cpu_busy -- It will show CPU processing time in milliseconds • @@connections -- It will return no of connections/attempted connections • @@idle – It will return SQL Server idle time in milliseconds www.dageop.com Fundamental Concepts
  • 39. Trace Flags Have you used? www.dageop.com Fundamental Concepts
  • 40. Trace Flags • Frequently used to diagnose performance issues • Debug stored procedures or complex computer systems. • Trace flags are valuable tools as they allow DBA to enable or disable a database function temporarily. • Once a trace flag is turned ON, manual turn OFF or restart SQL Server. • -TXXXX can be used as startup parameter to enable trace when SS starts. • sysadmin fixed server role permission required. For full list of Trace flags. http://technet.Microsoft.com/en-us/library/ms188396.aspx www.dageop.com Fundamental Concepts
  • 42. Other Monitoring Tools • Error Logs • Windows • Applications • SQL Server • Security • Setup • System • DTA (Database Engine Tuning Advisor) www.dageop.com Fundamental Concepts
  • 44. Exploring STATISTICS IO Output www.dageop.com Fundamental Concepts
  • 45. Exploring STATISTICS IO Output • STATISTICS IO - detailed information about the impact of the Query. • Scan Counts • Logical Reads • Physical Reads • Read-ahead reads • LOB logical reads • LOB Physical reads • LOB Read-ahead reads www.dageop.com Fundamental Concepts
  • 46. Exploring STATISTICS IO output • Statistics IO can be set as an option while you execute the query. • Message displayed in results pane. • Cost of the query in terms of • physical reads from the disk and • logical reads from the cache • KEY WORD • SET STATISTICS IO ON www.dageop.com Fundamental Concepts
  • 47. STATISTICS IO explained www.dageop.com Fundamental Concepts Scan Count (1) • Optimizer has chosen an execution plan. • This number will be same until you change the query. Logical Reads (1500) • Actual number of page reads from cache. • Will not change unless there is a change in query structure or index used in the table
  • 48. STATISTICS IO explained www.dageop.com Fundamental Concepts • Physical Reads ( 2576) • Number of pages actually read from the disk directly. • Reads from disk first time and use the page in cache for next time. • Read-ahead reads (0) • Total physical reads were satisfied by SQL Servers ‘Read-ahead’ mechanism. • Fluctuates, as pages are swapped in/out of memory. • Index fragmentation will affect this number.
  • 49. STATISTICS IO explained www.dageop.com Fundamental Concepts • LOB Logical Reads (0) • Count based on text, ntext, image, varchar(max), nvarchar(max) and varbinary(max) data type. • Attention required like the Logical Reads. • LOB Physical Reads (0) • Physical reads of same data type. • LOB Read-Ahead Reads (0) • Number of physical reads satisfied by the Read-Ahead mechanism
  • 51. Identifying Performance Problems with Profiler data www.dageop.com Fundamental Concepts
  • 52. Identifying Performance Problems with Profiler data • SQL Server Profiler helps to find the exact problem in the database. • Performance will vary depending on the user activity. • SSP - Highly recommend for DBA to monitor the performance www.dageop.com Fundamental Concepts
  • 53. Identifying Performance Problems with Profiler data • Major functions of SSP • Creating trace • Watching trace • Storing trace • Replaying trace www.dageop.com Fundamental Concepts
  • 55. Review Monitoring Tools SQL Trace SQL Server Profiler Distributed Replay Utility SQL Server Management Studio Activity Monitor SQL Server Management Studio Graphical Show plan Stored procedures Database Console Commands (DBCC) Built-in functions Trace flags STATISTICS IO Performance Problems with Profiler data Creating trace Watching trace Storing trace Replaying trace www.dageop.com Fundamental Concepts