Solved

Visual SourceSafe Analyze - What happened?

Posted on 2009-05-05
4
843 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 250 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Subversion is a fantastic version management and software configuration management tool for teams and individuals to manage software applications. It offers many advantages over it's CVS ancestor such as it's built-in compatibility w…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 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