SQL Server Architecture Flashcards

1
Q

What are the three major components of SQL Server Architecture?

A

Protocol Layer, Relational Engine, and Storage Engine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Protocol Layer:

What are the 3 types of client-server architecture?

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is TDS?

A

Tabular Data Stream. Data transfer protocol within the Protocol Layer. All 3 client-server architectures options of the Protocol Layer use this.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Relational Engine (AKA Query Processor):

What are the 3 components of the Relational Engine?

A

CMD Parser, Optimizer, Query Executor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Relational Engine (AKA Query Processor):

What is the CMD Parser, what does it do?

A

The CMD Parser checks the submitted query for syntactic integrity, semantical integrity, and builds various query trees options.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Relational Engine (AKA Query Processor):

What is the Optimizer, what does it do?

A

The optimizer creates an execution plan for the query in the most cost-effective method.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly