taking a long time to drop a user?
550825Oct 11 2007 — edited Oct 11 2007I have code that sets up user accounts and creates a set of tables. when those accounts need to be recreated, I have code that drops the accounts.
There are no sessions connected as the user. I go
drop user <username> cascade;
and it takes a long time to drop the account. how do you diagnose why it takes so long for ddl to run?