URGENT: Unusual growth of ReportServerTempDB. -- HELP --

  • Recently I had to perform a emergency Repair of ReportServerTempDB database due to SAN issues that turned this to "suspect status".

    The log was rebuilt - and all looked normal....

    Now I am noticing that the log file is growing continuously and , no free space is available....

    At this rate my drive will fill up in few hours ....

    Any help is appreciated ....

  • Run this:

    SELECT

    D.database_id,

    D.name,

    D.recovery_model_desc,

    D.log_reuse_wait_desc

    FROM

    sys.databases AS D

    WHERE

    D.name = 'reportservertempdb';

    I'm guessing you'll see FULL as the recovery model and Log Backup as the log reuse wait. This database should be in SIMPLE recovery. To get back to SIMPLE recovery you need to run:

    ALTER DATABASE ReportServerTempDB

    SET RECOVERY SIMPLE;

    You can then shrink the log file back down to a reasonable size using DBCC SHRINKFILE. One of the few times a SHRINK is okay.

  • Thank you so kindly for the tip.

    It seems this has happened to some others as well. It is a mystery ...

    The work around suggested is here[/url].

    But I ended up dropping the database set (ReportServer , ReportServeTempDB) and re-create them with the RS config wizard and restoring back ( only ReportServer ) and all was back to normal. I had to bring down the SSRS service and take the rap for outage though.

    The DB was indeed in simple recovery mode . when and how the REPLICATION thingy git in is a mystery. I am just guessing without any basis that the DBCC CHECKDB ( allow_Repair_with_data_loss) has done something.

    Also :

    I could not find any guidance on the output message of the DBCC command below:

    "...

    Warning: The log for database 'ReportServerTempDB' has been rebuilt. Transactional consistency has been lost. The RESTORE chain was broken, and the server no longer has context on the previous log files, so you will need to know what they were. You should run DBCC CHECKDB to validate physical consistency. The database has been put in dbo-only mode. When you are ready to make the database available for use, you will need to reset database options and delete any extra log files. .."

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

    What does it mean delete any extra log files ?

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply