db configuration master/slave streaming