Read the tables data in the threads