1. A method comprising: accepting a first database query plan comprising a plurality of rows and a second database query plan comprising a plurality of rows; comparing by a processor each row in the first database query plan with a corresponding row in the second database query plan, and based on each comparison, calculating a difference between the compared rows; and recording each difference in an output file.