Unix Technical Forum

Transaction LOG

This is a discussion on Transaction LOG within the SQL Server Data Warehousing forums, part of the Microsoft SQL Server category; --> Hi guys, I dont know if im in the right group. My scenario is like this. Transaction logs are ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server Data Warehousing

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:09 PM
Allan M. Grafil
 
Posts: n/a
Default Transaction LOG

Hi guys,

I dont know if im in the right group. My scenario is like this. Transaction logs are eating up my server's hard drive. Almost 60% of my space is transaction log. What are these? Can I simply delete it? Can I compress this? Can someone explain this log file.

Thank you in advance.



Allan M. Grafil



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:09 PM
Jeje
 
Posts: n/a
Default Re: Transaction LOG

you can't delete these files.
the transaction log is truncated when you do a backup.
or you can truncate it:
http://www.codeproject.com/useritems...SQL_server.asp
http://support.microsoft.com/kb/873235
http://sqlserver2000.databases.aspfa...ql-server.html

here a description of what is the log file:
http://www.databasedesign-resource.c...ction-log.html

and finally the best newsgroup is:
sqlserver.server


"Allan M. Grafil" <agrafil@hotmail.com> wrote in message news:unLkq6wBIHA.4836@TK2MSFTNGP06.phx.gbl...
Hi guys,

I dont know if im in the right group. My scenario is like this. Transaction logs are eating up my server's hard drive. Almost 60% of my space is transaction log. What are these? Can I simply delete it? Can I compress this? Can someone explain this log file.

Thank you in advance.



Allan M. Grafil



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 08:09 PM
Ajay
 
Posts: n/a
Default Re: Transaction LOG

Hi,
Please refer below site for more info.

http://www.karaszi.com/SQLServer/default.asp

Thanks
Ajay
"Jeje" <willgart@hotmail.com> wrote in message news:A680E8A0-EB39-447C-8020-DFDCA55736AD@microsoft.com...
you can't delete these files.
the transaction log is truncated when you do a backup.
or you can truncate it:
http://www.codeproject.com/useritems...SQL_server.asp
http://support.microsoft.com/kb/873235
http://sqlserver2000.databases.aspfa...ql-server.html

here a description of what is the log file:
http://www.databasedesign-resource.c...ction-log.html

and finally the best newsgroup is:
sqlserver.server


"Allan M. Grafil" <agrafil@hotmail.com> wrote in message news:unLkq6wBIHA.4836@TK2MSFTNGP06.phx.gbl...
Hi guys,

I dont know if im in the right group. My scenario is like this. Transaction logs are eating up my server's hard drive. Almost 60% of my space is transaction log. What are these? Can I simply delete it? Can I compress this? Can someone explain this log file.

Thank you in advance.



Allan M. Grafil



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-28-2008, 05:40 AM
Knowledgy
 
Posts: n/a
Default Re: Transaction LOG

You can also create a process that uses the DBCC commands to periodically (run it as a job) check the transaction log file sizes and, if past a pre-determined threshhold automatically do a back up or just the truncate by itself to free up space. This will also prevent the database from going down because the transaction log file is full



Sincerely,
John K
Knowledgy Consulting
http://knowledgy.org/

Atlanta's Business Intelligence and Data Warehouse Experts


"Allan M. Grafil" <agrafil@hotmail.com> wrote in message news:unLkq6wBIHA.4836@TK2MSFTNGP06.phx.gbl...
Hi guys,

I dont know if im in the right group. My scenario is like this. Transaction logs are eating up my server's hard drive. Almost 60% of my space is transaction log. What are these? Can I simply delete it? Can I compress this? Can someone explain this log file.

Thank you in advance.



Allan M. Grafil



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-08-2008, 03:38 PM
MC
 
Posts: n/a
Default Re: Transaction LOG

Backup the logs and free some space up.


MC


"Knowledgy" <atlanta business intelligence consultants> wrote in message news:B4udnaU6nPexyHnanZ2dnUVZ_jGdnZ2d@comcast.com. ..
You can also create a process that uses the DBCC commands to periodically (run it as a job) check the transaction log file sizes and, if past a pre-determined threshhold automatically do a back up or just the truncate by itself to free up space. This will also prevent the database from going down because the transaction log file is full



Sincerely,
John K
Knowledgy Consulting
http://knowledgy.org/

Atlanta's Business Intelligence and Data Warehouse Experts


"Allan M. Grafil" <agrafil@hotmail.com> wrote in message news:unLkq6wBIHA.4836@TK2MSFTNGP06.phx.gbl...
Hi guys,

I dont know if im in the right group. My scenario is like this. Transaction logs are eating up my server's hard drive. Almost 60% of my space is transaction log. What are these? Can I simply delete it? Can I compress this? Can someone explain this log file.

Thank you in advance.



Allan M. Grafil



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com