There is this thing called SQL and it is about 1000x faster