lee posted on November 4, 2010 15:53

I had a semi-interesting question the other day from a student – does ReportServerTempDB get recreated upon restart?  I told him great question but I did not think so, and that I would have to find out.  The question was asked because I told the class that I did not like the name “tempdb” affixed to the database name; it’s too close to tempdb and it’s not really a tempdb in my estimation. Besides the temp_ tables for merging metadata to query result sets, it really does nothing on a temporary basis, at least not like the system database tempdb, and so the behavior is not much like the scratch database tempdb.

The reason that I told him probably not was because unless there is a change in the report definition, there is no reason to drop said definition, especially due to a restart; also, at work I saw the other day a really large, too large, ReportServerTempDB database. I mean this thing was a monster, I have no idea what they’re doing to fill this thing up. Sounds like a problem to me.  Anyway, bottom line is…no, it does not get dropped. Visit the sys.sysdatabases table, create_date column, to verify that the database in no way shape or form gets recreated each time the sqlservr.exe gets stopped/started.

Thanks much,

Lee Everest

 

--------------------------------

No it’s not dropped!  What u been smoking dude??? Geezsh"


Posted in: SQL Administration  Tags:
blog comments powered by Disqus

by Lee Everest, M.S.

Info

Poll

Do you use Azure or cloud in your organization?



Show Results

Ads

Search


Month List

Calendar

«  May 2012  »
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910
View posts in large calendar

Tags

Disclaimer
The opinions, code, examples, et.al. expressed herein are my own personal opinions and do not represent my employer's view in any way, shape form, or fashion.  All code for demonstration purposes - no guarantees, either written or implied, are made.

© Copyright 2012 Lee Everest's SQL Server, etc. weblog