connect / as sysdba select account_status from dba_users where username='SUPERMAG'; alter user supermag account lock; select account_status from dba_users where username='SUPERMAG'; ... запускаем оптимизатора select account_status from dba_users where username='SUPERMAG';