Download logFaces User Manual

Transcript
Copyright ©2009-2015 Moonlit Software Ltd, All rights reserved
hand, large commit buffer size could be stressful for the database. Optimal sizes are usually in range
of 50 - 500. You should use higher number if your system has frequent spikes of log data, this will
greatly improve the performance of server overall. Half full commit buffers will be committed with a
timer job running every minute.
Number of commit failures specifies how many commits can fail in a row to trigger recovery
mechanism. This mechanism is designed specifically for situations when database goes down for
maintenance or temporally unavailable for some other reasons.
Recovery attempts rate specifies how frequently to try reconnection with database during recovery.
Number of reconnection attempts specifies how many times to try before giving up on database
and switching to a router mode. In the screen shot above, the recovery will run for 30 minutes trying
to reconnect every minute. If during this time database comes back, everything will continue as
normal. Note that during recovery process, incoming log statements are persisted on local disk and
flushed into database when it comes back. When database is unavailable for a long time while
application log keeps coming, there could be quite large amount of those backed up records.
Maintenance schedule is an optional cron expression which will trigger database maintenance job.
Depending on the database the task is different. In case of embedded database, its storage will be
compacted and indexes rebuilt, other RDBMS will have their indexes rebuild. In case of MongoDB no
action is taken.
38