A thread safe and makes defrags in background
Optimize DB writes to use go routines