How to speed up the process when inserting 1000's of records into sqlite using HTML5

后端 未结 5 1985
[愿得一人]
[愿得一人] 2021-01-13 09:58

Iam new to developing HTML5 applications. In this I want to insert 1000\'s of records into sqlite database using HTML5. This process is very slow. How to use BEGIN/COMMIT be

5条回答
  •  深忆病人
    2021-01-13 10:10

    You're starting 1000 transactions. Committing a transaction is slow because it is linked to hard drive speed. See this

提交回复
热议问题