Difference between revisions of "Maintenance"

From PresenceWiki
Jump to: navigation, search
Line 27: Line 27:
 
http://www.international-presence.com/images/bestuse/truncate.png
 
http://www.international-presence.com/images/bestuse/truncate.png
  
These tables store internal Presence information about who altered which task and when. The information is fairly verbose and over time uses up a lot of space.
+
These tables store information about which Tasks and Task elements ran successfully or failed.
  
 
Regular database compaction using the databasecompactor.exe tool.
 
Regular database compaction using the databasecompactor.exe tool.

Revision as of 16:01, 18 March 2009

Firstly, be sure to upgrade to the latest version of Presence:-

http://www.international-presence.com/software/vm/Presence_Viii_Installer.exe

http://www.international-presence.com/images/bestuse/download.png

It's always a good idea to have the latest version for the latest improvements (such as improved logging and load balancing) as well as making support simpler.

The changes.txt file located in the Presence directory will let you know what has changed between versions:-

http://www.international-presence.com/images/bestuse/changes.png

In the Presence Bin directory on the machine where the database server is located you will find the sqltool.exe and databasecompactor.exe applications.

These can be used to manage and compact the database respectively.

http://www.international-presence.com/images/bestuse/bindirectory.png

To free up space in the database, run the sqltool.exe and perform a

'Truncate Table app.activityarchive'

as well as a

'Truncate Table app.activityarchivehistory'

http://www.international-presence.com/images/bestuse/truncate.png

These tables store information about which Tasks and Task elements ran successfully or failed.

Regular database compaction using the databasecompactor.exe tool.

Over time the database will expand as it is used. The database compactor enables you to straight forwardly, backup, unload and reload the database (thus compacting it).

http://www.international-presence.com/images/bestuse/databasecompactor.png