LWLock:OidGen

The process is waiting for exclusive access to the OID Counter to assign a unique Object Identifier (OID)
to a new database object (like a table, a type, or a TOAST value).
If it takes time, It may indicates that address space contention (32bit)
It has been Reported that toast chucks which uses oid, when runs out of available oids, this wait event appears.

Why it is happening (Root Causes)