My Oracle Support Banner

Slow Performance Querying SQL SERVER Tables From Oracle Using DG4MSQL (Doc ID 2066796.1)

Last updated on JUNE 08, 2023

Applies to:

Oracle Database Gateway for SQL Server - Version and later
Information in this document applies to any platform.


When performing a query from Oracle via Oracle Database Gateway for SQL*Server (DG4MSQL) some queries hang or have slow performance.


Running the same query directly in SQL*Server also hangs or is slow.  By adding the NOLOCK command on the SQL*Server side then
the query returns in milliseconds.


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.