a sync framework application can be optimized in the same way that you optimize other database applications.
apart from optimizing indexes (checking for defragmentation, reorganize/rebuild indexes, update statistics on base and metadata tables), make sure you do regular metadata cleanup as well.