內容簡介


超過700頁內容和100個以上問題,涵蓋SQL2005 ~ SQL2019版本相關效能測試、調效和解法(附Scripts)


作者介紹


連續8年當選微軟最有價值專家,業界實務經歷超過10年,撰寫技術部落格超過14年,至今依然協助企業帶領技術研發團隊並將商業價值完美落地。


擅長使用.NET/NetCore 技術開發 Web/OLTP 系統,並熟悉分散式架構設計實作、程式碼重構和效能調校,也熟悉SQL Server應用開發、架構設計、效能調校和管理,幫助許多企業從無到有規劃設計並開發核心系統、核心系統架構改造升級、核心系統效能調校,並針對企業開發人員或DBA進行教育訓練,也擁有多年大型資料庫效能調校教學經驗。


曾任企業資深架構師、RD經理、技術經理、資深研發工程師、專案經理、資深技術顧問、資深DBA,微軟 SQL Server 研討會講師、Udemy線上講師、SQL Pass社群講師、RunPC(CIO前身)技術專欄作家。


可以透過下列管道得知作者最新動態

個人部落格 :

個人所有線上課程

個人所有線上電子書

RiCo技術農場FB專頁

RiCo 技術學院YT專頁

目錄


1.         找出硬體Bottleneck. 11

2.         善用Partition Table#1簡介... 20

3.         善用Partition Table#2測試... 24

4.         善用Indexed View#1簡介... 34

5.         善用Indexed View#2測試... 37

6.         善用parallel#簡介... 45

7.         善用parallel#測試... 46

8.         善用資料壓縮#簡介... 56

9.         善用資料壓縮#實做... 58

10.     Partition Table對Insert影響... 72

11.     Insert Statement效能比較測試... 78

12.     資料表值變數和暫存資料表效能測試... 87

13.     盡量避免使用Cursor. 97

14.     善用計算的資料行... 102

15.     查詢調校--計算的資料行... 109

16.     如何使用DTA快速分析並調校SQL提高查詢效能... 116

17.     小心使用With NoLock. 123

18.     bcp vs BulkInsert(tsql) 127

19.     Trivial Plan.. 132

20.     撰寫Stored Procedure小細節... 139

21.     善用 FORCESEEK 資料表提示... 146

22.     別忘記開啟optimize for ad hoc workloads. 154

23.     淺談簡單和強制參數化... 158

24.     查詢效能調校... 164

25.     如何計算累加值... 172

26.     刪除重複資料效能比較... 180

27.     排序效能問題... 186

28.     了解參數探測行為(1) 191

29.     了解參數探測行為(2) 196

30.     認識重新編譯臨界值... 200

31.     認識快取儲存... 208

32.     善用用戶端統計資料... 211

33.     重視 Null 值 (1) 216

34.     重視 Null 值 (2) 222

35.     淺談鎖定擴大... 226

36.     頁面分割影響交易記錄檔大小... 230

37.     善用 OPTIMIZE FOR 查詢提示... 232

38.     篩選的統計資料... 236

39.     NOEXPAND Hint. 240

40.     避免反向查詢... 241

41.     善用 Fast N Hints. 246

42.     tempdb 優化... 249

43.     查詢使用索引就是快 ?. 252

44.     注意隱示轉換... 256

45.     注意隱示轉換 Part2. 260

46.     善用 DEADLOCK_PRIORITY.. 269

47.     資料表值函數(2) 273

48.     text 資料類型轉換 varchar(max)的影響... 277

49.     為什麼無法部份 recompile. 280

50.     那些操作會清除Cache?. 286

51.     密度和選擇性... 289

52.     索引對DU的影響... 293

53.     避免區域變數... 297

54.     CPU Bottleneck(一)--縮小範圍... 303

55.     CPU Bottleneck(二)--常見原因... 307

56.     CPU Bottleneck(三)--深入平行處理... 311

57.     Table Scan vs Clustered Index Scan 誰成本高?. 317

58.     注意不正當平行處理... 319

59.     安裝SQL Server重要初始設定... 322

60.     統計值能吃嗎?. 324

61.     小心使用With NoLock(續) 334

62.     case when 效能殺手... 340

63.     多個索引 vs 單一寬索引... 347

64.     單一寬資料表... 356

65.     改善純量值函數效能... 362

66.     提高分散式查詢效能... 364

67.     提高資料處理效能... 368

68.     提高動態查詢效能... 374

69.     Hekaton-- 新基數演算法... 383

70.     善用計畫指南... 387

71.     善用USE PLAN 提示... 394

72.     最小化VLF. 396

73.     讓一般使用者執行DBCC TraceON.. 403

74.     複合索引第一欄位重要性... 405

75.     定義FK改善效能... 409

76.     善用唯一索引... 410

77.     Partition Table一定提高查詢效能?. 413

78.     優化Cursor. 418

79.     大量Insert最小化交易紀錄... 421

80.     了解制式範圍和混和範圍... 426

81.     停用鎖定擴大... 431

82.     找出封鎖的處理序... 432

83.     找出SQL Server效能問題... 435

84.     謹慎使用索引檢視... 439

85.     謹慎使用巢狀交易... 444

86.     降低tempdb競爭... 448

87.     提高FullScan效能... 455

88.     提高xml查詢效能... 457

89.     String Splitting效能比較... 463

90.     count function小提醒(下) 466

91.     釐清資料表變數真相... 468

92.     重視轉發紀錄... 472

93.     內部平行查詢死結特性... 476

94.     取得某查詢使用多少tempdb空間... 479

95.     執行Delete,但資料表卻暴肥,且效能變差?. 482

96.     你不知道的Trace Flag.. 491

97.     LOB資料類型適合儲存在SQL SERVER嗎... 498

98.     SQL2016-TempDB增強... 505

99.     SQL2016-RT改善... 507

100. SQL2016-資料庫範圍組態選項... 510

101. 排序疑問... 515

102. SQL2016-掌握SQL Server Function 效能... 519

103. SQL2016-取得個別session等待統計資料... 521

104. SQL2016-Live Query Statistics. 523

105. SQL2016-壓縮、解壓縮新函式... 525

106. SQL2016-排序效能改善... 531

107. SQL2016-Columnstore Indexes增強(2) 537

108. SQL2016-Columnstore Indexes增強(3) 546

109. SQL2016-Columnstore Indexes增強(4) 553

110. SQL2016-Columnstore Indexes增強(5) 560

111. SQL2016-執行計畫增強... 563

112. SQL2016-新查詢提示 for Memory. 564

113. 善用 In-Memory 資料表變數提高效能... 569

114. Clustered Columnstore Indexes 效能大耀進... 570

115. 善用交易效能分析報表... 571

116. Do you make right way for benchmark in-memory OLTP.. 572

117. Let's clear the relationship Recovery model and In-Memory Table. 575

118. partition table and In-memory table. 578

119. why should we avoid sp_ as a perfix for store procedures. 581

120. Fascinating Natively compiled stored procedures. 585

121. No Join Predicate. 591

122. 資料壓縮對CPU影響... 601

123. SQL2016-hidden memory consumer. 610

124. data cache in sql server 2016. 615

125. talk about clustered index again.. 620

126. Range Index. 624

127. 善用sort_in_tempdb.. 627

128. Let's Clear Checkpoint process of In-Memory. 632

129. Memory-Optimized Table Type-Insert data in batch.. 637

130. Query performance of Native Compiled.. 645

131. dependent transaction with In-Memory table. 655

132. Automatic tuning.. 661

133. Adaptive query processing.. 666

134. Let's clear to storage index of (n)varchar in sql server. 677

135. What Number of Rows Read.. 681

136. Excessive Grant Issue. 685

137. Optimize your configuration of SQL Server. 688

138. Optimize your work items of SQL Server. 692

139. Optimize your design of SQL Server. 697

140. Discuss shrink file have impact on performance. 701

141. Database Engine New Features In SQL2019. 703

142. Temporary tables across multiple scopes. 707

143. Lightweight performance profiling.. 711

144. Wonderful Scalar UDF Inlining.. 717

145. Management your table space used.. 721

146. Talking about querytraceon.. 724

147. Forward and backward scan.. 725

148. Good Use Of LQS And uspWhatsUp.. 729






產品內容



檔案大小約32MB



  SQL Server 技術筆記 效能篇
Available in days
days after you enroll

產品售價