[Glass] Purge tranlogs?
Dale K. Henrichs
dale.henrichs at gemtalksystems.com
Fri Dec 20 14:40:31 PST 2013
The issue here is what is your backup strategy ...the definition of an unneeded tranlog is defined by the last backup that you are keeping ... how many backups are your keeping and where are you keeping your backups ... it's a very good idea to do these things...for ss3 i copy tranlogs to a separate host every two hours and delete tranlogs that are 2 days old ... so I have some redundancy, but I am keeping my backups and tranlogs on a different machine .... there are relatively easy formulas, but there are a number of different solutions and there are tradeoffs as well ...
My preference is for folks who are using GLASS to describe the different schemes that they are using and through the community develop the sets of scripts that work for different groups of communities ...
I don't want to dictate how you set things up in production, but I am willing to dictate how you should set things to get started with GemStone:)
Dale
----- Original Message -----
| From: "Norbert Hartl" <norbert at hartl.name>
| To: "Mariano Martinez Peck" <marianopeck at gmail.com>
| Cc: "GemStone Seaside beta discussion"
| <glass at lists.gemtalksystems.com>
| Sent: Friday, December 20, 2013 1:19:03 PM
| Subject: Re: [Glass] Purge tranlogs?
| Am 18.12.2013 um 19:28 schrieb Mariano Martinez Peck <
| marianopeck at gmail.com >:
| | On Sat, Dec 14, 2013 at 11:49 AM, Norbert Hartl <
| | norbert at hartl.name
| | > wrote:
|
| | | Am 13.12.2013 um 21:53 schrieb Mariano Martinez Peck <
| | | marianopeck at gmail.com >:
| |
|
| | | | Hi,
| | |
| |
|
| | | | Is that possible? They are taking some space in my laptop...
| | |
| |
|
| | | | I periodically make some backups from GemTools.
| | |
| |
|
| | | You might find that script useful
| |
|
| | | https://github.com/noha/stone-creator/blob/master/bin/delete-old-tranlogs.sh
| |
|
| | Thanks Norbert,
|
| | That was pretty easy to use and clear. I could release my last 15GB
| | of my HDD ;)
|
| | I wonder if such a script could be included in
| | /opt/gemstone/product/seaside/bin ?
|
| | I wonder the side effects of removing the obsolete translogs. I
| | guess
| | not that much but I am not 100% clear of what that means exactly.
| | Need to read more about it.
|
| I talked to James in Edinburgh about this and the conclusion is that
| there is a chance this goes wrong but the odds are very low. If you
| want to be save I think you need to do an explicit snapshot before
| invoking the script. James can tell it how it is exactly.
| Norbert
| _______________________________________________
| Glass mailing list
| Glass at lists.gemtalksystems.com
| http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131220/038500fb/attachment.html>
More information about the Glass
mailing list