Is there a way to keep only, say, 5 recent versions of every file in the database, and purge older versions?
I would like to reduce the size of the database; there are some large files in it with the history 40+ versions; I don't need that many. But I don't see how I could delete the older versions?
Deleting older versions
Moderator: SourceGear
Deleting older versions
Vadim Rapp
No, Vault doesn't have this function. But Vault only stores the latest version of a file, plus all the "deltas" or changes, so the database does not grow as much as it might if it stored every version.
You might be able to shrink the database down through some regular maintenance:
Configuring the settings below in the maintenance wizard should help:
Every day:
1- backup the transaction log
Every week:
1- Backup the entire database
2- UPDATE STATISTICS on all vault table indices
Every month:
1 - Check file structure consistency - DBCC CHECKALLOC
2 - Defrag the indices of all tables - DBCC INDEXDEFRAG
Every six months:
1 - Shrink the database DBCC SHRINKDB
2 - Rebuild all indices of all tables - DBCC DBREINDEX
You might be able to shrink the database down through some regular maintenance:
Configuring the settings below in the maintenance wizard should help:
Every day:
1- backup the transaction log
Every week:
1- Backup the entire database
2- UPDATE STATISTICS on all vault table indices
Every month:
1 - Check file structure consistency - DBCC CHECKALLOC
2 - Defrag the indices of all tables - DBCC INDEXDEFRAG
Every six months:
1 - Shrink the database DBCC SHRINKDB
2 - Rebuild all indices of all tables - DBCC DBREINDEX
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager