biigle / maia

:m: BIIGLE module for the Machine Learning Assisted Image Annotation method
GNU General Public License v3.0
2 stars 3 forks source link

Optimize knowledge transfer volumes query #118

Open mzur opened 1 year ago

mzur commented 1 year ago

I found that this query is quite slow with our production database. I'm sure it can be optimized.

https://github.com/biigle/maia/blob/6494b4b02641c29ba05d3d6f5871305f9a8eb8d1/src/Http/Controllers/Api/KnowledgeTransferVolumeController.php#L40-L55