Why do you think it will corrupt the database? Can you give me more explainations or examples?
原始邮件 发件人:Stephan bealsgb...@googlemail.com 收件人:SQLite mailing listsqlite-us...@mailinglists.sqlite.org 发送时间:2016年8月31日(周三) 16:57 主题:Re: [sqlite] Why MMAP return ENOMEM in SQLite? On Wed, Aug 31, 2016 at 10:55 AM, sanhua.zh sanhua...@foxmail.com wrote: Yes, [mmap] can be larger than physical memory. Indeed, my mistake. And what do you think about the new mapping way I mentioned ? i think it's a "huge can of worms" - it's asking for more, bigger problems than the perceived performance problems you have right now. The chances that something breaks with that approach is, i suspect, very high. You will eventually corrupt a database and then write back to the list to ask why that approach corrupted it. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users