We are having an issue with the EventQueue table growing very fast at times, up to 3k records a second, and never clearing records (30 million as of right now). Our environment
InstanceName
column in the EventQueue table stores the unique name of each Sitecore instance (by default this is Machine Name + IIS Instance Name, but can be set in web.config). This enables events to be picked up by an individual CD instance in a load balanced environment.The EventQueue table is cleared by a Sitecore task defined in the
element in the web.config, although I've seen this misbehave in the past. By default, it is set as follows:
I've previously run into high loads on the EventQueue and PublishQueue tables and would recommend trying the following (some of which were suggested from Sitecore support):
CleanupEventQueue
agent (above)CleanupEventQueue
(also CleanupPublishQueue
wouldn't hurt)Finally, from Sitecore support:
Sitecore recommends that the number of rows (entries) in the History, PublishQueue, and EventQueue tables would be less than 1000.