<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server Interview Questions - Techyaz.com</title>
	<atom:link href="https://techyaz.com/tag/sql-server-interview-questions/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Tips, Tutorials and How-to Topics</description>
	<lastBuildDate>Wed, 06 Jun 2018 12:05:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>SQL Server Interview Questions - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>SQL Server Replication Interview Questions &#038; Answers</title>
		<link>https://techyaz.com/interview-questions/sql-server-interview-questions/replication-qa-part-1/</link>
					<comments>https://techyaz.com/interview-questions/sql-server-interview-questions/replication-qa-part-1/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 06 Jun 2018 12:01:27 +0000</pubDate>
				<category><![CDATA[SQL Server Interview Questions]]></category>
		<category><![CDATA[DBA interview questions]]></category>
		<guid isPermaLink="false">https://techyaz.com/?p=2397</guid>

					<description><![CDATA[<p>Today i am going to write about SQL Server Replication Interview questions and answers. Read another set of interview questions and answers on other SQL Server features attached later in this article. SQL Server Replication Interview Questions &#38; Answers Question –&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/replication-qa-part-1/">SQL Server Replication Interview Questions &#038; Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today i am going to write about SQL Server Replication Interview questions and answers. Read another set of interview questions and answers on other SQL Server features attached later in this article.</p>
<p><img fetchpriority="high" decoding="async" class="size-full wp-image-2398 alignright" src="https://techyaz.com/wp-content/uploads/2018/06/Replication-Interview-QA.png" alt="SQL Server Interview Questions &amp; Answers" width="300" height="300" srcset="https://techyaz.com/wp-content/uploads/2018/06/Replication-Interview-QA.png 300w, https://techyaz.com/wp-content/uploads/2018/06/Replication-Interview-QA-150x150.png 150w, https://techyaz.com/wp-content/uploads/2018/06/Replication-Interview-QA-160x160.png 160w, https://techyaz.com/wp-content/uploads/2018/06/Replication-Interview-QA-320x320.png 320w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<h3><span style="color: #333399;">SQL Server Replication Interview Questions &amp; Answers</span></h3>
<p><strong>Question – How many Replication Agents support SQL Server Replication and what are their roles?</strong></p>
<p><strong>Answer – </strong>There are total five Replication Agents in SQL Server Replication. Here is the list of all Replication Agents with their description.</p>
<ol>
<li><strong>Snapshot Agent –</strong> This agent is used by all types of replication whether its Snapshot Replication, Merge Replication or Transactional Replication. Snapshot Agent prepares initial data files of published objects, stores the snapshot files, and records information about synchronization in the distribution database. The Snapshot Agent runs at the Distributor.</li>
<li><strong>Log Reader Agent –</strong> This replication agent is used by Transactional replication only. This Agent is very important to run transactional replication smoothly. Log Reader Agent replicates all transactions that are marked for replication from Publisher to Distributor. Every database that is marked for replication has its own log reader agent and it runs on distributor.</li>
<li><strong>Distribution Agent –</strong> This agent is responsible to move transactions from distributor to subscriber. Distribution agent is used by Snapshot and Transactional Replication. This agent runs on distributor for PUSH subscription and runs on Subscriber for PULL subscription.</li>
<li><strong>Merge Agent –</strong>The Merge Agent applies the initial snapshots to the Subscribers. It also merges incremental data changes that occurred at the Publisher or Subscribers after the initial snapshot was created, and detects and resolves any conflicts according to rules you configure. This agent also runs at either the Distributor for push subscriptions or the Subscriber for pull subscriptions.</li>
<li><strong>Queue Reader Agent &#8211;</strong> The Queue Reader Agent is used with transactional replication with the queued updating option. The agent runs at the Distributor and moves changes made at the Subscriber back to the Publisher.</li>
</ol>
<p><strong>Question – What is PUSH and PULL subscription?</strong></p>
<p><strong>Answer – </strong>These are subscription modes that defines where should your distribution, merge and queue reader agent will run.</p>
<p>When you choose PUSH subscription, data will be replicated from Publisher to Subscriber. Subscriber will act as passive and will receive data based on publisher and distributor configurations. Distribution and Merge Agent will run on distributor in this type of subscription.</p>
<p>While in PULL subscription, subscriber play a key role. Subscriber can control when it will receive data from publisher in pull subscription. Distribution and Merge Agents will also be running on subscriber in PULL subscription.</p>
<p><strong>Question &#8211; </strong><strong>What is merge replication and </strong><strong>how does it work?</strong></p>
<p><strong>Answer – </strong>Merge Replication a type of SQL Server Replication that can be used to synchronize data from publisher to subscriber or vice versa. Merge replication also starts with a snapshot of the publication database objects and data. Subsequent data changes and schema modifications made at the Publisher and Subscribers are tracked with triggers. The Subscriber synchronizes with the Publisher when connected to the network and exchanges all rows that have changed between the Publisher and Subscriber since the last time synchronization occurred. Merge replication is implemented by the SQL Server Snapshot Agent and Merge Agent. The Merge Agent applies the initial snapshots to the Subscribers. It also merges incremental data changes that occurred at the Publisher or Subscribers after the initial snapshot was created, and detects and resolves any conflicts according to rules you configure.</p>
<p><strong>Question –</strong> <strong>How many Replication Agents are used in Merge Agent?</strong></p>
<p><strong>Answer –</strong> Merge Replication uses Snapshot Agent and Merge Agent to replicate the data.</p>
<p><strong>Question –</strong> <strong>How Merge Replication tracks data changes post initial snapshot creation?</strong></p>
<p><strong>Answer &#8211;</strong> Merge replication tracks changes through triggers and metadata tables. Merge replication adds the column <em>rowguid</em> to every table, unless the table already has a column of data type <em>uniqueidentifier</em> with the <em>ROWGUIDCOL</em> property set. The <em>newid()</em> function is provided as a default for the <em>rowguid</em> column, however customers can provide a guid for each row if needed.</p>
<p><strong>Question &#8211; What is the actual location where the distributor agent runs?</strong></p>
<p><strong>Answer –</strong> Distribution agent runs on distributor instance for PUSH subscription and runs on Subscriber for PULL subscription.</p>
<p><strong>Question – Can we Rename Publication Database?</strong></p>
<p><strong>Answer – </strong>No, we cannot rename publication database directly but if we want to rename any publication database then we need to drop the publications, rename the database and re-configure replication all over again. We cannot directly rename publication database.</p>
<p><strong>Question – What is the difference between Publisher and Publication?</strong></p>
<p><strong>Answer – </strong>Publisher is the database Instance where replicated databases are hosted. Publication is the set of database objects commonly known as articles that are marked for replication.</p>
<p><strong>Question – Can we prevent DELETE commands to replicate on Subscriber that has executed on Publisher?</strong></p>
<p><strong>Answer – </strong>We can exclude DELETE commands to replicate on subscriber.</p>
<p><strong>Question – Why Subscribers are not getting data from Publisher?</strong></p>
<p><strong>Answer &#8211; </strong>There are several reasons for data not being replicated to Subscribers. Some of the reasons are given below.</p>
<ul>
<li>Replication Agents jobs are not running or failing during execution.</li>
<li>The table is filtered.</li>
<li>Data might be deleted by a trigger.</li>
<li>Replication of stored procedure execution for a transactional publication produces different results at the Subscriber.</li>
<li>Data is deleted by a user, a replication script, or another application.</li>
</ul>
<p><strong>Question – How do you check Replication Latency?</strong></p>
<p><strong>Answer – </strong>We can check replication latency either by using Replication monitor or using system stored procedure called sp_replcounters. This stored procedure gives information about the transaction rate, latency, and first and last log sequence number (LSN) for each publication on a server. This is run on the publishing server. Similar information we can get in replication monitor as well.</p>
<p><strong>Question –</strong> <strong>I want to add a column in a table that has been marked for replication. I don’t want to replicate this column to subscribers. How can we do that?</strong></p>
<p><strong>Answer &#8211;</strong> To add a new column to a table and not include that column in an existing publication, we need to disable the replication of schema changes and then execute ALTER TABLE &lt;Table_Name&gt; ADD &lt;Column_Name&gt; statement.</p>
<p><strong>Question – How can we drop an article from publication?</strong></p>
<p>Answer – We can drop any article from publication if needed. We need to launch Publication properties page then we need to select the publication from which we need to drop the identified article. To delete an article, clear the check box next to each article you want to delete then click OK.</p>
<p>I hope you like this set of SQL Server Replication Interview Questions and Answers. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p><em><strong><span style="color: #800000;">Read More:</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/interview-questions/sql-server-dba-interview-questions-answers/" target="_blank" rel="noopener">SQL Server DBA Interview Questions &amp; Answers</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-interview-questions-answers-indexes/" target="_blank" rel="noopener">SQL Server Interview Questions &amp; Answers on Indexes</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/alwayson/sql-server-alwayson-interview-questions-answers/" target="_blank" rel="noopener">Always On Availability Group Interview Questions &amp; Answers</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/backup-recovery/sql-server-backup-recovery-interview-questions-answers/" target="_blank" rel="noopener">SQL Server Backup &amp; Recovery Interview Questions</a></strong></li>
<li><strong><a href="https://techyaz.com/interview-questions/sql-server-interview-questions-answers-architecture/" target="_blank" rel="noopener">SQL Server Architecture Interview Questions &amp; Answers</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/replication-qa-part-1/">SQL Server Replication Interview Questions &#038; Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/interview-questions/sql-server-interview-questions/replication-qa-part-1/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Server Alwayson Interview Questions &#038; Answers</title>
		<link>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-alwayson-interview-questions-answers/</link>
					<comments>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-alwayson-interview-questions-answers/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 12 Feb 2018 07:43:16 +0000</pubDate>
				<category><![CDATA[AlwaysOn]]></category>
		<category><![CDATA[SQL Server Interview Questions]]></category>
		<category><![CDATA[availability group]]></category>
		<category><![CDATA[DBA interview questions]]></category>
		<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1805</guid>

					<description><![CDATA[<p>I have published SQL Server Interview Questions and Answers on many topics. Visit attached link to get All SQL Server Interview Question and Answers published on this website on different topics. Here, I am going to publish SQL Server Alwayson&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-alwayson-interview-questions-answers/">SQL Server Alwayson Interview Questions &#038; Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have published SQL Server Interview Questions and Answers on many topics. Visit attached link to get <strong><a href="http://techyaz.com/category/interview-questions/sql-server-interview-questions/" target="_blank" rel="noopener">All SQL Server Interview Question and Answers</a></strong> published on this website on different topics. Here, I am going to publish SQL Server Alwayson Interview Questions and Answers.</p>
<p><img decoding="async" class="size-full wp-image-1808 alignright" src="http://techyaz.com/wp-content/uploads/2018/02/AOAG-interview-QA.png" alt="SQL Server Alwayson Interview Questions &amp; Answers" width="300" height="300" srcset="https://techyaz.com/wp-content/uploads/2018/02/AOAG-interview-QA.png 300w, https://techyaz.com/wp-content/uploads/2018/02/AOAG-interview-QA-150x150.png 150w, https://techyaz.com/wp-content/uploads/2018/02/AOAG-interview-QA-160x160.png 160w, https://techyaz.com/wp-content/uploads/2018/02/AOAG-interview-QA-320x320.png 320w" sizes="(max-width: 300px) 100vw, 300px" /></p>
<h3><span style="color: #333399;">SQL Server Interview Questions and Answers on Alwayson</span></h3>
<p><strong>Question- How Always ON Availability Group is different from Database Mirroring?</strong></p>
<p><strong>Answer- </strong>Always On Availability Group is advanced version of Database Mirroring. We cannot configure database mirroring for more than one database per configuration whereas we can group multiple databases as one availability group and do the failover as one unit in AOAG.</p>
<p><strong>Question- How many Replicas we can create in an AOAG Configuration?</strong></p>
<p><strong>Answer- </strong>We can create single primary replica and one to eight secondary replicas in AOAG Configuration.</p>
<p><strong>Question-How many Availability groups we can create in an AOAG configuration?</strong></p>
<p><strong>Answer- </strong>The actual number of availability groups you can create on a Server depends on the hardware and workload, but there is no enforced limit.</p>
<p><strong>Question-How many databases can be added in an AOAG configuration?</strong></p>
<p><strong>Answer- </strong>The actual number of databases you add to the AOAG depends on the available worker threads on the server, as such there is no enforced limit for databases as well.</p>
<p><strong>Question- I have an AOAG configuration between an FCI and standalone server. Why AOAG is not able to perform automatic failover?</strong></p>
<p><strong>Answer- </strong>Automatic Failover is not supported for Availability groups that are configured on Failover Cluster Instances. That is why AOAG is not able to perform automatic failover on such configurations.</p>
<p><strong>Question-What are basic prerequisites for a database to be a part of AOAG?</strong></p>
<p><strong>Answer-</strong>Below are the list of prerequisites for a database that needs to be added in Availability Group.</p>
<ol>
<li>Database should be Online for Read-Write Operation.</li>
<li>Database must be in Full Recovery Model.</li>
<li>Database should be a user database because you cannot configure AOAG for system database.</li>
</ol>
<p><strong>Question-Can we configure database mirroring on a database that is part of Availability group?</strong></p>
<p><strong>Answer- </strong>No, we cannot configure database mirroring for an availability database.</p>
<p><strong>Question- Can we configure Log shipping for a database that is part of Availability Group?</strong></p>
<p><strong>Answer-</strong>Yes, we can configure Log shipping for an availability database.</p>
<p><strong>Question- Can we configure Replication for a database that is part of availability group?</strong></p>
<p><strong>Answer- </strong>Yes, we can configure replication of a AOAG database.</p>
<p><strong>Question- Can we configure AOAG for master database or any system databases?</strong></p>
<p><strong>Answer- </strong>No, we cannot create AOAG for system database.</p>
<p><strong>Question- What is difference between Synchronous-commit mode and Asynchronous-commit mode?</strong></p>
<p><strong>Answer- </strong>Under synchronous-commit mode, primary replica waits for a synchronous-commit secondary replica to acknowledge that it has finished hardening the log before committing transactions on primary replica.</p>
<p>Under asynchronous-commit mode, the primary replica commits transactions without waiting for acknowledgement that an asynchronous-commit secondary replica has hardened the log.</p>
<p><strong>Question- What are the benefits of Readable Secondary Replicas?</strong></p>
<p><strong>Answer- </strong>Readable Secondary Replicas can be used for reporting purpose. We can divide some workload from primary replica and route all SELECT statements to run on readable secondary replicas. Even we can run database backups as well from these secondary replicas.</p>
<p><strong>Question- How can we run backups from secondary replicas?</strong></p>
<p><strong>Answer- </strong>Performing backups on a secondary replica to offload the backup workload from the primary production server is a great benefit.  We can perform log backups and copy_only full backups from secondary replicas. We need to change Backup Preferences setting of AOAG configuration to run these backups from secondary replica. Read below attached article to <a href="http://techyaz.com/sql-server/alwayson/understanding-sql-server-backup-databases-availability-group/"><strong><u>understand AOAG Backup Preferences and how it works</u></strong></a>.</p>
<p><strong>Question-If one of your availability database got corrupted or showing in suspect mode, will AOAG initiate failover to secondary replica?</strong></p>
<p><strong>Answer- </strong>No, failover will not be initiated due to any issue at database level.</p>
<p><strong>Question- Can we configure AOAG of a database that is running in bulk logged recovery model?</strong></p>
<p><strong>Answer- </strong>No, database must be in full recovery model to configure AOAG.</p>
<p><strong>Question- Can we redirect the read only transactions to secondary replica instead of primary replica?</strong></p>
<p><strong>Answer- </strong>Yes, we can specify the <em>read_only</em> intent in the connection string and add only secondary replicas to the <em>read_only_routing</em> list.</p>
<p><strong>Question- What is read intent option?</strong></p>
<p><strong>Answer- </strong>If Read Intent option is set that means read-only connections are allowed to secondary databases on secondary replica.</p>
<p><strong>Question- What is default settings for read intent or read access transactions?</strong></p>
<p><strong>Answer- </strong>By default both read-write and read-intent access are allowed to the primary replica and no connections are allowed to secondary replicas of an Always On availability group.</p>
<p><strong>Question- Why is asynchronous commit mode is faster than synchronous commit mode?</strong></p>
<p><strong>Answer- </strong>Asynchronous-commit is faster because primary replica does not wait for any acknowledgement received from secondary replica to harden the logs there. Read More about these in attached article <a href="http://techyaz.com/sql-server/alwayson/alwayson-availability-group/"><strong><u>Always On Availability Group</u></strong></a><strong><u>.</u></strong></p>
<p><strong>Question- Is it necessary to have shared storage for AOAG?</strong></p>
<p><strong>Answer- </strong>No, it is not necessary to have shared storage of AOAG.</p>
<p><strong>Question- Can we configure AOAG without windows cluster?</strong></p>
<p><strong>Answer- </strong>We can create clusterless AOAG in SQL Server 2017 but rest of all previous version you must have windows cluster to create AOAG.</p>
<p><strong>Question- Can we restore a database participating in Always on Availability Group?</strong></p>
<p><strong>Answer- </strong>No, we cannot restore a database that is participated in AOAG. Neither we can delete or drop these databases.</p>
<p><strong>Question-</strong> <strong>How can we Restore a database that is participated in AOAG?</strong></p>
<p><strong>Answer-</strong> To Restore a database that is part of Availability Group, first we need to remove it from availability group. Once database will be removed from availability group, you can restore it and later you can add it to the same availability group. Read attached article to learn <a href="http://techyaz.com/sql-server/alwayson/restore-database-participating-alwayson-availability-group/"><strong><u>how to restore a database that is part of AOAG</u></strong>.</a></p>
<p><strong>Question- What will be the difference between configuring AOAG in multi-subnet network and same subnet network?</strong></p>
<p><strong>Answer- </strong>When we need to configure AOAG between multi-subnet cluster, we need to have one IP from each subnet to configure Listener whereas we need only one IP for listener in same subnet<strong>. </strong></p>
<p>I hope you like this set of SQL Server Interview Questions &amp; Answers on Alwayson Availability Group. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook page</a> and<u> </u><a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p><em><strong><span style="color: #800000;">Read More Interview Questions:</span></strong></em></p>
<ul>
<li><strong><a href="http://techyaz.com/interview-questions/sql-server-interview-questions-answers-architecture/" target="_blank" rel="noopener">SQL Server Interview Q&amp;A on Architecture</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-interview-questions-answers-indexes/" target="_blank" rel="noopener">SQL Server Interview Q&amp;A on Indexes</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/backup-recovery/sql-server-backup-recovery-interview-questions-answers/" target="_blank" rel="noopener">MSSQL Backup and Recovery Interview Q&amp;A</a></strong></li>
<li><strong><a href="http://techyaz.com/interview-questions/sql-server-dba-interview-questions-answers/" target="_blank" rel="noopener">SQL Server General DBA Interview Q&amp;A</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-alwayson-interview-questions-answers/">SQL Server Alwayson Interview Questions &#038; Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-alwayson-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Should We Clear Wait Statistics Data from DMV sys.dm_os_wait_stats in SQL Server?</title>
		<link>https://techyaz.com/sql-server/performance-tuning/clear-wait-statistics-data-sql-server/</link>
					<comments>https://techyaz.com/sql-server/performance-tuning/clear-wait-statistics-data-sql-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Thu, 28 Dec 2017 14:46:54 +0000</pubDate>
				<category><![CDATA[DBCC & DMVs]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[SQL Server Interview Questions]]></category>
		<category><![CDATA[DBA interview questions]]></category>
		<category><![CDATA[DBCC]]></category>
		<category><![CDATA[dmv]]></category>
		<category><![CDATA[performance tuning]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[wait statistics]]></category>
		<category><![CDATA[Waittypes]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1412</guid>

					<description><![CDATA[<p>Should we clear or reset Performance Wait Statistics Data present in DMV sys.dm_os_wait_stats in SQL Server? The answer to this question is depends on case to case. Ideally, you should not clear your wait statistics data frequently. Best way is Do Not clear wait&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/performance-tuning/clear-wait-statistics-data-sql-server/">Should We Clear Wait Statistics Data from DMV sys.dm_os_wait_stats in SQL Server?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Should we clear or reset Performance Wait Statistics Data present in DMV <strong>sys.dm_os_wait_stats </strong>in SQL Server? The answer to this question is depends on case to case. Ideally, you should not clear your wait statistics data frequently. Best way is Do Not clear wait stats data until it is required to gather information for any performance issue. Although, clearing wait stats has no impact on SQL Server performance. It will just remove information related to accumulated wait stats.</p>
<h5><span style="color: #333399;">Should We Clear Wait Stats Data in SQL Server?</span></h5>
<p>We do not recommend to clear the wait stats data frequently because all valuable information about wait statistics will be vanished if you clear them. Always try to capture wait statistics information before clearing wait stats. This way you would have both before and after data. You can use <strong>sys.dm_os_wait_stats</strong> DMV to get the SQL Server wait statistics information.</p>
<p>Generally, we reset or clear wait stats information to capture actual data during a given time duration because this DMV does not show only current data. The DMV sys.dm_os_wait_stats accumulates all the counts and wait times since last time SQL Server started or its stats got cleared by dbcc sqlperf command.</p>
<p>Here I will show you how to clear the SQL Server wait statistics and the difference between data captured before clearing the wait stats and after clearing the wait stats.</p>
<h5><span style="color: #333399;">Get Wait Statistics Data</span></h5>
<p>The DMV sys.dm_os_wait_stats provides essential metrics for diagnosing SQL Server performance problems. This DMV captures all the details like waiting requests counts, signal waits and waiting time since last time SQL Server instance got started or last time you have cleared your wait stats using DBCC SQLPERF command. Run below command to get performance wait stats details of your SQL Server instance.</p>
<pre><strong><span style="color: #008000;">--Get Wait Statistics using DMV sys.dm_os_wait_stats</span>
<span style="color: #0000ff;">SELECT * FROM sys.dm_os_wait_stats
Order by wait_time_ms desc
</span></strong></pre>
<p>You can see the details about all the wait types on your SQL Server instance. You can also see the total wait time in milliseconds. This data is very important if you are dealing with any performance issue but as i discussed above details like total wait time, total waiting tasks counts are the accumulated/incremental values.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-1414" src="http://techyaz.com/wp-content/uploads/2017/12/1-Get-wait-stats.jpg" alt="Get SQL Server Wait Stats Data" width="643" height="300" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-Get-wait-stats.jpg 643w, https://techyaz.com/wp-content/uploads/2017/12/1-Get-wait-stats-300x140.jpg 300w" sizes="(max-width: 643px) 100vw, 643px" /></p>
<h5><span style="color: #333399;">Reset or CLEAR Wait Statistics</span></h5>
<p>Now you have captured wait stats information since your SQL Server was started. If you want to get only current waiting task counts or waiting time then you need to reset or clear wait statistics data using dbcc sqlperf command. Run below command to clear all wait stats data on your SQL Server Instance.</p>
<pre><strong><span style="color: #0000ff;">DBCC SQLPERF(“sys.dm_os_wait_stats”, CLEAR)
</span></strong></pre>
<p>You can see I have successfully executed this command in below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1415" src="http://techyaz.com/wp-content/uploads/2017/12/2-Clear-wait-stats.jpg" alt="Clear Wait Stats" width="689" height="121" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-Clear-wait-stats.jpg 689w, https://techyaz.com/wp-content/uploads/2017/12/2-Clear-wait-stats-300x53.jpg 300w" sizes="auto, (max-width: 689px) 100vw, 689px" /></p>
<p>Now we will again run same command to get the wait statistics data. I ran it and I get below information that is showing different than the one showing before clearing wait stats.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1416" src="http://techyaz.com/wp-content/uploads/2017/12/3-Check-wait-stats-after-resetting-wait-stats.jpg" alt="Get wait stats after clearing its older data" width="804" height="283" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-Check-wait-stats-after-resetting-wait-stats.jpg 804w, https://techyaz.com/wp-content/uploads/2017/12/3-Check-wait-stats-after-resetting-wait-stats-300x106.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/3-Check-wait-stats-after-resetting-wait-stats-768x270.jpg 768w" sizes="auto, (max-width: 804px) 100vw, 804px" /></p>
<p>You can see how you will lose valuable information if you will clear your wait stats without capture its earlier data. This way you can also better analyze your database wait types, waiting tasks to reach on any conclusion to fix the issue.</p>
<p><em><strong><span style="color: #800000;">Related Articles</span></strong></em></p>
<ul>
<li><a href="http://techyaz.com/sql-server/what-is-sql-server-wait-type-or-how-to-get-wait-type-info-in-sql-server/">Understanding SQL Server Wait types</a></li>
<li><a href="http://techyaz.com/sql-server/identify-disk-bottleneck-using-perfmon-counters/" target="_blank" rel="noopener">Identify Disk Bottleneck in SQL Server using Perfmon Disk Counters</a></li>
<li><a href="http://techyaz.com/sql-server/resource_semaphore-wait-type/" target="_blank" rel="noopener">Understanding Resource_Semaphore wait type</a></li>
</ul>
<p>Now you understand that we should not reset or clear wait stats frequently because wait stats data is very crucial to deal with any performance issue. You can reset or clear the wait stats but make sure to capture the data before clearing the wait stats. I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/performance-tuning/clear-wait-statistics-data-sql-server/">Should We Clear Wait Statistics Data from DMV sys.dm_os_wait_stats in SQL Server?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/performance-tuning/clear-wait-statistics-data-sql-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Server Interview Questions &#038; Answers on Indexes</title>
		<link>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-indexes/</link>
					<comments>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-indexes/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 04 Dec 2017 10:05:32 +0000</pubDate>
				<category><![CDATA[Indexes]]></category>
		<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Interview Questions]]></category>
		<category><![CDATA[Clustered Index]]></category>
		<category><![CDATA[DBA interview questions]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Nonclustered Index]]></category>
		<category><![CDATA[SQL Server Indexes]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1277</guid>

					<description><![CDATA[<p>This article is part of SQL Server interview questions &#38; answers series. Today, i am covering SQL Server Interview Questions &#38; Answers on Indexes. You can have a look at the last few series of interview questions and answers on different&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-indexes/">SQL Server Interview Questions &#038; Answers on Indexes</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This article is part of SQL Server interview questions &amp; answers series. Today, i am covering SQL Server Interview Questions &amp; Answers on Indexes. You can have a look at the last few series of interview questions and answers on different SQL Server topics. Read this article to learn SQL Server interview questions on indexes.</p>
<p><em><span style="color: #800000;"><strong>Related Articles:</strong></span></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/alwayson/sql-server-alwayson-interview-questions-answers/" target="_blank" rel="noopener">SQL Server Interview Q&amp;A on Alwayson Availability Group</a></strong></li>
<li><strong><a href="https://techyaz.com/interview-questions/sql-server-dba-interview-questions-answers/" target="_blank" rel="noopener">SQL Server DBA Interview Questions &amp; Answers</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/backup-recovery/sql-server-backup-recovery-interview-questions-answers/" target="_blank" rel="noopener">SQL Server Backup &amp; Recovery Interview Questions &amp; Answers</a></strong></li>
<li><strong><a href="https://techyaz.com/interview-questions/sql-server-interview-questions-answers-architecture/" target="_blank" rel="noopener">SQL Server Architecture Interview Questions &amp; Answers</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/difference-index-rebuild-reorganize/" target="_blank" rel="noopener">Index Rebuild vs Index Reorganize Operation</a></strong></li>
</ul>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1279 size-full" src="http://techyaz.com/wp-content/uploads/2017/11/SQL-Server-Interview-Questions-and-Answers-on-Indexes.png" alt="SQL Server Interview Questions and Answers on Indexes" width="560" height="315" srcset="https://techyaz.com/wp-content/uploads/2017/11/SQL-Server-Interview-Questions-and-Answers-on-Indexes.png 560w, https://techyaz.com/wp-content/uploads/2017/11/SQL-Server-Interview-Questions-and-Answers-on-Indexes-300x169.png 300w" sizes="auto, (max-width: 560px) 100vw, 560px" /></p>
<h3><span style="color: #333399;">SQL Server Interview Questions &amp; Answers on Indexes</span></h3>
<p><strong>Question &#8211; How data stores in Indexes?</strong></p>
<p><strong>Answer &#8211; </strong>Data stores in indexes or in tables on a series of 8 kb <a href="https://techyaz.com/sql-server/understanding-sql-server-data-files-pages-extents/" target="_blank" rel="noopener">data pages</a>. <a href="https://techyaz.com/sql-server/understanding-sql-server-indexes/" target="_blank" rel="noopener">Indexes</a> Data on these data pages are organized in a B-Tree structure that supports fast retrieval of the rows, based on their index key values. Each page in an index B-tree is called an index node. The top node of the B-tree is called the root node. The bottom level of nodes in the index is called the leaf nodes. The leaf nodes of a <a href="https://techyaz.com/sql-server/understanding-sql-server-indexes/" target="_blank" rel="noopener">nonclustered index</a> is made up of index pages instead of data pages whereas in a <a href="https://techyaz.com/sql-server/understanding-sql-server-indexes/" target="_blank" rel="noopener">clustered index</a>, the leaf nodes contain the data pages.</p>
<p><strong>Question &#8211; What is Fill Factor and what should be the perfect value for it?</strong></p>
<p><strong>Answer &#8211; </strong>A fill factor value determines the percentage of space on each leaf-level page to be filled with data, reserving the remainder on each page as free space for future growth. Fill factor values 0 and 100 are the same in all respects. The fill-factor option is provided for fine-tuning index data storage and performance. Although, there is no defined value that we can say is perfect value for fill factor. You can set it to somewhere around 80% and monitor fragmentation over time. Then, you can tweak its value up or down depending on how fragmented the indexes get. Read more about <a href="https://techyaz.com/sql-server/what-should-be-the-best-value-for-fill-factor-in-sql-server/" target="_blank" rel="noopener">fill factor and its best value</a>.</p>
<p><strong>Question &#8211; Explain Page Split and whether it is good for SQL Server or bad?</strong></p>
<p><strong>Answer &#8211; </strong>Whenever you update existing rows with the data that is bigger in size to save on their data page then Page Split operation occur to make space for this new update. <a href="https://techyaz.com/sql-server/how-to-avoid-page-split-in-sql-server/" target="_blank" rel="noopener">Page split reduces performance</a> so we can say page split is not at all a good thing for our database.</p>
<p><strong>Question &#8211; How page split is bad for performance?</strong></p>
<p><strong>Answer &#8211; </strong><a href="https://techyaz.com/sql-server/how-to-avoid-page-split-in-sql-server/" target="_blank" rel="noopener">Page split is a resource intensive operation</a> and causes <a href="https://techyaz.com/sql-server/difference-index-rebuild-reorganize/" target="_blank" rel="noopener">fragmentation</a> that leads to deficient performance in terms of increased I/O operations. We should take it seriously if there are frequent page splits occur and consider reducing its occurrences</p>
<p><b>Question &#8211; What is Difference between clustered and nonclustered Indexes?</b></p>
<p><strong>Answer &#8211; </strong><a href="https://techyaz.com/sql-server/understanding-sql-server-indexes/" target="_blank" rel="noopener">Clustered indexes</a> sort and store the data rows in the table or view based on their key values. There can be only one clustered index per table, because the data rows themselves can be sorted in only one order.</p>
<p><a href="https://techyaz.com/sql-server/understanding-sql-server-indexes/" target="_blank" rel="noopener">Nonclustered indexes</a> have the same B-tree structure as clustered indexes. The data rows of the underlying table are not sorted and stored in order based on their non clustered keys. The leaf layer of a nonclustered index is made up of index pages instead of data pages. You can create up to 999 nonclustered indexes on a table.<strong> </strong></p>
<p><strong>Question &#8211; Does indexes always improve database performance?</strong></p>
<p><strong>Answer &#8211; </strong>NO, sometimes indexes can reduce your database performance if you are running a bulk data upload or your application has a nature of frequent data Insert operations. Indexes are very useful if you are accessing or reading the data.</p>
<p><strong>Question &#8211; What is filter index?</strong></p>
<p><strong>Answer &#8211;  </strong>An optimized nonclustered index, especially suited to cover queries that select from a well-defined subset of data. It uses a filter predicate to index a portion of rows in the table. A well-designed filtered index can improve query performance, reduce index maintenance costs, and reduce index storage costs compared with full-table indexes. <strong> </strong></p>
<p><strong>Question &#8211; What is covering index?</strong></p>
<p><strong>Answer &#8211; </strong>A covering index is one which can satisfy all requested columns in a query without performing a further lookup into the clustered index.</p>
<p><strong>Question &#8211; Explain column store index?</strong></p>
<p><strong>Answer &#8211; </strong>An in-memory columnstore index stores and manages data by using column-based data storage and column-based query processing.</p>
<p>Columnstore indexes work well for data warehousing workloads that primarily perform bulk loads and read-only queries.<strong> </strong></p>
<p><strong>Question &#8211; Why can’t a table have more than one clustered indexes?</strong></p>
<p><strong>Answer &#8211; </strong>Clustered indexes sort and store the data rows in the table or view based on their key values so you can’t store data in table based on two index key that’s why you can create only one cluster index on a table.</p>
<p><strong>Question -What is Heap and when it is useful from clustered table?</strong></p>
<p><strong>Answer &#8211; </strong>Heap is a table without having cluster indexes. Heaps are generally useful if you are running huge bulk data load or frequent DML operations.</p>
<p><strong>Question &#8211; How do you find about missing indexes that you need to create to improve database performance?</strong></p>
<p><strong>Answer &#8211; </strong>We can run SQL Server database Tuning Advisor that will suggests us about all the missing indexes that we should create to improve db performance. We can also use DMVs related to missing indexes sys.dm_db_missing_index_details, sys.dm_db_missing_index_groups and sys.dm_db_missing_index_columns to get these details.</p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-indexes/">SQL Server Interview Questions &#038; Answers on Indexes</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-indexes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Server Backup &#038; Recovery Interview Questions &#038; Answers</title>
		<link>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-backup-recovery-interview-questions-answers/</link>
					<comments>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-backup-recovery-interview-questions-answers/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 11 Oct 2017 20:22:27 +0000</pubDate>
				<category><![CDATA[Backup & Recovery]]></category>
		<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[SQL Server Interview Questions]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[restore]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1054</guid>

					<description><![CDATA[<p>This article is based on SQL Server backup &#38; recovery interview questions and answers. You can access SQL Server Architecture based interview questions and General DBA related interview questions in attached links. Feel free to counter on any point that is&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-backup-recovery-interview-questions-answers/">SQL Server Backup &#038; Recovery Interview Questions &#038; Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This article is based on SQL Server backup &amp; recovery interview questions and answers. You can access <a href="http://techyaz.com/interview-questions/sql-server-interview-questions-answers-architecture/" target="_blank" rel="noopener">SQL Server Architecture based interview questions</a> and <a href="http://techyaz.com/interview-questions/sql-server-dba-interview-questions-answers/" target="_blank" rel="noopener">General DBA related interview questions</a> in attached links. Feel free to counter on any point that is not correct or where you are not agree. We will discuss and love to hear your expert advise. You can access <strong><a href="http://techyaz.com/category/interview-questions/sql-server-interview-questions/" target="_blank" rel="noopener">All SQL Server Interview Questions and Answers</a></strong> on different topics in attached link.</p>
<h3><span style="color: #333399;">SQL Server Backup &amp; Recovery Interview Questions</span></h3>
<p><strong>Question-</strong> <strong>What is Minimal Logging and how is it different from Full Logging?</strong></p>
<p><strong>Answer-</strong> Minimal logging involves logging only information that is required to recover the transaction without supporting <a href="http://techyaz.com/sql-server/point-in-time-recovery/" target="_blank" rel="noopener">point-in-time recovery</a>. Under the <a href="http://techyaz.com/sql-server/understanding-sql-server-recovery-model/" target="_blank" rel="noopener">full recovery model</a>, all bulk operations are fully logged. However, you can minimize logging for a set of bulk operations by switching the database to the <a href="http://techyaz.com/sql-server/understanding-sql-server-recovery-model/" target="_blank" rel="noopener">bulk-logged recovery model</a> temporarily for bulk operations.</p>
<p>Minimal logging is more efficient than full logging, and it reduces the possibility of a large-scale bulk operation filling the available <a href="http://techyaz.com/sql-server/understanding-transaction-log-architecture/" target="_blank" rel="noopener">transaction log</a> space during a bulk transaction. However, if the database is damaged or lost when minimal logging is in effect, you cannot recover the database to the point of failure.</p>
<p><img loading="lazy" decoding="async" class="wp-image-1059 alignleft" src="http://techyaz.com/wp-content/uploads/2017/10/Interview_QuestionsAnswers-300x284.jpg" alt="" width="378" height="358" srcset="https://techyaz.com/wp-content/uploads/2017/10/Interview_QuestionsAnswers-300x284.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/Interview_QuestionsAnswers.jpg 716w" sizes="auto, (max-width: 378px) 100vw, 378px" /></p>
<p><strong>Question-</strong> <strong>Can you name few operations that logs Minimally during bulk-recovery model?</strong></p>
<p><strong>Answer-</strong> The following operations, which are fully logged under the full recovery model, are minimally logged under bulk-logged recovery model:</p>
<ol>
<li>Bulk import operations (bcp, BULK INSERT, and INSERT&#8230; SELECT).</li>
<li>SELECT INTO operations</li>
<li>CREATE INDEX operations</li>
<li>ALTER INDEX REBUILD or DBCC DBREINDEX operations.</li>
<li>DROP INDEX new heap rebuild</li>
</ol>
<p><strong>Question- If I change my database recovery model from FULL to SIMPLE, does transactions will be logged in to log file?</strong></p>
<p><strong>Answer-</strong> Yes, Transactions will be logged in SIMPLE recovery model as well. The difference is all logged transactions will be cleared during checkpoint operation in this recovery model. Read more about <a href="http://techyaz.com/sql-server/checkpoint/" target="_blank" rel="noopener">Checkpoint operations</a> &amp; <a href="http://techyaz.com/sql-server/understanding-sql-server-recovery-model/" target="_blank" rel="noopener">SQL Server Recovery Models</a>.</p>
<p><strong>Question-</strong> <strong>If yes in above question then how is SIMPLE RECOVERY Model different from FULL Recovery Model?</strong></p>
<p><strong>Answer-</strong> All logged transactions will be cleared during checkpoint operation and transaction log backup is not allowed so point-in-time recovery is not possible in SIMPLE recovery model. Whereas transaction backup is allowed in full recovery model and point-in-time recovery is also supported. Logs got cleared only after taking log backup or switching the recovery model to SIMPLE.</p>
<p><strong>Question-</strong> <strong>Can we achieve point-in-time recovery in Bulk-logged Recovery Model?</strong></p>
<p><strong>Answer-</strong> Yes, if there is no bulk operation performed on your database and you have all log backups. Point-in-time recovery is not possible if your recovery point falls falls in-between any bulk operations. .</p>
<p><strong>Question-</strong> <strong>How differential backup works?</strong> <strong>or</strong></p>
<p><strong>How differential backup captures only updated data since full backup in its dump file?</strong></p>
<p><strong>Answer-</strong> <a href="http://techyaz.com/sql-server/understanding-sql-server-data-files-pages-extents/" target="_blank" rel="noopener">Differential Changed Map</a> is a page type that stores information about extents that have changed since the last full backup. Database engine reads just the DCM pages to determine which extents have been modified and captures those extents in differential backup file.</p>
<p><strong>Question-</strong> <strong>Why cannot we serve copy-only backup  as a differential base or differential backup?</strong></p>
<p><strong>Answer-</strong> The differential changed map page is not updated by a <a href="http://techyaz.com/sql-server/understanding-sql-server-backups/" target="_blank" rel="noopener">copy-only backup</a>. Therefore, a copy-only backup cannot serve as a differential base or differential backup. A copy-only backup does not affect subsequent differential backups.</p>
<p><strong>Question-</strong> <strong>Why a database log file is growing like anything that is running in <a href="http://techyaz.com/sql-server/understanding-sql-server-recovery-model/" target="_blank" rel="noopener">SIMPLE Recovery Model</a>?</strong></p>
<p><strong>Answer-</strong> It means some transactions are active and running on your database.  As we know logs are captured in simple recovery model as well so that active transaction is getting logged there. The inactive portion in log file clears during checkpoint operation.</p>
<p><strong>Question- Can we restore a database till the specific time?</strong></p>
<p><strong>Answer-</strong> Yes, if database is running in full recovery model and database has log backups till that specific time. We can use STOPAT clause to recover till a specific time.</p>
<p><strong>Question-</strong> <strong>Suppose we are running Daily full backup at 8PM in night and every half an hour transaction log backup. Now your database is crashed at 3.41PM. How will you recover your database to the point it was crashed?</strong></p>
<p><strong>Answer- </strong>Below steps we will perform in a sequence manner to recover this database to the point it was crashed.</p>
<ul>
<li>First we will run <strong>tail log backup</strong> to capture all transactions that are not captured in previous log backups at the point database was crashed.</li>
<li>Restore last night<strong> Full backup</strong> with NORECOVERY that was taken at 8PM.</li>
<li>Apply <strong>all transaction log backup since last night full backup</strong> with norecovery.</li>
<li>Apply <strong>tail log backup</strong> on the database with recovery and with <strong>STOPAT</strong> parameter.<strong> </strong></li>
</ul>
<p><strong>Question- Take the same scenario as above, now you found that there is one log file let’s say at 2 PM got corrupted and not restorable. What will be the impact on your database recovery?</strong></p>
<p><strong>Answer-</strong>  We cannot recover this database till that point it was crashed and we would have last data till 1.30PM considering log backup runs on every half an hour.</p>
<p><strong>Question-</strong> <strong>Suppose we are running Weekly Sunday full backup at 8PM, daily differential backup at 10PM and every half an hour transaction log backup. Now your database is crashed on Saturday 3.11PM. What would be your fastest way to recover this database in point in time?</strong></p>
<p><strong>Answer-  </strong>We will perform below steps to recover this database in point-in-time:</p>
<ol>
<li>Try to run <strong>tail log backup</strong> at the point database was crashed.</li>
<li>Restore latest Weekly <strong>Sunday Full backup</strong> with NORECOVERY that was taken at 8PM.</li>
<li>Restore <strong>Friday night differential backup</strong> with NORECOVERY that was taken at 10PM.</li>
<li>Apply <strong>all transaction log backup since Friday differential backup</strong> with norecovery.</li>
<li>Apply <strong>tail log backup</strong> on the database with recovery and with <strong>STOPAT</strong> parameter.<strong> </strong></li>
</ol>
<p><strong>Question-</strong> <strong>In addition to above question, suppose you came to know that Friday night differential backup was corrupted then what would be your strategy to recovery the database in point-in time?</strong></p>
<p><strong>Answer- </strong>We will perform below steps to recover this database in point-in-time:</p>
<ol>
<li>Try to run <strong>tail log backup</strong> at the point database was crashed.</li>
<li>Restore latest Weekly <strong>Sunday Full backup</strong> with NORECOVERY that was taken at 8PM.</li>
<li>Restore <strong><span style="color: #ff0000;">Thursday </span>night differential backup</strong> with NORECOVERY that was taken at 10PM.</li>
<li>Apply <strong>all transaction log backup since <span style="color: #ff0000;">Thursday</span> night differential backup</strong> with norecovery.</li>
<li>Apply <strong>tail log backup</strong> on the database with recovery and with <strong>STOPAT</strong> parameter.<strong> </strong></li>
</ol>
<p><strong>Question-</strong> <strong>Suppose you came to know that differential backups ran on Monday and Wednesday are corrupted and you have only Tuesday and Thursday differential backups along with full backup and all log backups. Explain your sequence to restore the database?</strong></p>
<p><strong>Answer-</strong> We will follow same sequence that we follow in previous question. We will apply weekly full backup then Thursday differential backup along with all transaction log backups.</p>
<p><strong>Question-</strong> <strong>How will you restore tempdb?</strong></p>
<p><strong>Answer-</strong> We should not restore tempdb as it’s a temporary database and created everytime we restart SQL Server service.</p>
<p><strong>Question-</strong> <strong>What is COPY_ONLY full backup and how it is different from regular full backups?</strong></p>
<p><strong>Answer-</strong> Difference between regular full and copy-only full backup is that copy-only full backup does not break the differential chain. Neither of them breaks the log chain as neither of them truncates the log file. A copy-only backup cannot serve as a differential base or differential backup and does not affect the differential base.</p>
<p>Please Like, Share and comment us about your feedback. I hope you like this article. You can comment your questions in below section. Please follow our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p><span style="color: #800000;"><em><strong>Read More Interview Q&amp;A:</strong></em></span></p>
<ul>
<li><strong><a href="http://techyaz.com/sql-server/alwayson/sql-server-alwayson-interview-questions-answers/" target="_blank" rel="noopener">SQL Server Interview Q&amp;A on Alwayson Availability Group</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-interview-questions-answers-indexes/" target="_blank" rel="noopener">SQL Server Interview Q&amp;A on Indexes</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-backup-recovery-interview-questions-answers/">SQL Server Backup &#038; Recovery Interview Questions &#038; Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-backup-recovery-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Server DBA Interview Questions &#038; Answers</title>
		<link>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-dba-interview-questions-answers/</link>
					<comments>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-dba-interview-questions-answers/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Fri, 29 Sep 2017 12:01:33 +0000</pubDate>
				<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[SQL Server Interview Questions]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[DBA interview questions]]></category>
		<category><![CDATA[Interview]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1007</guid>

					<description><![CDATA[<p>This is second series of SQL Server DBA Interview questions &#38; answers. I have published SQL Server Interview questions &#38; answers on Database Basics and Architecture in attached article. Here, you will have another round of SQL Server DBA Interview&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-dba-interview-questions-answers/">SQL Server DBA Interview Questions &#038; Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is second series of SQL Server DBA Interview questions &amp; answers. I have published<strong> <a href="https://techyaz.com/interview-questions/sql-server-interview-questions-answers-architecture/" target="_blank" rel="noopener">SQL Server Interview questions &amp; answers on Database Basics and Architecture</a></strong> in attached article. Here, you will have another round of SQL Server DBA Interview questions based on general database administration.</p>
<h3><span style="color: #000080;">SQL Server DBA Interview Questions and Answers</span></h3>
<p><strong>Question-</strong> <strong>What is your troubleshooting strategy? Suppose a user reported an issue, how will you start to fix the issue?</strong></p>
<p><strong>Answer-</strong> A good troubleshooters are those who understand the in-depth information about the product\features where issue arises. To fix any issue, we should follow below points.</p>
<ol>
<li>First we should understand the issue/error codes, ask questions to the user about when and how they get error.</li>
<li>If we are not getting anything from step 2,  we need to read error log file, Job history log, and Event log files based on the nature of the issue.</li>
<li>Look into SQL Server transactions and analyze the wait types and other parameters like CPU, IO, Memory if it is related to performance issue.</li>
<li>If we are still not getting any solution, try to search the error on social sites or take help from your seniors because you are not the only one who has received this error.</li>
</ol>
<p><strong>Question-</strong> <strong>Tell me in which sequence SQL Server databases come ONLINE after starting or restarting a SQL Server Instance.</strong></p>
<p><strong>Answer-</strong> There is no defined sequence for user databases to come online. Although, below is the sequence in which system databases come online. User databases can come online anytime after master database become accessible.</p>
<ol>
<li>Master</li>
<li>MSDB</li>
<li>ResourceDB (Although this database is not visible in SSMS)</li>
<li>Model</li>
<li>Tempdb</li>
</ol>
<p><strong>Question-</strong> <strong>What should be the optimum AutoGrowth size for SQL Server databases?</strong></p>
<p><strong>Answer-</strong> Optimum Autogrowth size of any database file is based on the data growth. We should analyze the data growth and set autogrowth size accordingly. Ideally, Microsoft suggests to keep one-eighth of the size of data file. Read attached article to <a href="https://techyaz.com/sql-server/understanding-database-autogrowth-sql-server/" target="_blank" rel="noopener">Understand database Autogrowth in SQL Server</a>.</p>
<p><strong>Question-</strong> <strong>How will you check the total number of autogrowth events occurred on your database?</strong></p>
<p><strong>Answer-</strong> You can get it by running <strong>Disk Usage</strong> dashboard report of any database. There is a section of all autogrowth and auto shrink events occurred on the database. Have a look in the attached article where i have shown this <a href="https://techyaz.com/sql-server/understanding-database-autogrowth-sql-server/" target="_blank" rel="noopener">dashboard report to see number of autogrowth events for a database</a>.</p>
<p><strong>Question-What will be the impact on database if you have default value of Autogrowth or you keep small value of autogrowth size?</strong></p>
<p><strong>Answer-</strong> If we go with default value of Autogrowth or any amount that is less in size and not per your database growth pattern will lead to the performance issue. Read attached article to know <a href="https://techyaz.com/sql-server/understanding-database-autogrowth-sql-server/" target="_blank" rel="noopener">why performance issue will be occurred if you have inappropriate value set to autogrowth</a>.</p>
<p><strong>Questions-</strong> <strong>What is compatibility level and how it impacts SQL Server?</strong></p>
<p><strong>Answer-</strong> Compatibility level shows the SQL Server version on which your database is running. This is used to support the backward compatibility. You can run your databases to the lower version of SQL Server having higher version of SQL Server installed on your machine by setting compatibility level of the corresponding SQL Server version.</p>
<p><strong>Question-</strong> <strong>What do you think, should we enable Auto_Shrink option for a database?</strong></p>
<p><strong>Answer-</strong> We should never enable database auto shrink property for any database. Read this article to <a href="https://techyaz.com/sql-server/always-turn-off-database-auto-shrink/" target="_blank" rel="noopener">understand why we should not enable auto shrink for any database</a>.</p>
<p><strong>Question-</strong> <strong>What would be your options if your database files are full with maximum disk capacity?</strong></p>
<p><strong>Answer- </strong>We have below options in case disk space is full where data files are placed.</p>
<ol>
<li>Add Additional Disk Space to the same drive.</li>
<li>Add additional data file to the different disk where you have enough space or you can add new disk as well to create this data file.</li>
<li>Move the data file to another drive that has enough space.</li>
<li>Delete\Purge unused data from your database to make some space.</li>
</ol>
<p>We can choose any option depending on the requirement.</p>
<p><strong> Question- What will you do if your <a href="https://techyaz.com/sql-server/understanding-transaction-log-architecture/" target="_blank" rel="noopener">log file</a> drive is full during data load?</strong></p>
<p><strong>Answer-</strong> We have below options in case you are in middle of data load.</p>
<ol>
<li>Run <a href="https://techyaz.com/sql-server/backupbuffer-wait-type/" target="_blank" rel="noopener">Transaction log backup</a> frequently.</li>
<li>Add another log file in another disk where is enough space to grow the log.</li>
<li>You can enable Auto shrink during data load if you are running with <a href="https://techyaz.com/sql-server/understanding-sql-server-recovery-model/" target="_blank" rel="noopener">SIMPLE recovery model</a>.</li>
</ol>
<p><strong>Question &#8211;</strong> <strong>How many SQL Server Instances we can install on a cluster Instance?</strong></p>
<p><strong>Answer-</strong> We can install 25 instance on clustered environment and maximum 50 instances on standalone instances.</p>
<p><strong>Question-</strong> <strong>What is the difference between updating statistics using sp_updatestats and UPDATE STATISTICS?</strong></p>
<p><strong>Answer-</strong> <strong>sp_updatestats</strong> updates only the statistics that require updating based on the rowmodctr information in the sys.sysindexes catalog view, thus avoiding unnecessary updates of statistics on unchanged rows.</p>
<p>While going with <strong>UPDATE STATISTICS</strong> you have quite lot of options to use for stats update. This command scan all tables and data based on your scan value during updating statistics. This can take lot of time and performed intensive IO operations.</p>
<p><strong>Question-</strong> <strong>Do we need to update Statistics after index rebuild operation?</strong></p>
<p><strong>Answer-</strong> No, Update stats is not required after index rebuild operations because statistics got updated during index rebuild operation.</p>
<p><em><strong><span style="color: #800000;">Read More SQL Server DBA Interview Questions:</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/alwayson/sql-server-alwayson-interview-questions-answers/" target="_blank" rel="noopener">SQL Server Interview Q&amp;A on Alwayson Availability Group</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/backup-recovery/sql-server-backup-recovery-interview-questions-answers/" target="_blank" rel="noopener">SQL Server Backup &amp; Recovery Interview Questions</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-interview-questions-answers-indexes/" target="_blank" rel="noopener">SQL Server Interview Questions &amp; Answers on Indexes</a></strong></li>
<li><strong><a href="https://techyaz.com/interview-questions/sql-server-interview-questions-answers-architecture/" target="_blank" rel="noopener">SQL Server Architecture Interview Questions &amp; Answers</a></strong></li>
</ul>
<p>I hope you like these DBA interview questions. Please follow our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-dba-interview-questions-answers/">SQL Server DBA Interview Questions &#038; Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-dba-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>SQL Server Interview Questions &#038; Answers &#8211; Architecture</title>
		<link>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-architecture/</link>
					<comments>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-architecture/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 25 Sep 2017 08:16:35 +0000</pubDate>
				<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[SQL Server Interview Questions]]></category>
		<category><![CDATA[Interview]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=964</guid>

					<description><![CDATA[<p>This series of SQL Server Interview Questions &#38; Answers are based on real interviews. I have collected all these questions from multiple senior DBAs who are involved in taking interviews. This set of questions is specially for junior or mid&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-architecture/">SQL Server Interview Questions &#038; Answers &#8211; Architecture</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This series of <strong>SQL Server Interview Questions &amp; Answers</strong> are based on real interviews. I have collected all these questions from multiple senior DBAs who are involved in taking interviews. This set of questions is specially for junior or mid level DBAs. I have covered SQL Server basics and architecture part in this series. I will publish similar interview questions &amp;  answers for other topics in next articles.</p>
<h3><span style="color: #333399;">SQL Server Interview Questions &amp; Answers &#8211; Basics &amp; Architecture</span></h3>
<p><strong>Question</strong> &#8211; <strong>What is Page and how many types of pages are in SQL Server?</strong></p>
<p><strong>Answer &#8211;</strong> Page is the fundamental unit of data storage in SQL Server. The size of Page is 8kb. Below is the type of pages available in SQL Server</p>
<ol>
<li>Data</li>
<li>Index</li>
<li>Text/Image</li>
<li>Global Allocation Map</li>
<li>Shared Global Allocation Map</li>
<li>Page Free Space</li>
<li>Index Allocation Map</li>
<li>Bulk Changed Map</li>
<li>Differential Changed Map</li>
</ol>
<p>Read <strong>Pages &amp; Extent</strong> section of the attached article <strong>&#8220;<a href="https://techyaz.com/sql-server/understanding-sql-server-data-files-pages-extents/" target="_blank" rel="noopener">Understanding Data files, Pages &amp; Extents</a>&#8220;</strong> to learn more about all page types.</p>
<p><strong>Question </strong>&#8211; <strong>What is an Extent?</strong></p>
<p><strong>Answer &#8211;</strong> Extents are a collection of eight physically contiguous pages and are used to efficiently manage the pages. All pages are stored in extents. There are two types of extents.</p>
<ul>
<li>Uniform extents</li>
<li>Mixed extents</li>
</ul>
<p>All eight pages belongs to same object in Uniform extents Whereas in Mixed extents, pages belongs to two or more objects. Each of the eight pages can be owned by a different object.</p>
<p><strong>Question</strong> &#8211;<strong>Does log files write their logs in Pages?</strong></p>
<p><strong>Answer –</strong> No, Log files do not have any pages because they don’t store any data. Log files store a series of log records to maintain data integrity &amp; point in time recovery.</p>
<p><strong>Question</strong> &#8211; <strong>What is filegroups and their benefits?</strong></p>
<p><strong>Answer – </strong>File Group is the logical unit that works as a container for data files. We can place multiple data files in to a filegroup. Filegroups are very helpful in below cases:</p>
<ol>
<li>If you have big database and you want to reduce the recovery time in case of any failure. You can plan filegroup backups that can be used for partial restores and data will be accessible while corresponding filegroup will be restored. Even you can run backup of an individual filegroup only.</li>
<li>You can segregate your critical data into separate filegroup and non-critical data into another filegroup. You can also place them on separate drives/RAIDs to reduce DISK IO.</li>
<li>Another advantage is that you can keep your filegroup in to read only mode. If you don’t want to run any DML statement on some of the tables, you can place all those tables into separate file group and change that file group into read only mode.</li>
</ol>
<p><strong> </strong><strong>Question</strong> – <strong>How many types of filegroup available in SQL Server and Log files belong to which file group?</strong></p>
<p><strong>Answer </strong>– There are two types of filegroup.</p>
<ol>
<li>Primary Filegroup</li>
<li>Secondary Filegroup</li>
</ol>
<p>A database will have only one Primary Filegroup and can have as much as 32767 secondary filegroups. When we create a database primary filegroup created automatically. Primary data file will be part of primary filegroup. You can add maximum 32767 data files in a single filegroup.</p>
<p>Log files does not belong to any filegroup.</p>
<p><strong>Question</strong>&#8211;<strong>What is database files and how many types of database files are there in SQL Server Database?</strong></p>
<p><strong>Answer</strong> &#8211; Database files are the physical files that are created on OS drives when you create a SQL Server Database. These files are used to store actual data and log records of the transactions. There are two types of database files.</p>
<ul>
<li>Data File</li>
<li>Log File</li>
</ul>
<p>Data files further categorized into two types.</p>
<ul>
<li>Primary Data File</li>
<li>Secondary Data File</li>
</ul>
<p>Read below articles to get more information about database files.</p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/understanding-sql-server-data-files-pages-extents/" target="_blank" rel="noopener">Understanding Data Files in SQL Server</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/understanding-transaction-log-architecture/" target="_blank" rel="noopener">Understanding Transaction Log File in SQL Server</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/get-total-virtual-log-files/" target="_blank" rel="noopener">What is Virtual Log Files in SQL Server?</a></strong></li>
</ul>
<p><strong>Question</strong> &#8211; <strong>How SQL Server stores logs in transaction log file?</strong></p>
<p><strong>Answer </strong>– SQL Server stores logs serially in transaction log file.  Transaction log is a string of log records. Each log record is identified by a log sequence number (LSN). Each new log record is written with the incremental LSN that means a new log record will be assigned a LSN that is higher than the LSN of the record before it. Read attached article to<strong> <a href="https://techyaz.com/sql-server/understanding-transaction-log-architecture/" target="_blank" rel="noopener">Understand SQL Server Transaction Log Architecture</a> </strong>that will help you to understand this topic.</p>
<p><strong>Question &#8211; What is virtual log file?</strong></p>
<p><strong>Answer-</strong> Each transaction log file internally divided into several virtual log files. <strong><a href="https://techyaz.com/sql-server/sql-server-administration/get-total-virtual-log-files/" target="_blank" rel="noopener">Virtual log files</a> </strong>have no fixed size, and there is no fixed number of virtual log files for a physical log file.</p>
<p><strong>Question &#8211; How do you get total no of virtual log files in a transaction log file?</strong></p>
<p>The new DMF<strong> sys.dm_db_log_info </strong>introduced in SQL Server 2017 that will returns Virtual Log File information of the transaction log files.  If we will specify NULL or DEFAULT value, it will return VLF information of the current database. The built-in function DB_ID can also be specified to get details of a particular database. The sys.dm_db_log_info DMF replaces the DBCC LOGINFO statement from earlier versions. Read attached article to get that. Read attached article where I have described <strong><a href="https://techyaz.com/sql-server/get-total-virtual-log-files/" target="_blank" rel="noopener">how to get total no of virtual log files in a transaction log file</a></strong> in detail.</p>
<p><strong>Question</strong> &#8211; <strong>By default, your log file belongs to which filegroup?</strong></p>
<p><strong>Answer-</strong> Log files do not belong to any file group.</p>
<p><strong>Question </strong>&#8211; <strong>Do you think multiple log files are useful in SQL Server?</strong></p>
<p><strong>Answer-</strong> Yes, it will be helpful in case you are dealing with space issues. You can add additional log files in another drive if you stuck by spaces issue in log file/drive during data load/Import. You can also create additional log file in to another drive if you are frequently facing space issue and cannot extent the existing log file drive.</p>
<p><strong>Question</strong> &#8211; <strong>Explain Checkpoint operation in SQL Server?</strong></p>
<p><strong>Answer &#8211; </strong>A checkpoint writes the current in-memory modified pages (known as <em>dirty pages</em>) and transaction log information from memory to disk in data files. Read more about<strong> <a href="https://techyaz.com/sql-server/checkpoint/" target="_blank" rel="noopener">Checkpoint</a> </strong>in attached article.</p>
<p><strong>Question</strong> &#8211; <strong>How many types of checkpoint SQL Server Supports?</strong></p>
<p><strong>Answer –</strong> There are four types of checkpoint SQL Server supports.</p>
<ol>
<li>Automatic Checkpoint</li>
<li>Indirect Checkpoint</li>
<li>Manual Checkpoint</li>
<li>Internal Checkpoint</li>
</ol>
<p>I have explained <strong><a href="https://techyaz.com/sql-server/checkpoint/" target="_blank" rel="noopener">Checkpoint Types</a> </strong>in attached article. Please have a look on this to get more details.</p>
<p><strong>Question</strong> &#8211; <strong>What is Instant File Initialization and its benefits?</strong></p>
<p><strong>Answer</strong> &#8211; SQL Server has a feature called <strong>Instant file initialization</strong> that allows fast data file allocations of the all data file operations. <strong>Instant file initialization</strong> reclaims used disk space without filling that space with zeros.Have a look at the attached article to <strong><a href="https://techyaz.com/sql-server/instant-file-initialization-enable-on-sql-server-instance/" target="_blank" rel="noopener">Understand Instant File Initialization &amp; How to enable it on SQL Server</a>.</strong></p>
<p><strong>Question</strong> &#8211; <strong>How do you know that Instant File Initialization is enabled on your SQL Server Instance?</strong></p>
<p><strong>Answer-</strong> You can see the SQL Server error log file. When SQL Server starts, it captures this information whether Instant File Initialization is enabled for this instance or not. I have explained this also in above attached article.</p>
<p><span style="color: #800000;"><em><strong>Read More SQL Server Interview Questions</strong></em></span></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/alwayson/sql-server-alwayson-interview-questions-answers/" target="_blank" rel="noopener">SQL Server Interview Q&amp;A on Alwayson Availability Group</a></strong></li>
<li><strong><a href="https://techyaz.com/interview-questions/sql-server-dba-interview-questions-answers/" target="_blank" rel="noopener">SQL Server DBA Interview Questions &amp; Answers</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/backup-recovery/sql-server-backup-recovery-interview-questions-answers/" target="_blank" rel="noopener">SQL Server Backup &amp; Recovery Interview Questions</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-interview-questions-answers-indexes/" target="_blank" rel="noopener">SQL Server Interview Questions &amp; Answers on Indexes</a></strong></li>
</ul>
<p>I hope these interview questions &amp; answers will help you cracking your interviews. Please follow our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-architecture/">SQL Server Interview Questions &#038; Answers &#8211; Architecture</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/interview-questions/sql-server-interview-questions/sql-server-interview-questions-answers-architecture/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
