Database-Driven Tuning of PID Controllers