How can I manage to view if a table has been read recently in postgresql 12?

dba.stackexchange https://dba.stackexchange.com/questions/279583

  •  10-03-2021
  •  | 
  •  

Pregunta

How can I manage to view if a table has been read recently in postgresql 12 ?

¿Fue útil?

Solución

Unless the table is only ever accessed via stored procedures or other programmed logic and you have that set to audit access, and measures are taken to stop access by more direct means, then you probably can't.

DBMSs usually don't log read access in a manner that you could query this way, if at all.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a dba.stackexchange
scroll top