Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top