内存中 OLTP 与 OLTP 之间的区别临时表 [英] Difference between In Memory OLTP v.s. Temp table

查看:34
本文介绍了内存中 OLTP 与 OLTP 之间的区别临时表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SQL Server 2014 有一个名为 In Memory OLTP 的新功能,它可以将表存储在内存中.临时表可以通过在内存中缓存临时表来做类似的事情.那么,有什么区别吗?以及这两种方式的性能如何?

SQL Server 2014 has a new feature called In Memory OLTP and it could store tables in memory. Temp table could do the similar thing by caching the temp table in memory. So, is there any difference? and How about the performance of these two ways?

推荐答案

内存中的 OLTP 和存储在内存中的临时表的内容之间存在很大差异,没有任何简洁的答案可以真正做到公正.它们是苹果和橙子.此外,与任何其他解决方案相比,内存中 OLTP 的优势将在很大程度上取决于您尝试解决的特定问题.如果您对该功能感兴趣,我建议您阅读可从这篇博文中链接到的白皮书:

There is so much difference between in memory OLTP and the contents of a temp table being stored in memory, that no succinct answer would really do it justice. They're apples and oranges. Additionally, the benefits of in-memory OLTP versus any other solution is going to be largely dependant upon the specific problem you're trying to solve. If you're interested in the feature, I would recommend reading the white papers which can be linked to from this blog post:

http://blog.sqlauthority.com/2014/04/27/sqlauthority-news-two-microsoft-whitepaper-on-in-memory-oltp/

这篇关于内存中 OLTP 与 OLTP 之间的区别临时表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆