Hi,
I notice that AO vacuum acquires a ShareUpdateExclusive lock when opening the auxiliary table, while AOCO vacuum acquires a Share lock. Is there any design consideration, or is it just a coding mistake?
In my point of view, AO and AOCO table should have no difference in the logic of acquiring lock, so the lock level should be same.
Since we will lock on QD when update/delete AO tables (Exclusive lock), so maybe it is useless to release lock level of aux table on QE, but better to be consistent, isn't it?
thanks,
linxu