分析 C# 字串插值中隱藏的 Boxing 問題,比較字串插值直接傳入 int 與先呼叫 ToString() 的效能差異
C# Boxing vs UnBoxing
Posted on
Edited on
In
C#
,
Boxing-UnBoxing
Disqus:
Symbols count in article: 3.1k Reading time ≈ 3 mins.
Symbols count in article: 3.1k Reading time ≈ 3 mins.
深入了解 C# Boxing 與 UnBoxing 機制,值類型與參考類型的差異,以及 Stack、Heap 記憶體配置對效能的影響
影響Query Optimizer產生執行計畫的關鍵(統計值)
Posted on
Edited on
In
Tuning
,
SQL-Server
Disqus:
Symbols count in article: 4.5k Reading time ≈ 4 mins.
Symbols count in article: 4.5k Reading time ≈ 4 mins.
深入了解 SQL Server 統計值 (Statistics) 如何影響 Query Optimizer 產生執行計畫,包含基數估計 (Cardinality Estimation)、cost-based model 與統計值更新機制
Appveyor搭配Github自動化上傳Nuget
Appveyor搭配Github自動化上傳Nuget - 現在CICD越來越普遍,如要提高開發效率和自動化部屬跟Deploy系統有密不可分關係.
撰寫SQL的建議
撰寫 SQL 效能建議:SARG 條件寫法、避免欄位運算、LIKE 前綴搜尋、COUNT vs EXISTS 效能比較等實用技巧
SqlServer資料表深入淺出
Posted on
Edited on
In
Tuning
,
SQL-Server
Disqus:
Symbols count in article: 3.7k Reading time ≈ 3 mins.
Symbols count in article: 3.7k Reading time ≈ 3 mins.
SQL Server 資料表深入淺出:Page 儲存結構 (8K/Page)、子頁層概念、Clustered Index 與 Heap Table 的差異比較
資料庫索引深入淺出(二) — Covering Index & Index Design
Posted on
Edited on
In
SQL-Server
,
Index
Disqus:
Symbols count in article: 3.9k Reading time ≈ 4 mins.
Symbols count in article: 3.9k Reading time ≈ 4 mins.
資料庫索引深入淺出第二篇:介紹 Covering Index (INCLUDE)、Filter Index、Index Intersection 與索引設計重點
資料庫索引深入淺出(一) — SQL Server Index Fundamentals
Posted on
Edited on
In
SQL-Server
,
Index
Disqus:
Symbols count in article: 4.2k Reading time ≈ 4 mins.
Symbols count in article: 4.2k Reading time ≈ 4 mins.
資料庫索引深入淺出第一篇:解析 Index 第一個欄位對統計值的影響、B+ Tree 結構,以及如何正確選擇查詢條件欄位建立索引
Null Object Pattern
Posted on
Edited on
In
C#
,
DesignPattern
Disqus:
Symbols count in article: 1.9k Reading time ≈ 2 mins.
Symbols count in article: 1.9k Reading time ≈ 2 mins.
以 C# 實作 Null Object Pattern:用空物件取代 null 判斷邏輯,消除散佈系統中的 NullReferenceException 風險
鐵人賽完賽&總結 (第30天)
鐵人賽完賽總結:回顧 ASP.NET MVC 原始碼分析三十天的重點,從 HTTP 請求到 View 渲染的完整執行流程