Multiple Active Result Sets (MARS)

E277028

Multiple Active Result Sets (MARS) is a SQL Server feature that allows a single database connection to execute and process multiple batches or result sets concurrently.

All labels observed (2)

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf SQL Server feature
database connection feature
abbreviation MARS
affects transaction semantics on a single connection
alsoKnownAs MARS feature
appliesToProduct SQL Server
surface form: Microsoft SQL Server

SQL Server Native Client
behavior allows multiple pending requests on a single connection
allows partial consumption of one result set before switching to another
benefit enables more responsive applications with interleaved queries
reduces need for multiple connections per session
simplifies certain application data access patterns
category SQL Server connectivity
database concurrency feature
configuredBy connection string parameter MultipleActiveResultSets
connectionStringKeyword MultipleActiveResultSets
connectionStringValueExample MultipleActiveResultSets=True
defaultState disabled
developedBy Microsoft
documentationSection SQL Server Books Online
enables execution of multiple batches on a single connection
interleaved processing of multiple result sets
multiple active result sets on a single database connection
reusing a single connection for concurrent queries
introducedIn SQL Server
surface form: Microsoft SQL Server 2005
limitation commands share the same underlying connection resources
does not provide true parallel execution on a single connection
may increase server resource usage
not supported in all SQL Server client providers
relatedConcept TDS protocol
database connection pooling
server-side cursors
requires SQL Server Native Client
surface form: SQL Server Native Client provider

special handling of transactions across multiple active commands
requiresClientVersionAtLeast SQL Server Native Client
surface form: SQL Server Native Client 2005
requiresServerVersionAtLeast SQL Server
surface form: SQL Server 2005
scope per-connection setting
standsFor Multiple Active Result Sets (MARS) self-linksurface differs
surface form: Multiple Active Result Sets
supportsLanguage T-SQL
supportsScenario MARS-enabled ADO.NET SqlClient operations
nested data access operations on a single connection
reading from one result set while executing another command
server-side cursors with overlapping commands
usedWith .NET Data Provider for SQL Server
surface form: ADO.NET SqlClient

ODBC
OLE DB
warning improper use can lead to complex debugging and resource contention

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

.NET Data Provider for SQL Server supportsFeature Multiple Active Result Sets (MARS)
Multiple Active Result Sets (MARS) standsFor Multiple Active Result Sets (MARS) self-linksurface differs
subject surface form: MARS
this entity surface form: Multiple Active Result Sets