Application database monitoring:
the middle way