Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPBanner Unlimited Version 8.0
 CJWSoft Support Info : ASPBanner Unlimited Version 8.0
Subject Info: aspbanner_log.ldf file size A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
fishusa
New User
New User


Joined: October/10/2008
Location: United States
Online Status: Offline
Info: 16
Added: December/29/2008 at 9:05am | IP Logged Quote fishusa

Hi Chris,

Something else to look at...the aspbanner_log.ldf file is growing giganticly, currently at 1.7 GB.  Is there any way to control this log file with aspbanner or is it all a matter going through SQL Server? 

Back to Top View fishusa's Profile Search for other info by fishusa Visit fishusa's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: December/29/2008 at 11:59am | IP Logged Quote cwilliams

I've experienced the same thing on one of my busy setups
I found a 17gb log file and I was like WTF.

Anyway, it's a sql server thing. By default SQL logs every single sql query/transaction.

You have to send SQL a command via query analizer that basically tells it to disable logging for that database. I'll try to look for it this week. I thought I had it saved in a text file somewhere on my server.
 



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: December/29/2008 at 12:06pm | IP Logged Quote cwilliams

Found it.. or at least this should be it..

Change the databasename value to match yours and run this agaisnt your database just like you would a query... you'll probably need to run it logged in as a SQL Server User with enouigh permissions to make such a change but I am sure you'll figure that out




ALTER DATABASE databasename SET RECOVERY SIMPLE

BACKUP LOG databasename WITH TRUNCATE_ONLY



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: December/29/2008 at 12:11pm | IP Logged Quote cwilliams

more info..

http://sqlserver2000.databases.aspfaq.com/how-do-i-reclaim-s pace-in-sql-server.html

http://www.experts-exchange.com/Microsoft/Development/MS-SQL -Server/Q_22947150.html

You might need to do some sort of shrink too afterwards.. I can't remember everything I did but issuing those commands definetly stopped any further growth.. at least for my setup it did..

__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

If you wish to make a comment to this info you must first login
If you are not already registered you must first register

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com