Salesforce

WorldServer - What is the purpose of Garbage Collection?

« Go Back

Information

 
TitleWorldServer - What is the purpose of Garbage Collection?
URL Name000007756
SummaryThe purpose of Garbage Collection is to "clean" Database objects. Some created objects are deleted as soon as they become obsolete, but most are not. There are good reasons for this. For one, deleting objects can be a time-consuming procedure that ties up resources. For another, it is not always immediately clear when an object becomes obsolete.

For example, when an asset is translated in the WorldServer Browser Workbench, it is segmented into the Segmented Document structure. This structure is used internally as long as the corresponding asset does not change. When the asset does change, a new segmented document structure is created and the old one is left in the database, marked for garbage collection. This article provides more details. Note: The Garbage Collector does not clean actual files or folders. It runs on the Database only.
Scope/EnvironmentWorldServer
Question
What is the purpose of Garbage Collection?
Answer
There are a number of administrative tasks in a WorldServer deployment:

WorldServer creates many database objects to represent different elements (projects, tasks, segmented documents, and so on). A set of cleaners deletes these obsolete objects periodically, in a process known as Garbage Collection, to reclaim database space.

Some created objects are deleted as soon as they become obsolete, but most are not. There are good reasons for this. For one, deleting objects can be a time-consuming procedure that ties up resources. For another, it is not always immediately clear when an object becomes obsolete.

For example, when an asset is translated in the WorldServer Browser Workbench, it is segmented into the Segmented Document structure. This structure is used internally as long as the corresponding asset does not change. When the asset does change, a new segmented document structure is created and the old one is left in the database, marked for garbage collection.

Garbage collection consists of several cleaners, each of which cleans up a particular area in the WorldServer schema. You can schedule the cleaner tasks separately if you like.  The cleaners should not run at the same time and should be dispersed over a period of time.  If they are scheduled at the same time, only one will run, then the next and is better to schedule them at different time intervals to control the order of execution.

By default, WorldServer garbage collection starts running every night at 12:45 AM. You can modify cleaner schedules from the Management > Administration > Garbage Collection page.

  • For stand-alone WorldServer instances, schedule changes are updated automatically.
  • In clustered WorldServer environments, other WorldServer instances must be restarted to notice schedule changes.
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by