Thread: DB Audit
Hi,
I am using sybase ase as dbms and I would migrate to postgresql, but the absence of a built in DB audit functionality is a show stopper for me.
So I would know if there is a way to get information about DB events like:
server boots
login & logout
table access.
Scopri istella, il nuovo motore per il web italiano.
Istella garantisce risultati di qualità e la possibilità di condividere, in modo semplice e veloce, documenti, immagini, audio e video.
Usa istella, vai su http://www.istella.it?wtk=amc138614816829636
misspaola@tiscali.it wrote: > I am using sybase ase as dbms and I would migrate to postgresql, but the absence of a built in DB > audit functionality is a show stopper for me. > > So I would know if there is a way to get information about DB events like: > > server boots > > login & logout > > table access. > > attempt to access particular objects > > particular user’s actions. You can use the server log file to record all these events. You won't be able to define logging for only certain tables, but it is possible to discriminate based on database or logged on user. Yours, Laurenz Albe
I am using sybase ase as dbms and I would migrate to postgresql, but the absence of a built in DB audit functionality is a show stopper for me.
So I would know if there is a way to get information about DB events like:
server boots
login & logout
table access.
attempt to access particular objectsparticular user’s actions.
- https://github.com/2ndQuadrant/audit-trigger
create or replace view user_details as
union all select null, null, null, null, audit_function(current_user) as func;