Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Visual SourceSafe Analyze - What happened?

Posted on 2009-05-05
4
Medium Priority
?
848 Views
Last Modified: 2013-11-25
Users were complaining of a couple minor erros in one of our Sourcesafe databases, so I ran the Analyze -c -f on the database.  I forgot to use the -v4 command to show what it found, so the only thing that it displayed when it was finished was:

Database analysis in progress @  5/04/09; 9:12p.
Analysis complete @  5/05/09; 2:43a
      Some errors or inconsistencies were found and fixed.

In the "backup" folder, it put almost 102,000 files!  They are mostly non-descriptive, small files.  Some are labled "A Files" some are labled "B Files" and some are just labelled "Files".  Are these 102,000 files "bad" or something?  How do I find out any additional information on what the analyze "fix" did?

Thanks

By the way, our users are running Source Safe 6.0 and the Server is "hosting" with the 2005 version.
0
Comment
Question by:jbobst
  • 3
4 Comments
 
LVL 39

Accepted Solution

by:
abel earned 1000 total points
ID: 24306292
Don't worry about the version of SourceSafe, even the latest is still haveing the same codebase. The problems you'll encounter when using SourceSafe are numerous, and the necessary Analyze is only one of them.

As far as I know there is no way you can get more information about the fixes, unless you place back a backup of the whole database and run analyze again, but this time with a higher verbosity. But even then, I never found that I could do much with the information. Analyze is a strange thing and is basically a way for SourceSafe to correct its many errors that may arise.

My advice (maybe not what you're after, but I give it anyway): do what sourcesafe says: run analyze regularly, at least once per month. Make sure you have a very good full backup structure. Once things really go bad, you can't do much because sourcesafe uses a hard-to-read binary format, instead of the more common directory structure + files format that any other soruce control system uses.
0
 
LVL 1

Author Comment

by:jbobst
ID: 24307104
Thanks for the advice abel.  One other quick question, in the past, when I have ran the analyze tool, there were usually only a few files (maybe 3 or four?) that were put into the "backup" folder.  After the analyze last night, there are close to 200,000 files!  One difference is that I used the -c switch, when in the past, I only used the -f switch.  Could that be what caused all these files to appear in the backup folder?  And, are these files related to anything or are they just dead files?  What are they?
0
 
LVL 39

Expert Comment

by:abel
ID: 24311391
> One difference is that I used the -c switch

From http://msdn.microsoft.com/en-us/library/ysxsfw4x(VS.80).aspx:

Cleans up and compresses unused space in the database. Compression removes blank space and does not compress the log files. Because compression generates a large number of files in the Backup directory, it should be used only when there is plenty of disk space available. Note that this option can be slow.
in other words, the amount of files is "expected". What they are? I'm not sure, I'll have to try it myself then, but my advice: just ignore them.

0
 
LVL 39

Expert Comment

by:abel
ID: 24311393
tx for the points :)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When working in a large software development team, whether you have many developers working on the same projects, or your project is linked to other projects; it is very important that developers regularly perform "get latest" to ensure that the cha…
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question