Solved

Visual SourceSafe Analyze - What happened?

Posted on 2009-05-05
4
846 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

615 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