change to postgresql and add recommendations