Memory use in SQL Server and C/C++ [closed]
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
精彩评论