{"id":4054,"date":"2014-03-30T07:22:03","date_gmt":"2014-03-30T07:22:03","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-rdms-collection-of-common-programming-errors\/"},"modified":"2014-03-30T07:22:03","modified_gmt":"2014-03-30T07:22:03","slug":"problem-about-rdms-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-rdms-collection-of-common-programming-errors\/","title":{"rendered":"problem about rdms-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/36b6fe38a09145199ad3a8b0b706b136?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAndrew Harry<br \/>\nc#-4.0 memory-mapped-files rdms<br \/>\nI&#8217;m interested in people&#8217;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 ProsAdhoc query support SQL Management Tools Schema changes (adding more columns and setting default values)Memory-Mapped ProsLighter overhead? (this is an assumption on my part) Shareable between process threads Any others?Is it wo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/060af9eefcf323ae8b76369293ae4d4a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAndrew Orsich<br \/>\ndatabase memory mongodb redis rdms<br \/>\nWhat database can you recomend for such case:Very lot of inserts and updates Sophisticated queries (SQL or something like it) Lot of data, but small amount of frequently accessed (can be in memory) It&#8217;s OK to loose part of data (recent hour for example) in case of crash (but not everything)Possible solutions and problems with it:Redis &#8211; looks good, but it doesn&#8217;t support complex queries. RDBMS (current solution) &#8211; guarantee ACID and use hard disc a lot so updates is too slow RDBMS + RAM disc &#8211;<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Andrew Harry c#-4.0 memory-mapped-files rdms I&#8217;m interested in people&#8217;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 ProsAdhoc query support SQL Management Tools Schema [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4054","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4054"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4054\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}