disk space

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
bwhite
Posts: 38
Joined: Thu Aug 17, 2006 5:11 pm

disk space

Post by bwhite » Wed Aug 29, 2007 10:42 am

We have over 90GB in the vault DB so far.
We have the database on our larger drive
where there is more room.

But we are running out of space on C:
Inspection shows the largest culprit to be
Vault. It is storing more than 2GB *per user*
under Docs&Settings.

So on our 30GB main drive, for 5 users, 10GB
of it is used up just by the SG cache.

Is there anyway this can be consolidated so
that each user doesn't need their own copy?

Thanks,
Brad.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Aug 29, 2007 1:27 pm

I want to make sure I fully understand your scenario. You have the Vault client-side cache for all your users on the server?

Can you tell me how it's being used by your users so I make sure I'm identifying correctly what you see on the server?

bwhite
Posts: 38
Joined: Thu Aug 17, 2006 5:11 pm

re: disk space

Post by bwhite » Wed Aug 29, 2007 2:13 pm

That's a fair question.

We use RDP sessions.

Instead of perpetually buying new workstations,
we buy adequate workstations and very nice servers.
All our development is done on the server.
Not necessarily the same server that the Vault
server is running on.

HTH,
Brad.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Aug 29, 2007 4:02 pm

Can you give me the full path to where you are seeing the huge amounts of files? I need to verify first that these really are cache files or if your user's working directories are there. You can't delete their working directories on them because they may have changes there that aren't checked in.

If it's the cache files, they will need a cache, but it might be possible to make them smaller.

The other culprit could be the _sgbak folders which are backup copies of files that are overwritten. Those can be cleared out. Technically, you don't have to have that, but a user has the potential to overwrite his changes on disk and that folder is the way to get them back.

bwhite
Posts: 38
Joined: Thu Aug 17, 2006 5:11 pm

re: disk space

Post by bwhite » Thu Aug 30, 2007 6:10 pm

C:\Documents and Settings\jwood\Local Settings\Application Data\SourceGear\Vault_1\Client\7D4E2715-6D5B-4422-AA1D-ABF4DBFDD04F\jwood

A quick estimate shows this folder to hold 2,648,439 KB.

On the same system, same project,
C:\Documents and Settings\ldaniels\Local Settings\Application Data\SourceGear\Vault_1\Client\7D4E2715-6D5B-4422-AA1D-ABF4DBFDD04F\ldaniels\_sgvault

A quick estimate shows this folder to hold 2,395,175 KB.

On the same system, same project,
C:\Documents and Settings\sspear\Local Settings\Application Data\SourceGear\Vault_1\Client\7D4E2715-6D5B-4422-AA1D-ABF4DBFDD04F\sspear\_sgvault

A quick estimate shows this folder to hold 2,671,648 KB.

HTH,
Brad.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Aug 31, 2007 7:52 am

If you are using Vault 4.x, then there's a setting where one can limit the number of baselines kept. Your clients can go to Tools - Options - Local Files - Cache Location. About halfway down, they will see the setting they can adjust. 2-3 should be about right. That won't completely remove the cache, but it may make it smaller.

It won't remove things immediately, but I think it's when it downloads the next version, it will cut it down to 2-3 baselines. You could have your clients check in and then perform a big Get, or just do a Get with automatic merge, and see if their cache gets smaller.

bwhite
Posts: 38
Joined: Thu Aug 17, 2006 5:11 pm

Post by bwhite » Mon Sep 10, 2007 12:42 pm

Beth wrote:If you are using Vault 4.x, then there's a setting where one can limit the number of baselines kept.
What does it default to since we are using 3?

Thanks,
Brad.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Sep 12, 2007 3:43 pm

I believe it won't have a limit on older versions. The way to clean them up will be to periodically clear out the _sgvault folder where the baselines are kept.

Post Reply