Windows Server2019を実行するAzure仮想マシン上にSQLServer2019があります。仮想マシンには4つのvCPUと28GBのメモリがあります。
仮想マシンを16個のvCPUと64GBのメモリにスケールアップします。
tempdbのレイテンシーを最小にする必要があります。
tempdbに含める必要のあるデータファイルの総数はいくつですか?
正解:D
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