Performance suggestions for grid (fix if possible)[11:30:27,377][INFO][main][IgniteKernal] ^-- Set maxdirect memory size if getting 'OOME: Direct buffer memory
IN (:artists) GROUP BY t HAVING COUNT(t) = 2")它使用一个固定的计数值(如2),但我需要用artists.size()替换它,这样它只返回集合中所有艺术家的曲目(Track & Artist有@ManyToMany有没有办法在查询中获得Set参数的大小,或者直接在SQL中获得它(计算in()项)?