Three months History in ExecutionLogStorage

In SQL Server 2008 R2, How to maintain the three months history in ExecutionLog? By default it stores only two months history.Recently i heard that there is an option to maintain the history more that two months.can anyone help me in this. Thanks in advance....

more ▼

asked Apr 06, 2012 at 04:14 AM in Default

avatar image

31 8 8 13

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

There is a Server property named "ExecutionLogDaysKept" for Reporting Services, which can help you to increase the retention period. For more information please visit the Technet site. Hope it helps.

more ▼

answered Apr 06, 2012 at 07:01 AM

avatar image

Usman Butt
14.3k 6 13 21

Thanks for your time. In ConfugurationInfo table i got the ExecutionLogDaysKept column and i changed the value to 90.

Apr 06, 2012 at 08:51 AM sanjeev.matte

It is the same as what you would have done from the Serverproperties. I prefer not to touch the tables unless no other option is available.

Apr 06, 2012 at 09:13 AM Usman Butt

BTW, I think there is a procedure which is used behind the scenes. I guess the command could be

  exec SetConfigurationInfo @Name=N'ExecutionLogDaysKept',@Value=N'90'
Apr 06, 2012 at 09:48 AM Usman Butt
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Apr 06, 2012 at 04:14 AM

Seen: 4671 times

Last Updated: Apr 06, 2012 at 09:49 AM

Copyright 2018 Redgate Software. Privacy Policy