來自:http://www.itprotoday.com/microsoft-sql-server/important-new-features-sql-server-2014 sql
Microsoft's new release of SQL Server 2014 comes pretty close on the heels of the last SQL Server 2012release. For many organizations, this could be a hurdle to adoption, because upgrading core pieces of an IT infrastructure can be both costly and resource-intensive. However, SQL Server 2014 has several compelling new features that can definitely justify an upgrade. Without a doubt, the most notable new feature is the new In-Memory OLTP engine, which promises some big performance improvements for OLTP applications. The past couple of SQL Server releases have had a strong focus on business intelligence (BI), which makes the new In-Memory OLTP engine an especially welcome addition for relational database professionals. Let's dig in and have a closer look at the new In-Memory OLTP engine and the other new features in SQL Server 2014.數據庫
微軟sql server 2014的最新release好像跟2012 的發佈離的很近。對於不少組織來講,可能很難hurdle被採納,由於升級IT架構中的核心組件是很耗費資源的。可是,sql server2014 有幾個compelling吸引人的新功能可能會簡化升級。毫無疑問,最值得一提的就是In-Memroy OLTP engine, 該東西極大提高了OLTP 應用的性能。在過去的一些sql server 發佈中,可能微軟比較偏重於在BI方面,這讓這次In-Memory OLTP engine的發佈對於關係數據庫的專家很是歡迎。讓咱們仔細看看這個東西哈~promise
經過移動選定的數據庫表和存儲過程到內存中,咱們能夠大面積地減小I/O,使得OLTP的性能獲得提高。微軟說這東西可讓一些應用的性能提升20倍,有點吹牛啦哈~ edgenet,一個早期的adopter,啥意思?在它線上和零售支持應用中經過用這個東西提高了7倍性能。架構
這個東西是爲高併發的app設計的,它採用了一種新式的樂觀併發控制機制去減小由於資源被鎖帶來的延遲。In-Memory OLTP的表格被複制到了內存中,每次transaction的log被寫在硬盤上,這使得這些操做都是持久的並能夠溯源。一個全新的自由鎖引擎處理對象就那些常駐內存中的表格涉及的transaction。存儲過程被編譯進原始的代碼dll中,這提高了存儲過程的性能。標準的T-SQL存儲過程是解釋執行的,要執行什麼東西就加到執行流程中的頂端。把存儲過程編譯到原始的win64的代碼中使得他們能夠直接被執行,所以,最大限度地提高了性能和縮短了執行時間。併發
到底這個新東西是否能提高你數據庫的效率,提高多少,微軟提供了一個新的分析,遷移和報告工具。聞其名,這個AMR 工具分析了你數據庫而且幫你肯定了哪些表和存儲過程放到內存裏比較划算。它列出了預期的性能提高效果還有一些不兼容須要注意的地方。另外,這個AMR工具能夠幫你把數據表遷移到內存中。app