Hi again,
Type the following in the console:
tell router quit
tell collect quit
tell repoter quit
tell stats quit
This will stop all tasks that collect statistics and reports that can be stored in the database. We also stop the router in case the database is used as mail-in database.
Optional you can also stop the Events task:
tell event quit
IMPORTANT: maybe not all of these tasks are running on your server. Try to observer which one do not run, so you do not start them later on.
now type the following
load compact statrep.nsf -B
This should compact the database. If you get an error that the database is still in use, or nothing happens try the following:
load compact statrep.nsf -c -L
IMPORTANT: all arguments for the copact command are CaSe sensitive!
Now start everything that was stopped again:
(remember that you might not need to start everything I list here)
load router
load collect
load reporter
load stats
load event
Or to do it in 1 time:
restart server
But this one will of course bring your server down for 1 or 2 minutes....
Note: everything I list here works on a R5 server. I do not have an R4 server anymore here to check, but most of it should be the same!
Hope this makes it clear!
Kind regards,
Dominik Malfait
dominik@amazingit.com