Whenever you feel the POS systems is running slow, or take long time to cash out, just do compact database. Make sure perform compact database before open or after close, sometime it mind take half hour to complete !