Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Audit function in 3 tier ?

Status
Not open for further replies.

SteveBrett

Programmer
Apr 24, 2000
107
MT
Hi,

I've got the wonderful job of building audit functions for a large, high volume database (postegresql of course) and was wondering if anyone had any experiences they would like to share ?

Questions such as:

1. How _exactly_ does ppostgresql accept queries from external sources ? Is there some way of identifying which user sent in which request ?

2. Should audit functions live in the middle tier or be implemented as triggers at the db level ?

We might be using a pool of connections so would we might not have specific database users logging in and so we still need to know who is doing what etc...

thanks in advance,

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top