VS2015 very slow checkin

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

Posts: 10
Joined: Thu Nov 30, 2017 1:29 pm
PostPosted: Thu Nov 30, 2017 1:42 pm
I'm using VS 2015. When I checkin a file from the Vault Pending Changes window, it takes >30s for the checked out file to show up in the tree list of the Vault Commit window. The slowness is related to the Project.VC.db file. If I close VS, delete the .VC.db file, open VS, then the check in is very fast, but only for a few minutes until the .VC.db file is recreated (309 MB). My understanding is that this file is related to intellisense, but disabling intellisense doesn't keep this file from being created.

This problem has persisted through many versions of VS and Vault.

Checkin is very fast if I use the Vault Client app directly.

[11/30/2017 11:25:29 AM] Version Check: This Vault Standard client is version 10.0.0.736
[11/30/2017 11:25:30 AM] Version Check: Your Vault Standard server is version 10.0.0.736

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Thu Nov 30, 2017 4:26 pm
In your Vault Tools - Options - General, do you have either of the ghosting options turned on? If so, turn them off and see if performance improves.
Beth Kieler
SourceGear Technical Support

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Thu Nov 30, 2017 4:56 pm
You might keep the file there, and use the Exclude from Source Control function to get Vault to stop looking at it.
Beth Kieler
SourceGear Technical Support

Posts: 10
Joined: Thu Nov 30, 2017 1:29 pm
PostPosted: Thu Nov 30, 2017 5:13 pm
Thanks for your quick response :)

Both the ghosting options were turned on. I turned them off, but there was no change in the speed.

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Fri Dec 01, 2017 8:51 am
Any results from the Exclude from Source Control?
Beth Kieler
SourceGear Technical Support

Posts: 10
Joined: Thu Nov 30, 2017 1:29 pm
PostPosted: Mon Dec 04, 2017 11:24 am
Sorry, waiting for our IT manager to return from travel....

Posts: 10
Joined: Thu Nov 30, 2017 1:29 pm
PostPosted: Tue Dec 05, 2017 5:11 pm
Ok, we added *.VC.db to the exclude list (per attached screenshot), but it didn't make any change to the speed (still ~37 s). I closed and restarted VS before I tested.

Another curiosity is that nobody else in our development group has this problem. The files to be checked in show up within a few seconds.
You do not have the required permissions to view the files attached to this post.

Posts: 3486
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
PostPosted: Wed Dec 06, 2017 11:07 am
If you look at your project file using a text editor (not Visual Studio, unless you unload the project and view the project file), are the *.VC.db files found within the project?

If you look at the Vault repository, are the *.VC.db files found within Vault?

What we were wondering is what would happen if you did not keep those specific files under source control and removed them from Vault?
Jeff Clausius
SourceGear

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Wed Dec 06, 2017 11:22 am
I also want to add...

Is the project file checked out when you perform an Add? Try that, or if the .VC.db is in Vault, try checking that out prior to the add. Any change?
Beth Kieler
SourceGear Technical Support

Posts: 10
Joined: Thu Nov 30, 2017 1:29 pm
PostPosted: Wed Dec 06, 2017 2:46 pm
The VC.db file is not stored in Vault. (Not listed in the .sln file or Vault Client.) It's a transitory file that is constantly being updated for intellisense. I don't understand why Vault should care about this file....

Posts: 10
Joined: Thu Nov 30, 2017 1:29 pm
PostPosted: Wed Dec 06, 2017 2:49 pm
For this solution, there are multiple projects, but the project files and sources are each stored in their own subfolder, i.e. under the folder where the VC.db file exists.

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Wed Dec 06, 2017 3:29 pm
I'd like to take a closer look. Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread?
Beth Kieler
SourceGear Technical Support

Posts: 10
Joined: Thu Nov 30, 2017 1:29 pm
PostPosted: Thu Dec 07, 2017 1:48 pm
Done.

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Thu Dec 07, 2017 2:48 pm
Thanks. Got it.

HS: 249384
Beth Kieler
SourceGear Technical Support

Return to Support (Vault Professional)

Who is online

Users browsing this forum: No registered users and 3 guests

cron