SQLite Thread mode

Post Reply
Hesmith1029
Posts: 40
Joined: 11 Dec 22 22:01

SQLite Thread mode

Post by Hesmith1029 »

Does anyone know what what Multi-Thread mode Photo Supreme uses in SQLite. Single Thread, Multi-Thread, or Serialized?

Resource Monitor's Wait Chain Analysis is often showing many threads hung waiting for the same other thread. It is quite common to see 8 to 12 threads waiting on the same item.

Thanks
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: SQLite Thread mode

Post by Hert »

Multi Threaded.
Please learn about threading in SQLite.
https://www.sqlite.org/threadsafe.html

in multi threading mode you can use an isolated connection in different threads. But SQLite does not allow multiple threads to write to the database at the same time.
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Hesmith1029
Posts: 40
Joined: 11 Dec 22 22:01

Re: SQLite Thread mode

Post by Hesmith1029 »

That is the exact page I was looking at, that prompted the question. Will things work if you used Serialized mode?
Hert
Posts: 7870
Joined: 13 Sep 03 6:24

Re: SQLite Thread mode

Post by Hert »

You overlook something. SQLite supports multiple reads, not writes.

Ps. Also read the forum rules, #5
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Post Reply