c++ - Sqlite query execution takes more time on Mac -


i have table around 2,00,000 entries. trying insert or update row takes more time in mac on windows. same select query well. m using sqlite 3 (version 3.7.5 ) issue?

update : reduce time 8.5 min using various pragma options

pragma synchronous = off pragma journal_mode = off pragma cache_size = 20000 pragma page_size = 4000 pragma temp_store = memory pragma locking_mode = exclusive 

i tried using memory mapped io too. not helping . on this? pragma mmap_size = 500000 mentioned in comments, m using mac (mac - mini). hdd, 4gb ram.

another update : found out while debugging sqlite3_step takes time. not every sqlite_step random sqlite3_step. since not step function not debug thing more. there idea may issue? in advance


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -