Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Database Log file is growing tremendously

Author  Topic 

cplusplus
Aged Yak Warrior

567 Posts

Posted - 2007-05-04 : 10:19:28
Our database .mdf file and log file both are growing fast since we have have a function in the front end to upload documents as blob object to database table. because of that function it seems the whole database is growing rapidly. can we shrink the log file. is it ok or will it corrupt the database file .mdf

please help thank you very much for the information.

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2007-05-04 : 10:40:44
you can backup the transaction log and shrink the file, but it will grow again...
one option is not to save blobs to a database

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2007-05-04 : 10:53:47
See also: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=Why%20is%20my%20LDF%20Log%20File%20so%20big,Image,Images

Kristen
Go to Top of Page
   

- Advertisement -