Use sqlite in shared memory