Opening and closing picturedatabase too often? High CPU load (1 Viewer)

hansdegit

Portal Pro
May 18, 2005
200
0
52
Schagen, The Netherlands
Home Country
Netherlands Netherlands
Hi,

When I open a picture folder, the load on the CPU goes to 100% consistently. Of course, I checked the logs and all it says is:
========================
7-5-2006 14:17:13 opening picture database
17-5-2006 14:17:13 picture database opened
17-5-2006 14:17:13 dbs:close:pictureDatabase.db3

ad infinitum. Well, not really, I think it opens, updates and closes the picturedatabase for each and every picture.

That doesn't look like the most efficient way to go. I would expect
1) open picturedatabase
for each picture:
2) update, insert, do whatever SQL you like.
3) close picturedatabase.

I would call it a minor bug.
 

Users who are viewing this thread

Top Bottom