[Glass] Transaction Logs so large ....

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Mon Oct 24 11:15:21 PDT 2016


I thought that Marten was asking about large transaction logs and I 
didn't see that he had trouble with large extents as he is using a 
Sigabort Handler ...

Dale


On 10/24/2016 11:06 AM, Paul Baumann wrote:
>
> Of course Dale. I had brought the discussion to other areas. It had 
> sounded like more tranlog files were kept than necessary. I had not 
> touched at all on how to reduce how quickly they grow.
>
>
> On Oct 24, 2016 1:54 PM, "Dale Henrichs via Glass" 
> <glass at lists.gemtalksystems.com 
> <mailto:glass at lists.gemtalksystems.com>> wrote:
>
>
>
>     On 10/24/2016 04:22 AM, Paul Baumann via Glass wrote:
>
>
>         Tranlog files at first have transaction sequence not yet
>         represented in the random-access database extent files.
>         Sequential files are faster to update and changes can be
>         replayed to extents of different ages (like from restore or
>         cloning). Tranlog files that only contain transactions older
>         than the last Checkpoint Commit can be archived. A checkpoint
>         commit is the point where extents now contain the tranlog
>         changes. You do not need to keep full tranlog files older than
>         the checkpoint commit record in the extents backup that you
>         may wish restore. GS DBAs write shell scripts to manage these
>         things, knowing what tranlog files are no longer useful to keep.
>
>         If you already know this stuff then your question would be
>         related to checkpoint commits not happening in a timely
>         manner. How that can happen and how to improve that is a much
>         deeper discussion, but is usually remedied by changing gems to
>         not stay with old views of the database. That can mean more
>         frequent aborts for example, and starting a transaction a
>         short time before making changes to commit. Just one gem
>         staying in-transaction for a long time can hold up checkpoint
>         commits. A developer logged into (and in-transaction) a very
>         active database can hold up checkpoints causing a backlog of
>         transactions not yet applied to extent files.
>
>     Paul, a CR backlog dos not cause tranlogs to grow ... CR backlog
>     shows up as extent growth not tranlog file growth...
>
>     Dale
>     _______________________________________________
>     Glass mailing list
>     Glass at lists.gemtalksystems.com <mailto:Glass at lists.gemtalksystems.com>
>     http://lists.gemtalksystems.com/mailman/listinfo/glass
>     <http://lists.gemtalksystems.com/mailman/listinfo/glass>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20161024/0f6f2fde/attachment.html>


More information about the Glass mailing list