SqLite Multicore Processing

折月煮酒 提交于 2019-12-06 11:05:44

Since version 3.8.7, SQLite can use multiple threads for parallel sorting of large data sets.

sqlite3 itself does not do that.

However, I have a project called multicoresql on github that has utility programs and a C library for spreading sql queries onto multiple cores.

It uses sharding so you have to break your large database or datafile into multiple sqlite3 database files. A single SQL query must be written as two SQL queries, a map query that first runs on all the shards, and a reduce query to determine the result from the collected output from all the shards running the map query.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!