Scheduling Accumulated Data Cleanup for Domains

Periodically clean up accumulated data maintenance items in cache that are no longer needed, by creating a data purge schedule. The schedule should be set to perform the clean up processes run when system usage is low.

However, you can also manually purge accumulated data items at any time; however note that for domain logs, if the number of domain log data is very large (one with hundreds of thousands of entries for example) then Unwired Server must purge domain log data asynchronously.
Note: You can use the Administration API to automate clean up at the package level.
  1. In the Sybase Control Center left navigation pane, expand the Domains tab and select a domain.
  2. In the right pane, select the Scheduled Task tab.
  3. Under Task, select one of the options you want to schedule, and then select Properties to set up its automatic schedule:
    Option Description
    Subscription Cleanup
    Removes subscriptions that are not active for the 'number of inactive days' in the schedule task configuration. Note, subscription is considered active as follows:
    • Replication – last synchronization request timestamp.
    • Messaging – last synchronization message timestamp.
    Note: If a casual user accesses the system infrequently, for example three to four times a year, the user falls outside the specified time frame and is removed from Sybase Unwired Platform. The user will then have to reinstall Sybase Unwired Platform and initiate a sync to re-activate subscription.
    Error History Cleanup Removes historical data on MBO data refresh and operation replay failures, which result from system or application failures. System failures may include network problems, credential issues, and back-end system failure. Application failures may include invalid values, and nonunique data.
    Note: Only error messages are removed.
    Client Log Cleanup Removes client log records that have already been synchronized to the device, or are no longer associated with active users.
    Synchronization Cache Cleanup This cleanup task removes:
    • Logically deleted rows in the cache that are older than the oldest synchronization time on record in the system. Synchronization activity for all clients establish the oldest synchronization time.
    • Unused or stale partitions.
    • Expired DCN entries identified by the exp property in the DCN message.
  4. Select Enable. Schedules run until you disable them, or they expire.