SSIS Hekaton In-Memory OLTP 【翻译一篇外国文章】

来自: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

New In-Memory OLTP Engine 这个东西之前code-named 代码命名为Hekaton

经过移动选定的数据库表和存储过程到内存中,咱们能够大面积地减小I/O,使得OLTP的性能获得提高。微软说这东西可让一些应用的性能提升20倍,有点吹牛啦哈~ edgenet,一个早期的adopter,啥意思?在它线上和零售支持应用中经过用这个东西提高了7倍性能。架构

 

这个东西是为高并发的app设计的,它采用了一种新式的乐观并发控制机制去减小由于资源被锁带来的延迟。In-Memory OLTP的表格被复制到了内存中,每次transaction的log被写在硬盘上,这使得这些操做都是持久的并能够溯源。一个全新的自由锁引擎处理对象就那些常驻内存中的表格涉及的transaction。存储过程被编译进原始的代码dll中,这提高了存储过程的性能。标准的T-SQL存储过程是解释执行的,要执行什么东西就加到执行流程中的顶端。把存储过程编译到原始的win64的代码中使得他们能够直接被执行,所以,最大限度地提高了性能和缩短了执行时间。并发

 

到底这个新东西是否能提高你数据库的效率,提高多少,微软提供了一个新的分析,迁移和报告工具。闻其名,这个AMR 工具分析了你数据库而且帮你肯定了哪些表和存储过程放到内存里比较划算。它列出了预期的性能提高效果还有一些不兼容须要注意的地方。另外,这个AMR工具能够帮你把数据表迁移到内存中。app

相关文章
相关标签/搜索