内存占用

select … from A.aaa join A.bbb

select … from B.aaa join A.bbb
占用的内存怎么会不一样呢