AI database performance management