Performance improvement: save all colums per table instead of re-querying for each column