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

Pergunta

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

Foi útil?

Solução

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 em: CC-BY-SA com atribuição
Não afiliado a dba.stackexchange
scroll top