3 ms·
Temp tables are per session, there shouldn't be any locking involved.
by taffer 4y ago
Temp tables are per session, there shouldn't be any locking involved.
- zeroimpl 4y agoI believe the metadata about them is still written to various system catalog tables. Creating lots of temp tables will cause autovacuum activity on tables like pg_attr, for example.