Distributed Replay Testing With Your Data, Your Way! Melody Zacharias, Consultant.

Slides:



Advertisements
Similar presentations
5 Common SQL Server Performance Issues Jason Hall-SQL Sentry, Dir of Client Services Blog-jasonhall.blogs.sqlsentry.net.
Advertisements

Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Unity Connection Qualification for Prime Collaboration Development Release.
Chapter 9 Auditing Database Activities
Loupe /loop/ noun a magnifying glass used by jewelers to reveal flaws in gems. a logging and error management tool used by.NET teams to reveal flaws in.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Copyright © 2007 Quest Software The Changing Role of SQL Server DBA’s Bryan Oliver SQL Server Domain Expert Quest Software.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Chapter 8 Hardening Your SQL Server Instance. Hardening  Hardening The process of making your SQL Server Instance more secure  New features Policy based.
Troubleshooting From the Field – Part 2 SQL DIAG & SQL NEXUS By Ahmad Osama SQL Server Geeks - Editor In Chief and Regional Mentor(Delhi & NCR)
1 Robert Wijnbelt Health Check your Database A Performance Tuning Methodology.
Learningcomputer.com SQL Server 2008 Configuration Manager.
SQL2005 Cluster Build. IP Request Request 6 IP Addresses – One for EACH SQL virtual server (2) – One for the cluster – One for Distributed Transaction.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
SQLRX – SQL Server Administration – Tips From the Trenches SQL Server Administration – Tips From the Trenches Troubleshooting Reports of Sudden Slowdowns.
A Brief Documentation.  Provides basic information about connection, server, and client.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 9 Auditing Database Activities.
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
ADAPTING YOUR ETL SOLUTION TO USE SSIS 2012 Presentation by Devin Knight
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
Distributed Replay Testing With Your Data, Your Way! ca.linkedin.com/in/melodyzacharias.
Testing With Your Data, Your Way! Distributed Replay 1 SQLSat 470 Washington DC December 5, 2015.
Enterprise Auditing with SQL Server Audit Colleen Morrow.
SQL Advanced Monitoring Using DMV, Extended Events and Service Broker Javier Villegas – DBA | MCP | MCTS.
Load Testing with SQL Server Tools Neil Hambly SQL Server Practice Lead Northdoor PLC.
Make my day Distributed Replay. Meet the speakers Raoul Illyés Raoul Illyés is a SQL Server MVP, CEO and Mentor at SolidQ Denmark.
MANAGEMENT DATA WAREHOUSE AND DATA COLLECTOR Ian Lanham.
SQL Database Management
How to Start SQL Server and SSDT BI in Local
Welcome POS Synchronize Concept 08 Sept 2015.
An introduction to Wait Statistics
Benchmarking like a PRO
Got stress? Sometimes the SQL Server needs some too
Module 9: Preparing to Administer a Server
GlassFish Performance Tuning: Tips from the Field
Troubleshooting Tools
Installing & COnfiguring the thingworx for Manufacturing DEMO FACTORY & SIMULATOR Milan Thakker IoT Manufacturing Specialist 5/10/2017.
10 Amazing Things About Power BI You Don’t Know
Monitoring Data Changes with Change Data Capture
Data Virtualization Demoette… ADO.NET Client
Distributed Replay Testing with your data your way!
Common SQL Server Mistakes and How to Avoid Them
[Automated] TDD with SQL Server using nUnit
TYPES OF SERVER. TYPES OF SERVER What is a server.
DEA Will Be Your New Best Friend!
Simplifying XEvents Management with dbatools
Encrypting Data within SQL Server
Populating a Data Warehouse
Mission critical application testing with Distributed Replay
What’s new in SQL Server 2016 Availability Groups
Migrating your SQL Server Instance
dbatools - PowerShell and SQL Server Working Together
Azure SQL Database - Managing your database on the cloud
Populating a Data Warehouse
Populating a Data Warehouse
12/4/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
SQL Server Performance Tuning Nowadays
Managing Services with VMM and App Controller
PowerShell & PowerBi Reducing DBAs Context Switching
Microsoft SQL Server Upgrade and Downgrade scenarios
Chapter 15: Network Monitoring and Tuning
Jean Joseph DBA\DEVELOPER
Module 9: Preparing to Administer a Server
Managing and monitoring SQL Server on Linux from the command line
Using wait stats to determine why my server is slow
Ch 1 .Installing and configuring SQL Server 2005
Ready Pre-day Azure Monitoring Workshop
SharePoint 2013 Best Practices
Presentation transcript:

Distributed Replay Testing With Your Data, Your Way! Melody Zacharias, Consultant

Melody Zacharias Consultant Chapter Leader / Regional Mentor for Canada ca.linkedin.com/in/melodyzacharias

Please Support Our Sponsors SQL Saturday is made possible with the generous support of these sponsors. You can support them by opting-in and visiting them in the sponsor area.

Agenda distributed replay? is it used for? do we set it up? 4

Why Bottle Neck 6

Why 7

Why - Limitations Step Run to Cursor Toggle Breakpoint 8

What Administration ToolReplay ControllerReplay Client(s)Target Server 10

What 11

What – Administration Tool 12

What - Controller 13

What - Clients 14

What – Target 15

How Configuration Collection Replay Results 17

Configuration 18

Configuration C:\Program Files (x86)\Microsoft SQL Server\110\Tools Controller configuration file DReplayController.config Client configuration file DReplayClient.config \binn Preprocess configuration file Dreplay.exe.preprocess.config Replay configuration file Dreplay.exe.replay.config

Configuration - Preprocess 20

Configuration - Controller 21

Configuration - Controller 22

Configuration - Client 23

Configuration - Replay 24

Configuration - Replay Configuration  Target instance  Sequencing  Stress scale granularity  Connect timescale  Think time scale  Use connection pooling  Health monitor interval  Query time out  Threads per client

Configuration 26

Configuration Restart the services on all the servers NET STOP “SQL Server Distribute Replay Controller” NET START “SQL Server Distribute Replay Controller” NET STOP “SQL Server Distributed Replay Client” NET START “SQL Server Distributed Replay Client” On each server that has the services installed 27

Configuration The Rest of the Story

Configuration Check for errors C:\Program Files (x86)\Microsoft SQL Server\110\Tools\DReplayClient\Log Failed to connect controller with error code 0x Error code 0x means “Access is denied” 29

Configuration 30

Configuration 31

Configuration 32

Configuration 33

Configuration Restart the services on all the servers NET STOP “SQL Server Distribute Replay Controller” NET START “SQL Server Distribute Replay Controller” NET STOP “SQL Server Distributed Replay Client” NET START “SQL Server Distributed Replay Client” On each server that has the services installed 34

Configuration Check the Distributed Replay Client log file C:\Program Files (x86)\Microsoft SQL Server\110\Tools\DReplayClient\Log “Registered with controller ” “Failed to connect controller with error code 0x800706BA client may not connect to controller “ 35

Configuration 36

Configuration 37

Configuration 38

Configuration 39

Configuration 40

Configuration 41

Configuration Restart the services on the server NET STOP “SQL Server Distributed Replay Client” NET START “SQL Server Distributed Replay Client” 42

PowerShell

Configuration Verify Log files 44

45

46 Collection

47

Trace Events 48

Trace File

Collection 50

51 DReplay preprocess -i input_trace_file -d controller_working_dir [-m controller] [-c config_file] [-f status_interval] Collection

Replay 52

Replay DReplay replay -d controller_working_dir -w clients [-o] [-m controller] [-s target_server] [-c config_file] [-f status_interval] 53

Results 54

Uses and Results UsesResults  Application load testing  Physical vs Virtual computing  Metrics for distributed computing  TDE load  System upgrades  Hardware upgrades  Index tuning  Tables  Graphs  Analytics  Metrics

Results – Read Latency

59 Change in Domain

Controller configuration file DReplayController.config Changes location when you change domains Client configuration file DReplayClient.config Modify location in the configuration 60

Common issues Error DReplay The client ‘ClientServerName’ is not a registered distributed replay client. Make sure that the SQL Server Distributed Replay Client services is running on ‘ClientServerName’, and that the client is registered with the controller ‘localhost’. 61

QUESTIONS

Resources Distributed Replay: Requirements including events: Parameters for Replay: My Blog: SQLMelody.blogspot.ca My 63

Thank You Melody Zacharias Consultant Chapter Leader / Regional Mentor for Canada

Thank You This FREE SQL Saturday is brought to you courtesy of these sponsors, speakers and volunteers who staff this event