LOCK TABLE public.schema_migrations IN ACCESS SHARE MODE when executing pg_dump

dba.stackexchange https://dba.stackexchange.com/questions/286389

  •  17-03-2021
  •  | 
  •  

سؤال

I have a cron job that execute a backup on all databases on the sever. The pg_dump gets stuck in one database/table. Tracking the issue on pg_status_activity table I got:

Message:

LOCK TABLE public.table_name IN ACCESS SHARE MODE

No errors on PG logs were found

Server OS: Linux CentOS 7 Database : PostgresSQL 12

Thanks

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى dba.stackexchange
scroll top