Cloud
pg_stat_get_numscans
The pg_stat_get_numscans() function returns the number of scans of a relation. Redpanda SQL collects no access statistics, so the function returns 0 for any relation.
Parameters
-
relation_oid: Object identifier (OID) of a relation. The type can beoid,integer, orbigint.
Return type
bigint. The function returns 0 for any relation, and NULL when the argument is a typed NULL, such as NULL::oid.
Was this helpful?