Difference between In Memory OLTP v.s. Temp table

北慕城南 提交于 2019-12-13 10:56:06

问题


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?


回答1:


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/



来源:https://stackoverflow.com/questions/27957345/difference-between-in-memory-oltp-v-s-temp-table

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!