Autodesk Vault Services & Support

Grid is populated very slowly in Vault Explorer 2008

Published date: 2007-Aug-15
ID: TS1073046

Applies to:
AutoCAD® 2008
AutoCAD® 2007
Autodesk® Architectural Desktop 2007
AutoCAD® Civil 3D® 2008
Autodesk® Civil 3D® 2007
Autodesk® Inventor™ Professional 2008
Autodesk Inventor® Professional 11
Autodesk® Inventor™ Suite 2008
Autodesk Inventor® Series 11
AutoCAD® Land Desktop 2008
AutoCAD® Map 3D 2008
AutoCAD® Mechanical 2008
AutoCAD® Mechanical 2007
AutoCAD® MEP 2008
Autodesk® Building Systems 2007
Autodesk® 3ds Max® 8
Autodesk® Productstream™ 2008
Autodesk® Productstream™ 5
Autodesk® Productstream™ Explorer 2008
Autodesk® Vault 2008
Autodesk® Vault 5
Autodesk® VIZ 2008
Autodesk® VIZ 2007

Issue

When you selected a folder in Vault Explorer, you noticed that it was populated very slowly with the information from the files that it contains.

Solution

This may occur if the statistical information used by SQL to run certain queries is out of date. As a result, the grid is populated using an SQL query that is processed in an inefficient manner, causing a noticeable delay.

It is strongly recommend that you implement a Maintenance Plan as described in the Advanced Configuration Guide for ADMS 2008, which can be downloaded from the following web page:

Advanced Configuration Guide for ADMS 2008

In addition, it may be necessary to manually update the statistics for the Vault database. To do so, follow these steps:

  1. Using Microsoft® Notepad, create a new text file and insert the following text:

    osql.exe -S(local)\AUTODESKVAULT -Usa -P"AutodeskVault" -i UpdateStatistics.sql -o results.txt
    NET STOP MSSQL$AUTODESKVAULT
    NET START MSSQL$AUTODESKVAULT

  2. Save the file as "osql.bat".
  3. Create another text file and insert the following text:


  4. Use KnowledgeVaultMaster
    Exec sp_MSForEachTable 'Update Statistics ? WITH FULLSCAN'
    Go
    Use <VAULTNAME>
    Exec sp_MSForEachTable 'Update Statistics ? WITH FULLSCAN'
    Go

    Where <VAULTNAME> is the name of your Vault
  5. Save the file as "UpdateStatistics.sql" (in the same folder as the file "osql.bat").
  6. Run the "osql.bat" file and then inspect the Results.txt file for any errors.


    Give us your feedback on this document:
     Resolved my issue.
     Helpful but incomplete.
     Difficult to find.
     Difficult to understand.
     Did not resolve my issue.
     Document contains broken links and references.
     No comment.
     

    AUTODESK DOES NOT GUARANTEE THAT YOU WILL BE ABLE TO SUCCESSFULLY DOWNLOAD OR IMPLEMENT ANY SERVICE PACK OR WORKAROUND, OR ANY OF THE TIPS, TRICKS, EXAMPLES OR SUGGESTIONS OUTLINED IN ANY AUTODESK PRODUCT SUPPORT TECHNICAL DOCUMENTS. TECHNICAL DOCUMENTS, SERVICE PACKS AND WORKAROUNDS ARE SUBJECT TO CHANGE WITHOUT NOTICE TO YOU. AUTODESK PROVIDES TECHNICAL DOCUMENTS, SERVICE PACKS AND WORKAROUNDS "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL AUTODESK OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF DATA, OR LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, THAT MAY OCCUR AS A RESULT OF IMPLEMENTING ANY SERVICE PACK OR WORKAROUND, OR ANY SUGGESTION OUTLINED IN ANY AUTODESK PRODUCT SUPPORT TECHNICAL DOCUMENT, EVEN IF AUTODESK OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.