better db configuration for general examples