x

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

sanjeev.matte gravatar image

sanjeev.matte
31 8 8 10

(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][1] site. Hope it helps.

[1]: http://technet.microsoft.com/en-us/library/bb934303%28v=sql.105%29.aspx
more ▼

answered Apr 06, 2012 at 07:01 AM

Usman Butt gravatar image

Usman Butt
13.9k 6 8 14

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.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

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

SQL Server Central

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

Topics:

x83
x5
x2

asked: Apr 06, 2012 at 04:14 AM

Seen: 2098 times

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