developers.de
daenet's .NET Community

How to clean monitoring and persistence data in AppFabric dashboard?

Damir Dobric Posts

 

Damir@Phone    



My upcoming sessions:

AppFabric Applications at
NRW Conf 2011
09.Sept.2011 Wuppertal

HTML5 widgets in WP7+
Monodroid
Mobility Day
21.Sept.2011 - Zagreb

AppFabric and WCF sessions at
Advanced Developer Conference
26.-27. Oktober 2011 in Frankenthal

AppFabric Applications, queues, topics and more at
Prio Conference
02. - 03. November 2011 in Meistersingerhalle Nürnberg

AppFabric Applications deep dive hosted by
.NET User Group Frankfurt
17.Nov.2011 18.30-22.30 Microsoft - Bad Homburg 

 

 

When working with Windows Server AppFabric you will during development time definitely have a need to clean up all some kind of events. To do this you can use PowerShell scripts.
However my personal favorite solution is using of T-SQL. Because T-SQL is not recommended way to clean up events from AppFabric database, be careful if you use pragmatic recommendations in this post.

How to clean WF Instance History data?

image 
delete [AppFabricMonitoringDb].[dbo].[ASWfInstancesTable]
delete [AppFabricMonitoringDb].[dbo].[ASWfEventsTable]

 

How to clean WCF Call History data?

image 

delete [AppFabricMonitoringDb].[dbo].[ASWcfEventsTable]

How to clean Persisted Instances?
image

To do this the easiest way is to use Delete Context Menu. This command will immediatelly delte instance from the store. All other commands will take a while.


image

The hard way by using of T-SQL is:

delete [RootPersistenceDb].[System.Activities.DurableInstancing].[KeysTable]
delete [RootPersistenceDb].[System.Activities.DurableInstancing].[InstancesTable]

 


Posted Jun 29 2010, 06:21 PM by Damir Dobric
Filed under:

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
daenet GmbH