SQL Server Architecture Flashcards
What are the three major components of SQL Server Architecture?
Protocol Layer, Relational Engine, and Storage Engine.
Protocol Layer:
What are the 3 types of client-server architecture?
Shared Memory: Both client and server are on the same machine.
TCP/IP: Client and Server are separated, they communicate via TCP/IP.
Named Pipes: Different machines but on a Local Intranet Connection. (Disabled by default).
What is TDS?
Tabular Data Stream. Data transfer protocol within the Protocol Layer. All 3 client-server architectures options of the Protocol Layer use this.
Relational Engine (AKA Query Processor):
What are the 3 components of the Relational Engine?
CMD Parser, Optimizer, Query Executor.
Relational Engine (AKA Query Processor):
What is the CMD Parser, what does it do?
The CMD Parser checks the submitted query for syntactic integrity, semantical integrity, and builds various query trees options.
Relational Engine (AKA Query Processor):
What is the Optimizer, what does it do?
The optimizer creates an execution plan for the query in the most cost-effective method.