Repository GB showing same GB despite deleting many test runs
Question ID: 109159
0
0

We deleted almost all the test executions that were no longer needed in a project to free resources. This specified project is occupying around 100GB hence we deleted all the test runs to free resources but this change is not reflected in the size.

I came across a document that says it takes 7 to 14 days to free repository in a natural way. would you please advise how to do this quickly so that we can migrate this project.

Marked as spam
Posted by (Questions: 89, Answers: 0)
Asked on August 1, 2019 2:40 am
56 views
Answers (2)
0
Private answer

When you delete a file from an entity, the file is not immediately deleted from the project directory, as it may still be used by other entities.

At regular intervals, the project repository is scanned for files that are no longer used by any entity. Any such files are deleted from the project repository.

By default, each project repository is scanned once every seven days.

We can promote or postpone a project's repository cleanup. In the SiteAdmin , we select a project and look in its 'Project details' tab.

Under Repository Cleanup, we can promote or delay the scheduled project repository cleanup by clicking on the available button :

**Promote Repository Cleanup** - Instructs ALM to cleanup the repository of the current project as soon as possible.
**Postpone Repository Cleanup** - Instructs ALM to postpone the repository cleanup of the current project, or to stop a cleanup that is in progress.

We can define the following site configuration parameters to regulate the project repository cleanup process :

**REPOSITORY_GC_PROJECT_CLEANUP_INTERVAL**
This parameter defines the time interval in days between cleaning processes of each project repository.
Set a value in days between 1 and 28.
If the parameter does not exist, ALM scans project repositories once every seven days.

**REPOSITORY_GC_JOB_PRIORITY**
The parameter determines the speed at which the repository cleanup process is performed.
Set a value between 0 (fastest) and 10 (slowest).
If the parameter does not exist, the speed is set to 3.

**SUSPEND_REPOSITORY_GC**
The parameter stops the cleanup process on the entire site. Use this only in special circumstances.
For example, to check if the cleanup process is impacting system performance. Define this parameter and set its value to ''Y'' to temporarily stop the project repository cleaning process.

Marked as spam
Posted by (Questions: 0, Answers: 309)
Answered on August 26, 2019 1:50 pm
0
Private answer

When you delete a file from an entity, the file is not immediately deleted from the project directory, as it may still be used by other entities.

At regular intervals, the project repository is scanned for files that are no longer used by any entity. Any such files are deleted from the project repository.

By default, each project repository is scanned once every seven days.

We can promote or postpone a project's repository cleanup. In the Site Admin , we select a project and look in its 'Project details' tab.

Under Repository Cleanup, we can promote or delay the scheduled project repository cleanup by clicking on the available button :

***Promote Repository Cleanup*** - Instructs ALM to cleanup the repository of the current project as soon as possible.
***Postpone Repository Cleanup*** - Instructs ALM to postpone the repository cleanup of the current project, or to stop a cleanup that is in progress.

We can define the following site configuration parameters to regulate the project repository cleanup process :

***REPOSITORY_GC_PROJECT_CLEANUP_INTERVAL***
This parameter defines the time interval in days between cleaning processes of each project repository.
Set a value in days between 1 and 28.
If the parameter does not exist, ALM scans project repositories once every seven days.

***REPOSITORY_GC_JOB_PRIORITY***
The parameter determines the speed at which the repository cleanup process is performed.
Set a value between 0 (fastest) and 10 (slowest).
If the parameter does not exist, the speed is set to 3.

***SUSPEND_REPOSITORY_GC***
The parameter stops the cleanup process on the entire site. Use this only in special circumstances.
For example, to check if the cleanup process is impacting system performance. Define this parameter and set its value to ''Y'' to temporarily stop the project repository cleaning process.

Marked as spam
Posted by (Questions: 0, Answers: 309)
Answered on August 26, 2019 1:50 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top