25-08-22, 12:27
J'observe le même comportement mais avec un temps d'exécution plus court (2s), mais j'ai peut-être moins de tags !
Code :
2935,063844 [sql] /run/build/darktable/src/common/tags.c:1301, function dt_tag_get_with_usage(): prepare "INSERT INTO memory.taglist (id, count) SELECT tagid, COUNT(*) FROM main.tagged_images GROUP BY tagid"
2935,064592 [sql] /run/build/darktable/src/common/tags.c:1268, function dt_selected_images_count(): prepare "SELECT count(*) FROM main.selected_images"
2935,064616 [sql] /run/build/darktable/src/common/tags.c:1315, function dt_tag_get_with_usage(): prepare "SELECT T.name, T.id, MT.count, CT.imgnb, T.flags, T.synonyms FROM data.tags T LEFT JOIN memory.taglist MT ON MT.id = T.id LEFT JOIN (SELECT tagid, COUNT(DISTINCT imgid) AS imgnb FROM main.tagged_images WHERE imgid IN (SELECT imgid FROM main.selected_images) GROUP BY tagid) AS CT ON CT.tagid = T.id WHERE T.id NOT IN memory.darktable_tags ORDER BY T.name "
2937,084201 [sql] /run/build/darktable/src/common/tags.c:1349, function dt_tag_get_with_usage(): exec "DELETE FROM memory.taglist"
---------
darktable 4.8.0
ubuntu 24.04
canon eos 250D
nikon D3
samsung s23
darktable 4.8.0
ubuntu 24.04
canon eos 250D
nikon D3
samsung s23