阅读背景:

如何限制数据库刷新到磁盘?

来源:互联网 

I am using sqlite database in my arm9 embedded linux platform. I want to reduce writes to disk database because my disk is a flash memory and it needs minimum write cycles. So I tried to increment SQLITE_DEFAULT_CACHE_SIZE as 5000. My objective was to write data to cache and when the cache is filled, automatically flush to disk. But by incrementing SQLITE_DEFAULT_CACHE_SIZE, I can't confirm whether this is working or not. I am not seeing any changes in the operations! Is my way correct? Can anybody give me some suggestions? Thanks AneeshI am using sqlite database in my arm9 embedded




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: