Before changing the database schema, I issue:
ALTER DATABASE SET RESTRICTED_USER
Upon completion:
ALTER DATABASE SET MULTI_USER
I understand that a running transaction will continue until completion.
Q: Is there a way to wait for all regular users to leave the database?
Q: Can ordinary users issue more transactions? Can they continue to work until disconnected from the server?
source
share