set db max