Oracle user accounts can be locked, unlocked, forced to choose new
passwords, etc. For example, all accounts except SYS and SYSTEM will
be locked after creating an Oracle9iDB database using the DB Configuration Assistant (dbca). DBA's must unlock these accounts to
make them available to users.
Look at these examples:
ALTER USER scott ACCOUNT LOCK -- lock a user account
ALTER USER scott ACCOUNT UNLOCK; -- unlocks a locked users
account
ALTER USER scott PASSWORD EXPIRE; -- Force user to choose a new
password
831. How does one tune Oracle Wait events? (for DBA
Some wait events from V$SESSION_WAIT and V$SYSTEM_EVENT views:
Event Name: Tuning Recommendation:
db file
sequential
read
Tune SQL to do less I/O. Make sure all objects are
analyzed. Redistribute I/O across disks.
buffer busy
waits
Increase DB_CACHE_SIZE (DB_BLOCK_BUFFERS prior to
9i)/ Analyze contention from SYS.V$BH
log buffer
spaces
Increase LOG_BUFFER parameter or move log files to
faster disks