Sql Server Internal Architecture - Relational Engine

8
SQL Server Internals Crafted for the love of SQL Server iKosmik

Transcript of Sql Server Internal Architecture - Relational Engine

SQL Server Internals

Crafted for the love ♥ of SQL Server

iKosmik

SQL SERVER

STORAGE ENGINE

RELATIONAL ENGINE

iKosmik

Our focus in this presentation will be the

Relational Engine

SQL SERVER RELATIONAL ENGINE

SQL Manager is the component at the heart

of SQL Server

SQL Manager

iKosmik

T-SQL Execution

Query Execution

Open Data Services (ODS)Passes the query results to ODS for formatting it

into TDS messages

SQL Manager

iKosmik

T-SQL Execution

Query Execution

Open Data Services (ODS)

Does stuff like mathematical calculations,

filtering

SQL Manager

Expression Service

iKosmik

T-SQL Execution

Query Execution

Open Data Services (ODS)

Handles * Data definition statements like CREATE VIEW

* System tables This is more a part of the Storage Engine, than the Relational Engine

SQL Manager

Expression Service

Catalog Services

iKosmik

T-SQL Execution

Query Execution

Open Data Services (ODS)

* SQL Server scheduler * Assigns fibers and threads * Helps SQL Server load balance * Helps prevent thrashing

SQL Manager

Expression Service

Catalog Services User Mode Scheduler (UMS)

iKosmik

Happy DBA’ing!

See you soon with another interesting crucial SQL Server concept!

Until then …

iKosmik

http://www.sqlserverapp.com/

Referenced from https://msdn.microsoft.com/en-us/library/

aa226174(v=sql.70).aspx

iKosmik