Add fetch event, add column count, affected count and column info functions, improve GC.