Optimize SQL queries with preloading
Optimize SQL queries with preloading

Avoid N+1 queries when serializing traces by preloading span associations.

jgraichen/mnemosyne-server,jgraichen/mnemosyne-server,jgraichen/mnemosyne-server