performance; implement sqlite pragma #659

Performance boost for sqlite; targeted for Raspberry Pi, but useful for any hardware.