My Oracle Support Banner

How to Close a Database Link (DBLINK) Connection (Doc ID 473635.1)

Last updated on JULY 25, 2023

Applies to:

Oracle Net Services - Version and later
Oracle Database - Enterprise Edition - Version and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.


Describes how to use the 'alter session' command to close a database link or to use a profile
with a maximum allowed idle time to terminate the dblink connection.  Read the following
for more.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.