#-mvStore#>>SELECTTEST1.ID,TEST2.ID,TEST3.IDFROMPUBLIC.TEST1/* PUBLIC.TEST1.tableScan */INNERJOINPUBLIC.TEST2/* PUBLIC.PRIMARY_KEY_4C: ID = TEST1.ID AND ID = TEST1.ID */ON1=1/* WHERE TEST1.ID = TEST2.ID */LEFTOUTERJOINPUBLIC.TEST3/* PUBLIC.PRIMARY_KEY_4C0: ID = TEST2.ID */ONTEST2.ID=TEST3.IDWHERE(TEST3.IDISNULL)AND(TEST1.ID=TEST2.ID)
>SELECTTEST1.ID,TEST2.ID,TEST3.IDFROMPUBLIC.TEST2/* PUBLIC.TEST2.tableScan */LEFTOUTERJOINPUBLIC.TEST3/* PUBLIC.PRIMARY_KEY_4C0: ID = TEST2.ID */ONTEST2.ID=TEST3.IDINNERJOINPUBLIC.TEST1/* PUBLIC.PRIMARY_KEY_4: ID = TEST2.ID */ON1=1WHERE(TEST3.IDISNULL)AND(TEST1.ID=TEST2.ID)
>rows:1
insertintotest1selectxfromsystem_range(2,1000);
insertintotest1selectxfromsystem_range(2,1000);
>updatecount:999
>updatecount:999
...
@@ -285,10 +283,7 @@ explain select * from test1
...
@@ -285,10 +283,7 @@ explain select * from test1
innerjointest2ontest1.id=test2.id
innerjointest2ontest1.id=test2.id
leftouterjointest3ontest2.id=test3.id
leftouterjointest3ontest2.id=test3.id
wheretest3.idisnull;
wheretest3.idisnull;
>PLAN
>>SELECTTEST1.ID,TEST2.ID,TEST3.IDFROMPUBLIC.TEST2/* PUBLIC.TEST2.tableScan */LEFTOUTERJOINPUBLIC.TEST3/* PUBLIC.PRIMARY_KEY_4C0: ID = TEST2.ID */ONTEST2.ID=TEST3.IDINNERJOINPUBLIC.TEST1/* PUBLIC.PRIMARY_KEY_4: ID = TEST2.ID */ON1=1WHERE(TEST3.IDISNULL)AND(TEST1.ID=TEST2.ID)