Dbvserver purge doesn't work (cleanup the GUI task history)

Follow

Read our docsThis article explains how to resolve the issue when it seems like Dbvserver purge does not work.

Problem Details

Problem Statement

When doing the dbvserver purge, the tasks disappear for some time and then reappear again.

Applicable Error Code

n/a

Affected Versions

Dbvisit Standby Version 8.0.x

Affected Platforms

Platform Independent

 
Description

When doing the dbvserver purge, the tasks disappear for some time and then reappear again.

Steps Performed

It is expected behaviour when you purge the tasks only from dbvserver.
Since the main tasks are stored in the dbvagent and gets pushed back to dbvserver again.

The correct method to purge the tasks is accomplished by following these steps:

  1. Purge the dbvagent tasks in primary
    ./dbvagent -p 4
  2. Purge the dbvagent tasks in Standby
    ./dbvagent -p 4
  3. Once the dbvagent tasks are purged from both primary and standby, purge the tasks from the dbvserver.
    ./dbvserver -p 4

Note:

1. The 4 is to purge after 4 days, 0 will purge all tasks today.

-p days

Deletes all finished tasks older than specified number of days.

Example: dbvagent -p 7

2. We don't have to stop/start the dbvagent/dbvserver for these tasks and the order for purging the agent is not important you can do it either way, but the dbvserver has to be purged only after purging the dbvagent tasks.

Have more questions? Submit a request

Comments