ALL >> Education >> View Article
70-765 Real Exam
Case Study: 1
Automobile parts
Background
You manage the Microsoft SQL Server environment for a company that manufactures and sells automobile parts.
The environment includes the following servers: SRV1 and SRV2. SRV1 has 16 logical cores and hosts a SQL Server instance that supports a mission-critical application. The application has approximately 30,000 concurrent users and relies heavily on the use of temporary tables.
The environment also includes the following databases: DB1, DB2, and Reporting. The Reporting database is protected with Transparent Data Encryption (TDE). You plan to migrate this database to a new server. You detach the database and copy it to the new server.
You are performing tuning on a SQL Server database instance. The application which uses the database was written using an object relationship mapping (ORM) tool which maps tables as objects within the application code. There are 30 stored procedures that are regularly used by the application.
Exhibit
Question: 1
HOTSPOT
You need to optimize SRV1.
What configuration ...
... changes should you implement? To answer, select the appropriate option from each list in the answer area.
Answer:
From the scenario: SRV1 has 16 logical cores and hosts a SQL Server instance that supports a mission-critical application. The application hasapproximately 30,000 concurrent users and relies heavily on the use of temporary tables.
Box 1: Change the size of the tempdb log file.
The size and physical placement of the tempdb database can affect the performance of a system. For example, if the size that is defined for tempdb is too small, part of the system-processing load may be taken up with autogrowing tempdb to the size required to support the workload every time you restart the instance of SQL Server. You can avoid this overhead by increasing the sizes of the tempdb data and log file.
Box 2: Add additional tempdb files.
Create as many files as needed to maximize disk bandwidth. Using multiple files reduces tempdb storage contention and yields significantly better scalability. However, do not create too many files because this can reduce performance and increase management overhead. As a general guideline, create one data file for each CPU on the server (accounting for any affinity mask settings) and then adjust the number of files up or down as necessary.
Question: 2
HOTSPOT
You need to resolve the identified issues.
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic.
Answer:
From exhibit we see:
Cost Threshold of Parallelism: 5
Optimize for Ad Hoc Workloads: false
Max Degree of Parallelism: 0 (This is the default setting, which enables the server to determine the maximum degree of parallelism. It is fine.)
Locks: 0
Query Wait: -1
Box 1: Optimize for Ad Hoc Workload
Change the Optimize for Ad Hoc Workload setting from false to 1/True.
The optimize for ad hoc workloads option is used to improve the efficiency of the plan cache for workloads that contain many single use ad hoc batches. When this option is set to 1, the Database Engine stores a small compiled plan stub in the plan cache when a batch is compiled for the first time, instead of the full compiled plan. This helps to relieve memory pressure by not allowing the plan cache to become filled with compiled plans that are not reused.
yes, I am a Student and I am article author as well for CertsChief Network.
Add Comment
Education Articles
1. Mlops Online Course | Mlops Online TrainingAuthor: visualpath
2. How To Transform Traditional Business Into Digital Business
Author: Sandeep Bhansali
3. The Importance Of Synonyms For Ielts
Author: lily bloom
4. The Importance Of Early Dyslexia Diagnosis And Intervention
Author: Bradly Franklin
5. 10 Ways To Support Students Who Struggle With Reading Comprehension Skills
Author: James Carter
6. Dsssb Coaching In Rohini – Your Pathway To Success
Author: Bharat Soft Tech
7. Become A Java Pro: The Ultimate Guide To Java Design Patterns
Author: login 360
8. 5 Reasons Why Jaipur’s Top Coaching Institutes Are Perfect For Ssc, Bank & Railways Preparation
Author: power minds
9. Mastering The Gre With Edunirvana - Your Pathway To Graduate Success
Author: sharvani
10. Which Is The Best Icse School For Primary Education In Bhopal?
Author: Adity Sharma
11. Paying For Assignment Help: A Guide To Making The Right Choice
Author: liam taylor
12. Golang Training In Hyderabad | Golang Online Training
Author: Hari
13. The Top No1 Terraform Training Institute In Hyderabad
Author: SIVA
14. Best Ai With Aws Training Online | Aws Ai Certification
Author: Madhavi
15. Generative Ai Training | Best Generative Ai Course In Hyderabad
Author: Renuka