ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 134 - DP-300 discussion

Report
Export

You have SQL Server 2019 on an Azure virtual machine that runs Windows Server 2019. The virtual machine has 4 vCPUs and 28 GB of memory. You scale up the virtual machine to 8 vCPUSs and 64 GB of memory.

You need to provide the lowest latency for tempdb.

What is the total number of data files that tempdb should contain?

A.
2
Answers
A.
2
B.
4
Answers
B.
4
C.
8
Answers
C.
8
D.
64
Answers
D.
64
Suggested answer: C

Explanation:

The number of files depends on the number of (logical) processors on the machine. As a general rule, if the number of logical processors is less than or equal to eight, use the same number of data files as logical processors. If the number of logical processors is greater than eight, use eight data files and then if contention continues, increase the number of data files by multiples of 4 until the contention is reduced to acceptable levels or make changes to the workload/code.

Reference: https://docs.microsoft.com/en-us/sql/relational-databases/databases/tempdb-database

asked 02/10/2024
Salih Igde
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first