Howard Swerdloff offers a fix for Posting takes a long time in GP 2010
Posting takes a long time in GP 2010 | alldynamicsgp
General Ledger & FinancialsGP 2010
Archived post from 2013. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.