﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by VM  / TempDB / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 16:57:41 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>Thank you for the question.</description><pubDate>Wed, 07 Mar 2012 14:12:47 GMT</pubDate><dc:creator>zymos</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>We must or should be  create database backups of model becuase we never can  be happen it for advise</description><pubDate>Fri, 17 Sep 2010 13:08:49 GMT</pubDate><dc:creator>Chama</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>Unfortunately it is possible for TempDB to not be in simple recovery mode.  Where I recently started as the DBA, they have an instance where someone in the past must have changed the mode to full recovery, then performed the upgrade to 2005.  Since in 2005 and 2008 you can't change the recovery mode as someone mentioned, I'm stuck with it in full recovery mode and haven't found a way to change it.  Fortunately, the log for this TempDB doesn't seem to grow out of control as was suggested.</description><pubDate>Fri, 03 Sep 2010 11:03:34 GMT</pubDate><dc:creator>Chris Harshman</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>Thanks for the additional information all! :)</description><pubDate>Tue, 24 Aug 2010 07:16:22 GMT</pubDate><dc:creator>VM-723206</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>[quote][b]mtassin (8/18/2010)[/b][hr][quote][b]webrunner (8/18/2010)[/b][hr]What I am wondering is, if hypothetically this restriction were lifted and one could set the recovery model of tempdb to Full, what would be the impact of a tempdb in Full recovery model on that hypothetical SQL Server system? Would it slow to a crawl, encounter errors, etc.?Thanks again,webrunner[/quote]You'd defeinately see a performance hit as tempdb's log continued to grow like mad.After all... Tempdb is the clearing house for just about everything.  Order by, Group by, insert, update, delete... all of it goes through there to some degree or other.  I've got databases where my t-log backups are close to a GB every 15 minutes... I'm not sure I could take t-log backups fast enough to keep the t-log file for tempdb from growing faster than backups could keep it at a reasonable size.[/quote]Thanks! That is what I was curious about. Thanks also to Nils for additional information about the UNDO/REDO logging in tempdb.- webrunner</description><pubDate>Wed, 18 Aug 2010 15:19:13 GMT</pubDate><dc:creator>webrunner</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>Also interesting to know that tempdb's log does not behave like normal database logs. It only logs UNDO (for rollbacks) operations and not REDO since there is no need for any recovery during SQL Server startup. TempDb is just recreated from scratch.</description><pubDate>Wed, 18 Aug 2010 15:01:44 GMT</pubDate><dc:creator>Nils Gustav Stråbø</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>[quote][b]webrunner (8/18/2010)[/b][hr]What I am wondering is, if hypothetically this restriction were lifted and one could set the recovery model of tempdb to Full, what would be the impact of a tempdb in Full recovery model on that hypothetical SQL Server system? Would it slow to a crawl, encounter errors, etc.?Thanks again,webrunner[/quote]You'd defeinately see a performance hit as tempdb's log continued to grow like mad.After all... Tempdb is the clearing house for just about everything.  Order by, Group by, insert, update, delete... all of it goes through there to some degree or other.  I've got databases where my t-log backups are close to a GB every 15 minutes... I'm not sure I could take t-log backups fast enough to keep the t-log file for tempdb from growing faster than backups could keep it at a reasonable size.</description><pubDate>Wed, 18 Aug 2010 14:40:46 GMT</pubDate><dc:creator>mtassin</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>[quote][b]mtassin (8/18/2010)[/b][hr][quote][b]webrunner (8/18/2010)[/b][hr]I'm grateful for the point. It was easy for me - which I can't say about too many questions, but I'm especially glad I didn't second-guess myself into a wrong answer by being suspicious and thinking that the obvious answer was somehow a trick.Also, I have two side hypothetical questions:1. What would happen if tempdb could be set to bulk-logged or full recovery? What would be the consequences for the SQL Server system (performance, etc.)? 2. Are there ways to audit tempdb processing that are (1) feasible and (2) might be desirable for those wanting to track that activity for security reasons, given that it can't be logged fully and gets recreated every time SQL Server restarts? Or is that just a pointless idea stemming from my having seen a few CSI episodes?[/quote]1. That's easyOn our test serverALTER DATABASE tempdb SET RECOVERY FULLResultMsg 5058, Level 16, State 1, Line 1Option 'RECOVERY' cannot be set in database 'tempdb'.2.  I think you'd be better off creating a server side trace.[/quote]Thanks - just one clarification. For #1 above, I understand that changing the recovery model from Simple is not possible in the actual SQL Server software - which is why the error is thrown. What I am wondering is, if hypothetically this restriction were lifted and one could set the recovery model of tempdb to Full, what would be the impact of a tempdb in Full recovery model on that hypothetical SQL Server system? Would it slow to a crawl, encounter errors, etc.?Thanks again,webrunner</description><pubDate>Wed, 18 Aug 2010 14:16:52 GMT</pubDate><dc:creator>webrunner</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>[quote][b]webrunner (8/18/2010)[/b][hr]I'm grateful for the point. It was easy for me - which I can't say about too many questions, but I'm especially glad I didn't second-guess myself into a wrong answer by being suspicious and thinking that the obvious answer was somehow a trick.Also, I have two side hypothetical questions:1. What would happen if tempdb could be set to bulk-logged or full recovery? What would be the consequences for the SQL Server system (performance, etc.)? 2. Are there ways to audit tempdb processing that are (1) feasible and (2) might be desirable for those wanting to track that activity for security reasons, given that it can't be logged fully and gets recreated every time SQL Server restarts? Or is that just a pointless idea stemming from my having seen a few CSI episodes?[/quote]1. That's easyOn our test serverALTER DATABASE tempdb SET RECOVERY FULLResultMsg 5058, Level 16, State 1, Line 1Option 'RECOVERY' cannot be set in database 'tempdb'.2.  I think you'd be better off creating a server side trace.</description><pubDate>Wed, 18 Aug 2010 14:09:53 GMT</pubDate><dc:creator>mtassin</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>I'm grateful for the point. It was easy for me - which I can't say about too many questions, but I'm especially glad I didn't second-guess myself into a wrong answer by being suspicious and thinking that the obvious answer was somehow a trick.Also, I have two side hypothetical questions:1. What would happen if tempdb could be set to bulk-logged or full recovery? What would be the consequences for the SQL Server system (performance, etc.)? 2. Are there ways to audit tempdb processing that are (1) feasible and (2) might be desirable for those wanting to track that activity for security reasons, given that it can't be logged fully and gets recreated every time SQL Server restarts? Or is that just a pointless idea stemming from my having seen a few CSI episodes?Just curious.Thanks,webrunner</description><pubDate>Wed, 18 Aug 2010 09:13:24 GMT</pubDate><dc:creator>webrunner</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>Thanks for the Q</description><pubDate>Wed, 18 Aug 2010 08:42:32 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>I agree...http://msdn.microsoft.com/en-us/library/ms365937.aspxdoes indeed make for interesting reading regarding system db's</description><pubDate>Wed, 18 Aug 2010 08:01:50 GMT</pubDate><dc:creator>matthew.pullen</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>this was easy.</description><pubDate>Wed, 18 Aug 2010 07:47:48 GMT</pubDate><dc:creator>SanjayAttray</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>Some may find this additional information on Recovery Models of System DBs helpful:[url]http://msdn.microsoft.com/en-us/library/ms365937.aspx[/url]Enjoy,Michael</description><pubDate>Wed, 18 Aug 2010 06:38:13 GMT</pubDate><dc:creator>michael.kaufmann</dc:creator></item><item><title>RE: TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>Good question, thanks.</description><pubDate>Wed, 18 Aug 2010 06:37:13 GMT</pubDate><dc:creator>Daniel Bowlin</dc:creator></item><item><title>TempDB</title><link>http://www.sqlservercentral.com/Forums/Topic970906-1495-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/tempdb/70709/"&gt;TempDB&lt;/A&gt;[/B]</description><pubDate>Tue, 17 Aug 2010 23:16:37 GMT</pubDate><dc:creator>VM-723206</dc:creator></item></channel></rss>