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
  •  | 
  •  

Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с dba.stackexchange
scroll top