Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS SQL Server
 Transaction logs
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 23 December 2008 :  11:22:09  Show Profile  Visit MarcelG's Homepage
Ehm, guys...I'm new to this SQL2000 thing, so please bare with me.
I migrated oxle to the SQL2000 database, and everything is looking pretty crispy.
However, I just spotted in the SQL EM that my database is using 160 MB on the SQL server, 50 MB of which is the db itself, and 110 MB is used by the transaction log.
Yesterday the transaction log was 60MB.
Should I do something to prevent this transactionlog growing too big?<

portfolio - linkshrinker - oxle - twitter

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 December 2008 :  12:25:12  Show Profile  Send ruirib a Yahoo! Message
Set the database to have a simple recovery model.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 23 December 2008 :  14:53:52  Show Profile  Visit MarcelG's Homepage
Is that all? Wow, that was easy.

-edit-
Just to be sure, here's what I'm seeing in the Enterprise manager.
Does this all look ok?





BTW ; I just noticed that the 'free space' in the database grew from 19 MB to 100 MB once the first daily backup was executed (I created a daily full backup to disk schedule).
Do I understand it correctly that the transaction log is cleared after every database-backup?<

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 24 December 2008 06:34:53
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 23 December 2008 :  18:07:12  Show Profile  Visit SiSL's Homepage
Exactly.

You can also shrink your database to clean up unused space.

Instead of "By percent" grow-up, you can set shorter like 1MB or 5MB depending on your traffic or bulk inserts. On transaction log or DB files.

With simple model, you won't have transaction log. However, transaction logs are not very curicial for most databases set for websites. It is best for mostly banking, finances etc or non-backed up recovery models.<

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 23 December 2008 18:11:14
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 24 December 2008 :  06:36:09  Show Profile  Visit MarcelG's Homepage
Thanks for the reply.
I've changed the automatic growth of the database from 10% to 10MB (I couldn't select less than 10 MB).<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07