没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
358页
首先说明,这是一份英文版的书。 其次再说,这是一份非常好的资料,关于SQL Server性能调优和故障排除的难得的一本好书。前提是你的有良好的英文阅读能力。 最后,目录如下: 1、A Performance Troubleshooting Methodology 2、Disk I/O Configuration 3、High CPU Utilization 4、Memory Management 5、Missing Indexes 6、Blocking 7、Handing Deadlocks 8、Large or Full Transaction Log 9、Truncated Tables, Dropped Objects and Other Accidents Waiting to Happen 看完了目录,你再决定是否下载吧。
资源推荐
资源详情
资源评论
High Performance SQL Server
Troubleshooting SQL Server
A Guide for the Accidental DBA
Jonathan Kehayias and Ted Krueger
Foreword by Paul Randal
Technical review by Gail Shaw
ISBN: 978-1-906434-77-9
Troubleshooting SQL Server
A Guide for the Accidental DBA
By Jonathan Kehayias and Ted Krueger
With a Foreword from Paul S. Randal
First published by Simple Talk Publishing September 2011
Copyright Jonathan Kehayias and Ted Krueger 2011
ISBN 978-1-906434-77-9
The right of Jonathan Kehayias and Ted Krueger to be identified as the authors of this work has been
asserted by them in accordance with the Copyright, Designs and Patents Act 1988.
All rights reserved. No part of this publication may be reproduced, stored or introduced into a retrieval
system, or transmitted, in any form, or by any means (electronic, mechanical, photocopying, recording or
otherwise) without the prior written consent of the publisher. Any person who does any unauthorized act
in relation to this publication may be liable to criminal prosecution and civil claims for damages.
This book is sold subject to the condition that it shall not, by way of trade or otherwise, be lent, re-sold,
hired out, or otherwise circulated without the publisher's prior consent in any form other than which it is
published and without a similar condition including this condition being imposed on the subsequent
publisher.
Edited by Tony Davis
Technical Review and Additional Material: Gail Shaw
Cover Image by Andy Martin
Typeset & Designed by Matthew Tye & Gower Associates
Table of Contents
Introduction ................................................................................... 16
Who is this book for? ............................................................................................................. 17
Code Examples .......................................................................................................................18
Chapter 1: A Performance Troubleshooting Methodology .......... 19
Defining a Troubleshooting Methodology ........................................................................ 20
Wait Statistics: the Basis for Troubleshooting .................................................................. 23
Virtual File Statistics ..............................................................................................................28
Performance Counters ..........................................................................................................30
Plan Cache Usage ...................................................................................................................38
Summary ................................................................................................................................. 40
Chapter 2: Disk I/O Configuration ................................................42
Disk Configuration: Basic Considerations .........................................................................43
Disk size vs. disk throughput ........................................................................................... 44
Random versus sequential I/O ..........................................................................................45
Choosing the Right RAID Level .......................................................................................... 46
A brief overview of RAID configurations ....................................................................... 48
Disk size and throughput considerations .......................................................................54
Workload considerations ...................................................................................................57
Direct Attached Storage vs. Storage Area Networks .........................................................61
Direct Attached Storage .....................................................................................................61
Storage Area Networks ...................................................................................................... 62
Diagnosing Disk I/O Issues ..................................................................................................65
Common Disk I/O Problems ................................................................................................65
Sizing for capacity instead of I/O performance ............................................................ 66
Incorrect workload isolation ............................................................................................ 67
Incorrect partition alignment .......................................................................................... 68
Incorrect bandwidth using SAN configurations ........................................................... 70
Summary .................................................................................................................................. 71
Chapter 3: High CPU Utilization .................................................. 73
Investigating CPU Pressure ..................................................................................................74
Performance Monitor ........................................................................................................ 74
SQL Trace ............................................................................................................................ 76
Dynamic Management Views ...........................................................................................77
Common Causes of High CPU Usage .................................................................................85
Missing indexes .................................................................................................................. 86
Outdated statistics ............................................................................................................. 88
Non-SARGable predicates .................................................................................................89
Implicit conversions ............................................................................................................93
Parameter sning .............................................................................................................. 95
Ad hoc non-parameterized queries ................................................................................103
Inappropriate parallelism ................................................................................................ 108
TokenAndPermUserStore ................................................................................................ 117
Windows Server and BIOS power saving options .......................................................120
Summary ................................................................................................................................ 122
Additional Resources ........................................................................................................... 122
Chapter 4: Memory Management ............................................... 126
The Self-Tuning Database Engine ..................................................................................... 127
How SQL Server Allocates Memory .................................................................................. 127
32-bit Virtual Address Space limitations.........................................................................131
Using 64-bit SQL Server ................................................................................................. 140
Memory configuration options with 64-bit SQL Server ............................................143
Diagnosing Memory Pressure ............................................................................................149
Memory-related counters ................................................................................................150
Memory-related DMVs .....................................................................................................154
Common Memory-Related Problems ................................................................................155
The SQL Server memory leak myth ............................................................................... 155
Paging problems ................................................................................................................ 155
OS instability due to Lock Pages in Memory
plus unlimited max server memory ...............................................................................156
App Domain is marked for unload due to memory pressure .................................... 157
剩余357页未读,继续阅读
资源评论
- mzjiang20042015-11-04不错的资源,已经下载了。
- litangyan12015-11-16好书,对我查找问题很有帮助
- heliosstock2015-03-26好书,对提高数据库性能有帮助!
黄_瓜
- 粉丝: 956
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功