clearTable could/should be a method of the strategly. For instance, MySQL's TRUNCATE is much faster than DELETE *. On some DBMS, you may want to drop & re-create the table, etc.