This document discusses applying theory revision techniques to automatically improve a heuristic-based algorithm for designing distributed databases. The algorithm decides which fragmentation technique to use for each database class. Theory revision is used to revise the algorithm's heuristics based on examples of previously tested fragmentation schemas and their performance. The revised algorithm is incorporated back into the design framework to produce improved fragmentation schemas with better performance.