This is the best way I have found to truncate a log and get it smaller and keep it under control.
1- Set recovery mode to Simple.
2- Check how much of the log file is actually in use.
3- Run a backup, but set the backup to go to nul;Â BACKUP DATABASE EpicorERP10Â TO DISK = N'nul'
3- Set recovery mode to Full
4- Shrink the Log file of the DB to something smaller that you would likely handle your day to day log needs. 2-5GB usually handles it for most customers I work with.
5- Setup transaction log only backups mid day at slow points. This will back them up and truncate them.
On Wed, Jul 20, 2016 at 10:21 AM, Rob Bucek rbucek@... [vantage] <vantage@yahoogroups.com> wrote:This really isn’t an Epicor issue, all SQL DB’s need maintenance, how much and how often depends on your usage, size, and other environmental variables. Fortunately, most if not all of the maintenance tasks can be put on a schedule and run in the background and do not require constant attention. Jose’s recommendation for Brent Ozar is a solid reference and has a lot of good information about database maintenance. MSDN, and stackoverflow.com can get you through shrinking and truncating your log file. If this is beyond the resources in your company, you may want to look to an outside resource for training and/or assistance with this.
Rob Bucek
Production Control Manager
D&S Manufacturing
301 E. Main St.
Black River Falls, WI 54615
715-284-5376 Ext. 311
Mobile: 715-896-3119
rbucek@...<mailto:rbucek@...>
Visit our newly redesigned Website at www.dsmfg.com<http://www.dsmfg.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, July 20, 2016 8:58 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] E10 log files
We already tried to 'shrink' them but didn't gain much space. Our DB is less than 1 GB but log file is 85GB (each database).
I've read a little bit so far about the log files needing to be truncated and a bit about checkpoints?
I am not a SQL DB administrator and we do not have one - we were very surprised by the amount of administration needed for this version. We just are coming off of Vantage 6.1 which required next to no administration.
We had a 3rd party install Epicor and had installed SQL per the install documentation - However, wondering if there was something missed such as needing to setup some backup plan for the SQL log files and checkpoints? Would this be considered part of Epicor install typically or maybe it was assumed this would be done after by someone? Would this be a normal part of SQL DB administration?
I think there were some good notes on this at last EMUG meeting but I haven't received the notes yet.
Any suggested practices or good links of a training video or documentation on this?
[Non-text portions of this message have been removed]
------------------------------------
Posted by: Rob Bucek <RBucek@...>
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/links
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
  http://groups.yahoo.com/group/vantage/
<*> Your email settings:
  Individual Email | Traditional
<*> To change settings online go to:
  http://groups.yahoo.com/group/vantage/join
  (Yahoo! ID required)
<*> To change settings via email:
  vantage-digest@yahoogroups.com
  vantage-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
  vantage-unsubscribe@yahoogroups.com
<*> Your use of Yahoo Groups is subject to:
  https://info.yahoo.com/legal/us/yahoo/utos/terms/