In what conditions will the value in the OSUSER column of the V$SESSION be Oracle? Is it only when we are running the background processes?
The OSUSER column is supposed to contain the operating system client user name. This means that the OSUSER is the osuser running the dedicated or shared server. For the background processes, you typically see an OSUSER column value of SYSTEM on a Windows box. I think it's the same for a Unix box. I believe you'd only see OSUSER be equal to ORACLE if you logged into the server/workstation with a user id of oracle.
For More Information
- Dozens more answers to tough Oracle questions from Karen Morton are available.
- The Best Oracle Web Links: tips, tutorials, scripts, and more.
- Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
- Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
- Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.