x
login about faq Site discussion (meta-askssc)

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 '12 at 04:14 AM in Default

sanjeev.matte gravatar image

sanjeev.matte
31 3 6 10

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

1 answer: sort newest

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 '12 at 07:01 AM

Usman Butt gravatar image

Usman Butt
13.8k 6 8 14

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

Apr 06 '12 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 '12 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 '12 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

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x53
x4
x1

asked: Apr 06 '12 at 04:14 AM

Seen: 865 times

Last Updated: Apr 06 '12 at 09:49 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.