Database Research & Development

  • Home
  • NoSQL
    • NoSQL
    • Cassandra
  • Databases
    • Database Theory
    • Database Designing
    • SQL Server Coding Standards
    • SQL Server
    • PostgreSQL
    • MySQL
    • Greenplum
    • Linux
  • Interviews
    • SQL Server Interviews
    • MySQL Interviews
    • SQL Puzzles
  • DBA Scripts
    • SQL Server DBA Scripts
    • PostgreSQL DBA Scripts
    • MySQL DBA Scripts
    • Greenplum DBA Scripts
  • Home
  • Blog Archives !
  • (: Laugh@dbrnd :)
  • Contact Me !
sqlserverinterviews
Home 2017 September SQL Server Interview: List out the Best Practices, after installation of SQL Server

SQL Server Interview: List out the Best Practices, after installation of SQL Server

This article is half-done without your Comment! *** Please share your thoughts via Comment ***

In this post, I am sharing an important interview question which can be asked in SQL DBA interview.

You should know at least five good points or practices that you are following after the fresh installation of SQL Server.

Please check the below few best practices, and Below is not a complete list so you guys can share more good practices via comments.

Disable Services which are not require

For example, If you installed a default SQL Instance and not going to install any other instance, disable the Brower Service.

Change the Service mode

It is recommended to change the start mode of the SQL Agent so on each server restart; the service will start automatically.

Set the Minimum and Maximum Server Memory

Set Auto growth Size for Database

Set database properties for following options

Right click on database -> go to properties -> Options
Auto Close – False
Auto Create Statistics – True
Auto Shrink – False
Auto Update Statistics – True
Auto Update Statistics Asynchronously – True

Change the default storage location of TempDB and set in another disk

Change the default Index Fill Factor

Open SSMS -> Right click on SQL Server Instance -> Go to properties -> Database Settings -> Change Default Index Fill Factor
Default Index Fill Factor is 0 or 100, means full. If your system is generating more OLTP transactions, you should set it between 80 to 90

Configure Processor for MAXDOP to achieve the parallel processing

Open SSMS -> Right click on SQL Server Instance -> Go to properties -> Advanced -> Change Max Degree of Parallelism

Change the SQL Database default locations

Open SSMS -> Right click on SQL Server Instance -> Go to properties -> Database Settings -> Change Database default locations

Change Remote Query Timeout

Open SSMS -> Right click on SQL Server Instance -> Go to properties -> Connections
The default wait is 600, you can set to 5 or 8 minutes.

Configure SQL Server Network

Open SQL Server Configuration Manager and check for SQL Server Network Configuration
Enable the TCP/IP protocol

Change the password of SA user

Remove the BUILTIN\Administrators group from the SQL Server Logins

Check the Server Authentication Mode and enable C2 Audit tracing

Open SSMS -> Right click on SQL Server Instance -> Go to properties -> Security
C2 audit is used to trace all the user activities like SQL Commands, Login, Logout, and server events

Sep 6, 2017Anvesh Patel
SQL Server 2016: Use dm_exec_session_wait_stats to check wait statistics per Session LevelSQL Puzzle: SQL Advance Query - Replace Previous Date if difference is only for One Day

Leave a Reply Cancel reply

CAPTCHA
Refresh

*

Anvesh Patel
Anvesh Patel

Database Engineer

September 6, 2017 SQL Server, SQL Server InterviewAnvesh Patel, database, database research and development, dbrnd, Installation, MAXDOP, SQL Query, SQL Server, SQL Server Administrator, SQL Server Error, SQL Server Interview, SQL Server Monitoring, SQL Server Performance Tuning, SQL Server Programming, SQL Server Tips and Tricks, TCP IP, TempDB, TSQL
About Me!

I'm Anvesh Patel, a Database Engineer certified by Oracle and IBM. I'm working as a Database Architect, Database Optimizer, Database Administrator, Database Developer. Providing the best articles and solutions for different problems in the best manner through my blogs is my passion. I have more than six years of experience with various RDBMS products like MSSQL Server, PostgreSQL, MySQL, Greenplum and currently learning and doing research on BIGData and NoSQL technology. -- Hyderabad, India.

About DBRND !

dbrnd

This is a personal blog (www.dbrnd.com).

Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.

Feel free to challenge me, disagree with me, or tell me I’m completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or anonymous comments) - so keep it polite.

The content of this website is protected by copyright. No portion of this website may be copied or replicated in any form without the written consent of the website owner.

Recent Comments !
  • Anvesh Patel { Sure will do... } – May 27, 12:43 PM
  • Anvesh Patel { Great... } – May 27, 12:41 PM
  • Anvesh Patel { Great... } – May 27, 12:39 PM
  • Anvesh Patel { Great... } – May 27, 12:36 PM
  • Anvesh Patel { Great... } – May 27, 12:28 PM
  • Anvesh Patel { Great... } – May 27, 12:27 PM
  • Anvesh Patel { Great... } – May 27, 12:16 PM
  • Older »
Follow Me !
  • facebook
  • linkedin
  • twitter
  • youtube
  • google
  • flickr
© 2015 – 2019 All rights reserved. Database Research & Development (dbrnd.com)
Posting....