Are you inserting many rows in one big task ? If so, combine them in a transaction, by putting BEGIN before the first INSERT and COMMIT after the last one.
Are you inserting many rows in one big task ? If so, combine them in a transaction, by putting BEGIN before the first INSERT and COMMIT after the last one.