开发者

Memory use in SQL Server and C/C++ [closed]

开发者 https://www.devze.com 2023-02-28 12:42 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

Is there a way 开发者_JAVA百科to avoid writing to file, and keep a table in main memory?, using C/C++ and SQL Server 2008?


If you mean whether there is an in-memory version of the SQL Server, like TimesTen for Oracle the answer is no. If you mean a 'little' database that you can add to your App see MS SQL Compact Server.

If you mean using memory mapped files instead of a database, see here: http://msdn.microsoft.com/en-us/library/system.io.memorymappedfiles.memorymappedfile(VS.100).aspx

Otherwise, please be more specific in your question!

hth

Mario

0

精彩评论

暂无评论...
验证码 换一张
取 消