Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

An efficient method for deleting all queued files in the $queues folder

Building Automation Knowledge Base

Schneider Electric Building Automation Knowledge Base is a self-service resource to answer all your questions about EcoStruxure Building suite, Andover Continuum, Satchwell, TAC…

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Building Automation Knowledge Base
  • An efficient method for deleting all queued files in the $queues folder
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close

Related Forums

  • Intelligent Devices Forum

Previous Next
Contributors
  • Cody_Failinger
    Cody_Failinger
  • DavidFisher
    DavidFisher
  • Benji
    Benji
  • Anonymous user
  • Product_Support
    Product_Support

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Building Automation Knowledge Base
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
0 Likes
2299 Views

Link copied. Please paste this link to share this article on your social media post.

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

An efficient method for deleting all queued files in the $queues folder

Picard Product_Support
‎2018-09-07 03:25 AM

Last Updated: Administrator DavidFisher Administrator ‎2020-11-19 07:31 AM

Issue

In the event of a lost or broken connection between the Vista Server and SQL server, the Vista Server will begin to queue up its events and log values in the $queues\insertevents and $queues\insertlogvalues directories. Once your connection has been re-established those queued files will then be written to the Vista DB, however this process can take an extremely long time,  and possibly cause the Vista server to hang at start up and even crash. 

Product Line

TAC Vista

Environment

Vista 4.3.0 or higher with SQL 

Cause

Broken SQL connection between Vista and local or remote SQL server.

Resolution

If you are not in the need to this queued event and log data you can manually delete all of these queued files. Opening this directory with Windows, highlighting all files and deleting them usually does not work, because of the enormous amount of files that may be stored in their respective directories.

The best way to delete these files is to use DOS. Remember stopping both TAC Vista Server and the DSS Writer service before deleting the files.

 

Method 1: The proper steps to delete these files with DOS using the "rmdir" command are:

  1. Click Start > Run
  2. Type "cmd" and press enter
  3. Use the DOS command "cd.." followed by enter to navigate up one folder in the hierarchy.  Repeat this command until the prompt is at the root directory and shows
    C:\>
  4. Use the DOS command "cd " to navigate to the Vista database folder location and the $queues folders.  For example:
    C:\>cd Projects
    C:\Projects>cd School
    C:\Projects\School>cd VistaDB
    C:\Projects\School\VistaDB>cd $queues
  5. Type "rmdir /S /Q insertevents" - all files and folders including the "insertevents" folder will be deleted
  6. Use the cd.. and cd commands to navigate up one folder and back down into the insertlogvalues folder
    C:\Projects\School\VistaDB\$queues\insertlogvalues>
  7. Repeat step 5.

 

Method 2: The proper steps to delete these files with DOS using the "del" command are:

  1. Click Start > Run
  2. Type "cmd" and press enter
  3. Use the DOS command "cd.." followed by enter to navigate up one folder in the hierarchy.  Repeat this command until the prompt is at the root directory and shows
    C:\>
  4. Use the DOS command "cd " to navigate to the Vista database folder location and the $queues folders.  For example:
    C:\>cd Projects
    C:\Projects>cd School
    C:\Projects\School>cd VistaDB
    C:\Projects\School\VistaDB>cd $queues
    C:\Projects\School\VistaDB\$queues>cd insertevents
    C:\Projects\School\VistaDB\$queues\insertevents>
  5. Type "del *.*" and then "Y" to confirm that all files on that directory will be deleted.
    C:\Projects\School\VistaDB\$queues\insertevents>del *.*
    C:\Projects\School\VistaDB\$queues\insertevents\*.*, Are you sure (Y/N)? y
  6. Use the cd.. and cd commands to navigate up one folder and back down into the insertlogvalues folder
    C:\Projects\School\VistaDB\$queues\insertlogvalues>
  7. Repeat step 5.

Now both of these directories should be emptied and if your SQL connection issue has been rectified your events and logs will write as normal to SQL.

 

 

Alternatively, this utility will split the queued files into folders of 4,000 files each.  Windows can handle each of these folders and make the task of deleting the queued files more manageable.  Click the screen capture below to download the utility.

queuesplit.png

 

Labels (1)
Labels:
  • TAC Vista
Attachments
$queues file split 1.0.0.0.zip
Tags (1)
  • Find more articles tagged with:
  • 4005
Was this article helpful? Yes No
100% helpful (2/2)

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of