You are viewing limited content. For full access, please sign in.

Question

Question

Forms Database Log Size

asked on August 26, 2016

I noticed the size of our SQL Forms Database log file is growing quite large (almost 10GB).  I know I can set a limit in SQL but is there a place in forms where I can set a limit?  Is there a way to reduce the size?

0 0

Answer

SELECTED ANSWER
replied on August 27, 2016

Hi Paul,

 

Yes, it's possible to manage the size of the log file. However, I'd recommend that you perform regular backups of your DB in order to ensure the Log file does not continue growing without being kept in check. A backup normally truncates the log file and regular backups will keep this in check.

 

Is there a particular reason you wish to manage the log file size? If not, I'd ensure backups are in place and leave it as is.

 

Cheers

Sheldon

1 0

Replies

replied on August 27, 2016

The other thing to think about is "What happens if I do have a corruption in the middle of the day. Do I have someone on staff (or someone on call) who can recover SQL from the logs, and the time to do it? Or do I simply make a backup on a daily (or more than daily) basis and restore that backup because what was done since the last backup can be replicated?"

 

Recovering using transaction logs is not overly difficult but can be time consuming because you are playing back everything that happens and it can take much longer. This is especially true of the log files have grown to be larger than your actual db. 

 

If the answer is "just restore from last backup" then you probably don't even need to be writing to the log files - you should be putting your sql database in simple mode. 

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.