executor pause support
replace raw sqlite operations to core data