Skip to Content
Professional SQL Server® 2008 Internals and Troubleshooting
book

Professional SQL Server® 2008 Internals and Troubleshooting

by Christian Bolton, Justin Langford, Brent Ozar, James Rowland-Jones, Jonathan Kehayias, Cindy Gross, Steven Wort
January 2010
Intermediate to advanced
617 pages
16h 42m
English
Wrox
Content preview from Professional SQL Server® 2008 Internals and Troubleshooting

Chapter 12. Introducing RML Utilities for Stress Testing and Trace File Analysis

WHAT'S IN THIS CHAPTER

  • How and when to use RML Utilities

  • Using RML Utilities to replay workload

  • Ensuring fair and representative replay testing

Like many of the utilities presented in this book, the RML Utilities are a set of tools originally developed by the SQL Server support organization within Microsoft to help engineers effectively resolve customer support incidents. The RML Utilities consist of four key components: ReadTrace, OStress, ORCA, and Reporter. When combined, these utilities enable developers and administrators to replay workload, identify problems, and compare performance.

The high-level process to generate real production workload on a test server is as follows:

  1. Capture a trace on a production server.

  2. Convert the trace with ReadTrace.

  3. Replay the trace on the test server using OStress.

The Replay Markup Language (RML) is an XML-like language that can be used to replay workload against a SQL Server. A trace containing the statements executed against a server are captured using SQL Server Profiler, then ReadTrace is used to convert the .TRC (profiler trace output) to .RML files, which can then be replayed using OStress.

It can be difficult to simulate production workload in a test environment, and RML Utilities addresses this challenge. In addition to providing a testing platform, the tools within RML Utilities can provide powerful insight into performance data. Moreover, the tools are easy to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Professional Microsoft® SQL Server® 2008 Administration

Professional Microsoft® SQL Server® 2008 Administration

Brian Knight, Ketan Patel, Wayne Snyder, Ross LoForte, Steven Wort
Professional SQL Server® 2005 Performance Tuning

Professional SQL Server® 2005 Performance Tuning

Steven Wort, Christian Bolton, Justin Langford, Michael Cape, Joshua J. Jin, Douglas Hinson, Haidong Ji, Paul A. Mestemaker, Arindam Sen

Publisher Resources

ISBN: 9780470484289Purchase book