i noticed that my program slows down considerably with the part responsible for reading and writing data to the database. I checked with the top command and indeed mysql doe