sqlite doesn't support delete limit. but I just recognized that sqlite probably wont have slaves :D Maybe it would be best to have one insertion/deletion algorithm for mysql with limits and one without limits for sqlite.