db pipeline