Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
gurowar
Contributor
Jump to solution

What is the purpose of archive.xml

Good day All,

I have a quick question, my Smartconsole is running a bit sluggish, it takes me anywhere from 3-4 mins to login.  Normally it takes me a minute or minute thirty at the longest.  Also I noticed that pushing policy now takes me about 8 mins to do.  So I decided to run CPM Doctor and in one of its suggestions was sk179795 which has me looking for archive.xml file that is bigger than 10k.  When I ran the search it came up with 4 of them and of the 4 one of them is a 2meg file.  I made a backup of it and was just going to delete the everything in that file but decided to check to see what the purpose of this file is before I do that.  Long story short I couldn't find anything on it so when I looked I see that the file went back to 2022.  So I decided to delete all of 2022.  Performance got better and now it takes about 2 mins to login and 5 mins to push policy.  My question is, is it ok to delete everything in that file or should I just leave maybe a 2-3 months worth of info?  I search checkmates for anything similar and I did called, "SmartEvent - deleting of archived pdf reports" but that doesn't mention deleting anything in the archive.xml file.

Thank you in advance!!

Warren

0 Kudos
1 Solution

Accepted Solutions
Duane_Toler
Advisor

I looked over this file on a SmartEvent server and it holds the list of all the completed PDF and CSV exports of reports, including manual and scheduled jobs. Instead of deleting from the file, you can delete these in SmartConsole - Logs & Monitor, and delete them from the Tasks Archive.

This would only work for your management user (and management domain, if applicable).  If you need to delete older records for other SmartConsole admins (and in other domains), then you would need to delete these records from the archive.xml file manually for each of those admins/domains.  This is what the SK article is referencing.

View solution in original post

0 Kudos
10 Replies
Duane_Toler
Advisor

I looked over this file on a SmartEvent server and it holds the list of all the completed PDF and CSV exports of reports, including manual and scheduled jobs. Instead of deleting from the file, you can delete these in SmartConsole - Logs & Monitor, and delete them from the Tasks Archive.

This would only work for your management user (and management domain, if applicable).  If you need to delete older records for other SmartConsole admins (and in other domains), then you would need to delete these records from the archive.xml file manually for each of those admins/domains.  This is what the SK article is referencing.

0 Kudos
gurowar
Contributor

Hi Duane,

Hmm ok thanks will check it out and see, will keep you all posted on any updates.

Thank you!

Warren

0 Kudos
Amir_Senn
Employee
Employee

Yep, I can confirm this is exactly what it does.

Remember, this is per admin per server.

Also per domain where relevant

Kind regards, Amir Senn
the_rock
Legend
Legend

Never really looked at that file myself, but will check in the lab tomorrow.

Andy

0 Kudos
Amir_Senn
Employee
Employee

I wouldn't bother. It's not really interesting.

If you really want to learn something, I would create in the lab MDS machine with several user and create widgets, views, reports, scheduled report, export some operations with each and look at the structure of SmartView DB itself.

Kind regards, Amir Senn
the_rock
Legend
Legend

I am still going to try.

0 Kudos
the_rock
Legend
Legend

You were right, nothing interesting there : - )

Andy

gurowar
Contributor

All,

Just an update here I made a copy of the file and deleted everything up to 2025, had no impact as of yet so I am assuming  you can delete the whole thing but I would just keep what ever year you are in.  The file does grow so but just need to trim it down once you get over 10K.  With that said I just wanted to thank you all for your help on this....thank you all!!!!  Till the next issue, hopefully won't be for a while!!

Thank you All!!!!

Warren

the_rock
Legend
Legend

Great stuff!

0 Kudos
Amir_Senn
Employee
Employee

Have you tried removing what you don't need from the archive tab in the SmartView page?

You can multi-select using shift.

Kind regards, Amir Senn
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events