Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Distributed Replay Testing With Your Data, Your Way! Melody Zacharias, Consultant."— Presentation transcript:

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

2 Melody Zacharias Consultant Chapter Leader / Regional Mentor for Canada http://sqlmelody.blogspot.ca/ SQLMelody@gmail.com@SQLMelody ca.linkedin.com/in/melodyzacharias

3 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.

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

5

6 Why Bottle Neck 6

7 Why 7

8 Why - Limitations Step Run to Cursor Toggle Breakpoint 8

9

10 What Administration ToolReplay ControllerReplay Client(s)Target Server 10

11 What 11

12 What – Administration Tool 12

13 What - Controller 13

14 What - Clients 14

15 What – Target 15

16

17 How Configuration Collection Replay Results 17

18 Configuration 18

19 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

20 Configuration - Preprocess 20

21 Configuration - Controller 21

22 Configuration - Controller 22

23 Configuration - Client 23

24 Configuration - Replay 24

25 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

26 Configuration 26

27 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

28 Configuration The Rest of the Story....... 28

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

30 Configuration 30

31 Configuration 31

32 Configuration 32

33 Configuration 33

34 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

35 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

36 Configuration 36

37 Configuration 37

38 Configuration 38

39 Configuration 39

40 Configuration 40

41 Configuration 41

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

43 PowerShell

44 Configuration Verify Log files 44

45 45

46 46 Collection

47 47

48 Trace Events 48

49 Trace File

50 Collection 50

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

52 Replay 52

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

54 Results 54

55

56 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

57 Results – Read Latency

58

59 59 Change in Domain

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

61 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

62 QUESTIONS

63 Resources Distributed Replay: http://bit.ly/1OQUhGA Requirements including events: http://bit.ly/1GRIiC6 Parameters for Replay: http://bit.ly/1Gh8Gum My Blog: SQLMelody.blogspot.ca My Email: SQLMelody@gmail.com 63

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

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


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

Similar presentations


Ads by Google