load all records of a table into heap-memory