物化视图刷新影响读写吗?
比如: refresh materialized view myview
如果加concurrently 刷新,是否会阻止 正常读写
refresh materialized会请求8级锁ACCESS EXCLUSIVE,其他操作都无法进行。
refresh materialized concurrently请求7级锁,不阻塞读。
参考官方文档:https://www.postgresql.org/docs/17/explicit-locking.html