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

Sql Server Internal Architecture - Relational Engine

Jan 18, 2017

Download

Technology

SQL Server Love
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sql Server Internal Architecture - Relational Engine

SQL Server Internals

Crafted for the love ♥ of SQL Server

iKosmik

Page 2: Sql Server Internal Architecture - Relational Engine

SQL SERVER

STORAGE ENGINE

RELATIONAL ENGINE

iKosmik

Our focus in this presentation will be the

Relational Engine

Page 3: Sql Server Internal Architecture - Relational Engine

SQL SERVER RELATIONAL ENGINE

SQL Manager is the component at the heart

of SQL Server

SQL Manager

iKosmik

Page 4: Sql Server Internal Architecture - Relational Engine

T-SQL Execution

Query Execution

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

into TDS messages

SQL Manager

iKosmik

Page 5: Sql Server Internal Architecture - Relational Engine

T-SQL Execution

Query Execution

Open Data Services (ODS)

Does stuff like mathematical calculations,

filtering

SQL Manager

Expression Service

iKosmik

Page 6: Sql Server Internal Architecture - Relational Engine

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

Page 7: Sql Server Internal Architecture - Relational Engine

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

Page 8: Sql Server Internal Architecture - Relational Engine

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