Follow up question what do these wait_resources mean?
METADATA: database_id = 5 SECURITY_CACHE($hash = 0x2532319d:0x1)
METADATA: database_id = 9 METADATA_CACHE($hash = 0x3317e3d:0x0)
and also could the compilations cause schema locks in any way at all?