Oracle Database 11g: Administration I — Question 35
Your database is open and the LISTENER listener is running. The new DBA of the system stops the listener by using the command: LSNRCTL> STOP
What happens to the sessions that are presently connected to the database instance?
Answer options
- A. The sessions are able to perform only queries
- B. The sessions are not affected and continue to function normally
- C. The sessions are terminated and the active transactions are rolled back
- D. The sessions are not allowed to perform any operations till the listener is started
Correct answer:
Explanation
When the listener is stopped, the currently connected sessions are not terminated and continue to function normally, allowing them to complete their operations. Only new connection attempts are impacted, which is why option B is correct. The other options incorrectly suggest limitations on connected sessions or that they would be terminated.