|
INTERVIEW QUESTIONS
ORACLE
DETAILS
Question: User SCOTT has opened a SQL * Plus session and left for lunch. When you queired the V$SESSION view, the STATUS was INACTVE. You terminated SCOTT’s session in V$SESSION?
Answer: When you terminate a session that is INACTIVE, the STATUS in V$SESSION will show as KILLED. When SCOTT tries to perform any database activity in the SQL *Plus window, he receives an error that his session is terminated. When an ACTIVE session is killed, the changes are rolled back and an error message is written to the user’s screen.<br><br>
|
|
|
Category |
Oracle Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9384 users |
Added on |
7/7/2010 |
Views |
71413 |
Rate it! |
|
|
Question:
User SCOTT has opened a SQL * Plus session and left for lunch. When you queired the V$SESSION view, the STATUS was INACTVE. You terminated SCOTT’s session in V$SESSION?
Answer:
When you terminate a session that is INACTIVE, the STATUS in V$SESSION will show as KILLED. When SCOTT tries to perform any database activity in the SQL *Plus window, he receives an error that his session is terminated. When an ACTIVE session is killed, the changes are rolled back and an error message is written to the user’s screen.<br><br> Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
At which stage of the database start-up is the control file opened?
|
View Answer
|
|
Which priviledge do you need to connect to the database, if the database is started up by using STARTUP RESTRICT?
|
View Answer
|
|
Which parameter in the ORAPWD utility is optional?
|
View Answer
|
|
Which role is created by default to administer databases?
|
View Answer
|
|
How do you make a database read-only?
|
View Answer
|
|
Which SHUTDOWN option will wait for the users to complete their uncommitted transactions?
|
View Answer
|
|
Which SHUTDOWN option requires instance recovery when the database is started the next time?
|
View Answer
|
|
Which parameter value is use to set the directory path where the alert log file is written?
|
View Answer
|
|
What information is available in the alert log files?
|
View Answer
|
|
To use operating system authentication to connect the database as an administrator, what should the value of the parameter REMOTE_LOGIN_PASSWORDFILE be set to?
|
View Answer
|
|
Which two values from the V$SESSION view are used to terminate a user session?
|
View Answer
|
|
List all the valid database start-up option?
|
View Answer
|
|
Name the parts of the database buffer pool.
|
View Answer
|
|
When are the system change numbers assigned?
|
View Answer
|
|
What is the minimum number of redo log files required in a database?
|
View Answer
|
|
Which memory structure records all database changes made to the instance?
|
View Answer
|
|
When a SELECT statement is issued, which stage checks the user’s privileges?
|
View Answer
|
|
Which memory structures are shared? Name two.
|
View Answer
|
|
What happens next when a server process is not able to find enough free buffers to copy the blocks from disk?
|
View Answer
|
|
If you are updating one row in a table using the ROWID in the WHERE clause (assume that the row is not already in the buffer cache), what will be the minimum amount of information read to the database buffer cache?
|
View Answer
|