<?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>log file &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/log-file/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Tue, 14 Nov 2017 11:04:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>SQL Server Interview: If Transaction Log Full, what are your steps to resolve it</title>
		<link>https://www.dbrnd.com/2017/03/sql-server-interview-if-transaction-log-full-what-are-your-steps-to-resolve-it-error-9002/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Mon, 06 Mar 2017 16:16:10 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Interview]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[error 9002]]></category>
		<category><![CDATA[log file]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Error]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tuning]]></category>
		<category><![CDATA[SQL Server Programming]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[transaction log]]></category>
		<category><![CDATA[Transaction log full]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=4712</guid>

					<description><![CDATA[I am sharing one of the very common and important Interview Questions separately so that SQL Server DBAs can recognize very easily before going for SQL DBA Interview. The question itself is one kind of common problem which is facing by many of SQL DBAs. When SQL Server transaction log full, they are getting an [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F03%2Fsql-server-interview-if-transaction-log-full-what-are-your-steps-to-resolve-it-error-9002%2F&amp;linkname=SQL%20Server%20Interview%3A%20If%20Transaction%20Log%20Full%2C%20what%20are%20your%20steps%20to%20resolve%20it" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F03%2Fsql-server-interview-if-transaction-log-full-what-are-your-steps-to-resolve-it-error-9002%2F&amp;linkname=SQL%20Server%20Interview%3A%20If%20Transaction%20Log%20Full%2C%20what%20are%20your%20steps%20to%20resolve%20it" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F03%2Fsql-server-interview-if-transaction-log-full-what-are-your-steps-to-resolve-it-error-9002%2F&amp;linkname=SQL%20Server%20Interview%3A%20If%20Transaction%20Log%20Full%2C%20what%20are%20your%20steps%20to%20resolve%20it" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F03%2Fsql-server-interview-if-transaction-log-full-what-are-your-steps-to-resolve-it-error-9002%2F&amp;linkname=SQL%20Server%20Interview%3A%20If%20Transaction%20Log%20Full%2C%20what%20are%20your%20steps%20to%20resolve%20it" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F03%2Fsql-server-interview-if-transaction-log-full-what-are-your-steps-to-resolve-it-error-9002%2F&amp;linkname=SQL%20Server%20Interview%3A%20If%20Transaction%20Log%20Full%2C%20what%20are%20your%20steps%20to%20resolve%20it" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F03%2Fsql-server-interview-if-transaction-log-full-what-are-your-steps-to-resolve-it-error-9002%2F&amp;linkname=SQL%20Server%20Interview%3A%20If%20Transaction%20Log%20Full%2C%20what%20are%20your%20steps%20to%20resolve%20it" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F03%2Fsql-server-interview-if-transaction-log-full-what-are-your-steps-to-resolve-it-error-9002%2F&#038;title=SQL%20Server%20Interview%3A%20If%20Transaction%20Log%20Full%2C%20what%20are%20your%20steps%20to%20resolve%20it" data-a2a-url="https://www.dbrnd.com/2017/03/sql-server-interview-if-transaction-log-full-what-are-your-steps-to-resolve-it-error-9002/" data-a2a-title="SQL Server Interview: If Transaction Log Full, what are your steps to resolve it"></a></p><p>I am sharing one of the very common and important Interview Questions separately so that SQL Server DBAs can recognize very easily before going for SQL DBA Interview.</p>
<blockquote><p>The question itself is one kind of common problem which is facing by many of SQL DBAs. When SQL Server transaction log full, they are getting an error like &#8220;SQL Server Error 9002 transaction log full&#8221;.</p></blockquote>
<p>When an interviewer asks this question to you, you should give a very clear answer with a just list of few options. If they ask more, only you should explain in details; otherwise, it is OK.</p>
<p>Your answer should be like this,<br />
<strong>If we got error 9002 transaction log full, we should take following points:</strong></p>
<ul>
<li>We should take backup the transaction log file and truncate the transaction log</li>
<li>We can move log file to another disk drive</li>
<li>We can increase the size of log file</li>
<li>We can also add a new transaction log file in separate disk</li>
</ul>
<p>I am not sharing more details on each point. If you want, you should prepare it for yourself, but I would suggest avoiding detail answer because you need to prepare different commands for all the options.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SQL Server: The internal storage architecture of the Database Files</title>
		<link>https://www.dbrnd.com/2016/04/sql-server-the-internal-storage-architecture-of-the-database-files/</link>
					<comments>https://www.dbrnd.com/2016/04/sql-server-the-internal-storage-architecture-of-the-database-files/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Tue, 12 Apr 2016 20:59:55 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[log file]]></category>
		<category><![CDATA[primary data file]]></category>
		<category><![CDATA[secondary data file]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tunning]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=2273</guid>

					<description><![CDATA[Here, I am sharing one of the important topics for the internal Storage File Architecture of the SQL Server. SQL Server is managing two different kinds of files one is for Data and other is for Log information. The File-groups is a collection of database files, and it helps to manage database files. Type of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-internal-storage-architecture-of-the-database-files%2F&amp;linkname=SQL%20Server%3A%20The%20internal%20storage%20architecture%20of%20the%20Database%20Files" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-internal-storage-architecture-of-the-database-files%2F&amp;linkname=SQL%20Server%3A%20The%20internal%20storage%20architecture%20of%20the%20Database%20Files" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-internal-storage-architecture-of-the-database-files%2F&amp;linkname=SQL%20Server%3A%20The%20internal%20storage%20architecture%20of%20the%20Database%20Files" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-internal-storage-architecture-of-the-database-files%2F&amp;linkname=SQL%20Server%3A%20The%20internal%20storage%20architecture%20of%20the%20Database%20Files" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-internal-storage-architecture-of-the-database-files%2F&amp;linkname=SQL%20Server%3A%20The%20internal%20storage%20architecture%20of%20the%20Database%20Files" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-internal-storage-architecture-of-the-database-files%2F&amp;linkname=SQL%20Server%3A%20The%20internal%20storage%20architecture%20of%20the%20Database%20Files" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-internal-storage-architecture-of-the-database-files%2F&#038;title=SQL%20Server%3A%20The%20internal%20storage%20architecture%20of%20the%20Database%20Files" data-a2a-url="https://www.dbrnd.com/2016/04/sql-server-the-internal-storage-architecture-of-the-database-files/" data-a2a-title="SQL Server: The internal storage architecture of the Database Files"></a></p><p>Here, I am sharing one of the important topics for the internal Storage File Architecture of the SQL Server.</p>
<p>SQL Server is managing two different kinds of files one is for Data and other is for Log information.<br />
The File-groups is a collection of database files, and it helps to manage database files.</p>
<p>Type of the SQL Server Database Files.</p>
<p><strong>Primary Data File (.mdf):</strong></p>
<blockquote><p>The Primary Data File is starting point of the database and also points to the other files.</p>
<p>Each database has only one primary data file, and it stores all the tables, indexes, views, functions, and other database objects.</p>
<p>It also contains information about the location of all other files.<br />
The default extension of this data file is .mdf.</p></blockquote>
<p><strong>Secondary Data File (.ndf):</strong></p>
<blockquote><p>When database exceeds the maximum allocated size, Secondary Data File helps the database to continue to grow. The extension of this file is .ndf.<br />
This is not mandatory to create this file for each database.</p>
<p>When we are configuring table partitions, we can create separately .ndf file to store partition data.</p></blockquote>
<p><strong>Log File (.ldf):</strong></p>
<blockquote><p>This file contains all transaction log information of a database which helps us to recover an entire database in case of any loss.<br />
The Database Transactions are written to the log file even before they are written to the data file.</p></blockquote>
<hr />
<blockquote><p><em><br />
All the database file can grow automatically from their specified size and if we have not specified default size, it can continue to grow until the disk full. </em></p></blockquote>
<blockquote><p>
<em>The Filegroup is a logical container of the database files, and the Primary Filegroup is a default Filegroup which contains a primary data and log file of a database.<br />
If there are multiple files in a Filegroup, they will not auto-grow until all the files are full.</em></p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2016/04/sql-server-the-internal-storage-architecture-of-the-database-files/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
