.Net 4.0 Memory-Mapped Files verses RDMS Storage
Posted
by Harry
on Stack Overflow
See other posts from Stack Overflow
or by Harry
Published on 2009-10-30T00:02:50Z
Indexed on
2010/05/26
15:21 UTC
Read the original article
Hit count: 270
I'm interested in people's thoughts comparing storing data in a traditional SQL based Database or utilising a Memory-Mapped File such as the one in the new .Net 4.0 runtime. The data in question would be arrays of simple structures.
Obvious pros and cons:
SQL Database Pros
- Adhoc query support
- SQL Management Tools
- Schema changes (adding more columns and setting default values)
Memory-Mapped Pros
- Lighter overhead? (this is an assumption on my part)
- Shareable between process threads
- Any others?
Is it worth it for performance gains?
© Stack Overflow or respective owner