Testing With Your Data, Your Way! Distributed Replay 1 SQLSat 470 Washington DC December 5, 2015.

Slides:



Advertisements
Similar presentations
Overview of Database Administrator (DBA) Tools
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.
OnBase Troubleshooting
Chapter 9 Auditing Database Activities
Overview Of Microsoft New Technology ENTER. Processing....
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
Performance Testing Design By Omri Lapidot Symantec Corporation Mobile: At SIGiST Israel Meeting November 2007.
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Microsoft Office Project 2003 Resource Kits James Scott & Roy Riley Technical Content Development Microsoft Corporation.
© N. Ganesan, Ph.D., All rights reserved. Active Directory Nanda Ganesan, Ph.D.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Capacity Planning in SharePoint Capacity Planning Process of evaluating a technology … Deciding … Hardware … Variety of Ways Different Services.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Virtual Memory Tuning   You can improve a server’s performance by optimizing the way the paging file is used   You may want to size the paging file.
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.
Monitoring Scale-Out with the MySQL Enterprise Monitor Andy Bang Lead Software Engineer MySQL-Sun, Enterprise Tools Team Wednesday, April 16, :15.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Introduction and simple using of Oracle Logistics Information System Yaxian Yao
Troubleshooting From the Field – Part 2 SQL DIAG & SQL NEXUS By Ahmad Osama SQL Server Geeks - Editor In Chief and Regional Mentor(Delhi & NCR)
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
Module 1: Installing and Upgrading to Exchange Server 2003.
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.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Managing the Oracle Application Server with Oracle Enterprise Manager 10g.
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
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.
A Brief Documentation.  Provides basic information about connection, server, and client.
1 Implementing Monitoring and Reporting. 2 Why Should Implement Monitoring? One of the biggest complaints we hear about firewall products from almost.
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.
Monitoring and Managing Server Performance. Server Monitoring To become familiar with the server’s performance – typical behavior Prevent problems before.
Copyright © SoftTree Technologies, Inc. DB Log Expert From Oracle Admin Manual: “The best way to determine the appropriate number of online redo.
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.
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.
Distributed Replay Testing With Your Data, Your Way! Melody Zacharias, Consultant.
MANAGEMENT DATA WAREHOUSE AND DATA COLLECTOR Ian Lanham.
SQL Database Management
Benchmarking like a PRO
Got stress? Sometimes the SQL Server needs some too
Troubleshooting Tools
Installing & COnfiguring the thingworx for Manufacturing DEMO FACTORY & SIMULATOR Milan Thakker IoT Manufacturing Specialist 5/10/2017.
Data Virtualization Demoette… ADO.NET Client
Distributed Replay Testing with your data your way!
Tango Administrative Tools
Common SQL Server Mistakes and How to Avoid Them
TYPES OF SERVER. TYPES OF SERVER What is a server.
DEA Will Be Your New Best Friend!
Troubleshooting Availability Group Failovers
My life at the Cooperators
What’s new in SQL Server 2016 Availability Groups
Migrating your SQL Server Instance
Azure SQL Database - Managing your database on the cloud
12/4/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Managing Services with VMM and App Controller
SAP R/3 Installation on WIN NT-ORACLE
Jean Joseph DBA\DEVELOPER
The Force Within Management Data Warehouse
Making Windows Azure Relevant to IT Professionals
Ready Pre-day Azure Monitoring Workshop
SharePoint 2013 Best Practices
Presentation transcript:

Testing With Your Data, Your Way! Distributed Replay 1 SQLSat 470 Washington DC December 5, 2015

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

Agenda distributed replay? is it used for? do we set it up? 3 What Why How

4

Why Bottle Neck 5

Why 6

Why - Limitations Step Run to Cursor Toggle Breakpoint 7

8

What Administration ToolReplay ControllerReplay Client(s)Target Server 9

What 10

What – Administration Tool 11

What - Controller 12

What - Clients 13

What – Target 14

15

How Configuration Collection Replay Results 16

Configuration 17

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

Configuration - Preprocess 19

Configuration - Controller 20

Configuration - Controller 21

Configuration - Client 22

Configuration - Replay 23

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

Configuration 25

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 26

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” 28

Component Services

Configuration 30 Start -> Run and type dcomcnfg

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

Fire Wall

Configuration 37

Configuration 38

Configuration 39

Configuration 40

Configuration 41

Configuration 42

Configuration 43

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

Configuration - Verify Log files 45

Let the games begin

47 Collection

Demo

Collection 49

Trace Events 50

51 Trace File

Collection 52

Collection 53

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

Replay 55

Replay DReplay replay -d controller_working_dir -w clients [-o] [-m controller] [-s target_server] [-c config_file] [-f status_interval] 56 c:\>DReplay replay –d c:\DistRePlay –w client1, client2

Results 57

58

Application load testing Physical vs Virtual computing Metrics for distributed computing TDE load System upgrades Hardware upgrades Index tuning UsesResults Tables Graphs Analytics Metrics Usage and Presentation 59

Results – Read Latency

61

62 PowerShell

63 Change in Domain

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

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’. 65

Common issues 66 Empty Result set

QUESTIONS

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

Thank You