Ryszard Musielak
Member
Hello,
I would like to ask about the best way to truncate the .lg file.
My Progress is on version 11.6 and I stumbled across threads about the 2GB size limit, when truncating could fail if the file exceeds this limit:
knowledgebase.progress.com
Since I am on version before 11.7 there is only the OFFLINE option to do it.
When the database is cleanly shut down the size remains as it was, so is this the best time to truncate it with this command?
$ > prolog *.lg
Workaround: OFFLINE
The Progress article does not explicitly say I should shut down the database, but I assume that's what OFFLINE means?
Our system has been configured by our third party and they said nothing about this.
We only run "online" backups:
probkup online <database> backups/<database>
The problem is we do DR scenarios when we do the shut downs on the database, but it's been running like this for months.
This is the size of our transaction log (package is the name of the database):
[Server]$ ls -l *.lg
-rw-r--r--. 1 root root 1332097162 Feb 16 14:25 package.lg
Thanks,
Richard
I would like to ask about the best way to truncate the .lg file.
My Progress is on version 11.6 and I stumbled across threads about the 2GB size limit, when truncating could fail if the file exceeds this limit:
Progress Customer Community
Since I am on version before 11.7 there is only the OFFLINE option to do it.
When the database is cleanly shut down the size remains as it was, so is this the best time to truncate it with this command?
$ > prolog *.lg
Workaround: OFFLINE
a. Use OS utilities to archive the current database lg file for later reference
b. Instead of running PROLOG, delete the database lg file
The Progress article does not explicitly say I should shut down the database, but I assume that's what OFFLINE means?
Our system has been configured by our third party and they said nothing about this.
We only run "online" backups:
probkup online <database> backups/<database>
The problem is we do DR scenarios when we do the shut downs on the database, but it's been running like this for months.
This is the size of our transaction log (package is the name of the database):
[Server]$ ls -l *.lg
-rw-r--r--. 1 root root 1332097162 Feb 16 14:25 package.lg
Thanks,
Richard
Last edited: