Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Huge log file size
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
£Jim  
View profile  
 More options Mar 14 2008, 10:37 am
Newsgroups: microsoft.public.sqlserver.newusers
From: £Jim <hoo...@some.net>
Date: Fri, 14 Mar 2008 07:37:51 -0700
Local: Fri, Mar 14 2008 10:37 am
Subject: Huge log file size
Hi,
I have a database that's a 1.2GB file, but it's log file is 122GB.
There are a lot of import transactions overnight that probably account
for it but how can I reduce the size and what settings should I use to
keep it smaller?
Thanks
--

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ekrem Önsoy  
View profile  
 More options Mar 14 2008, 5:07 am
Newsgroups: microsoft.public.sqlserver.newusers
From: Ekrem Önsoy <ek...@compecta.com>
Date: Fri, 14 Mar 2008 11:07:51 +0200
Local: Fri, Mar 14 2008 5:07 am
Subject: Re: Huge log file size
It looks it's too big then it's supposed to be. So you should take control
of it.

You can plan to change the recovery model to BULK LOGGED or SIMPLE when you
perform bulk operations. However you should backup your database before and
after changing your databases rovery model. So, unnecessary operations will
not be logged. And by taking backups you'll ensure you won't experience data
loss during this operation.

You can truncate and then shrink your transaction log. However, you should
consider keeping your transaction log's file size greater then a certain
size. You'll determine this according to your environment and needs. You
better read Tibor's favourite article about this.
http://www.karaszi.com/SQLServer/info_dont_shrink.asp

--
Ekrem Önsoy

"£Jim" <hoo...@some.net> wrote in message

news:xn0fno7212mbr7q000@msnews.microsoft.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
£Jim  
View profile  
 More options Mar 14 2008, 11:44 am
Newsgroups: microsoft.public.sqlserver.newusers
From: £Jim <hoo...@some.net>
Date: Fri, 14 Mar 2008 08:44:04 -0700
Local: Fri, Mar 14 2008 11:44 am
Subject: Re: Huge log file size
Interesting information, though now I'm confused about recovering the
database. If I do a full database backup to disk that takes 1.3GB. Is
that not sufficient for disaster recovery of the database? It has very
little data but some stored procedures that operate on another database.
--


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ekrem Önsoy  
View profile  
 More options Mar 14 2008, 4:54 am
Newsgroups: microsoft.public.sqlserver.newusers
From: Ekrem Önsoy <ek...@compecta.com>
Date: Fri, 14 Mar 2008 10:54:57 +0200
Local: Fri, Mar 14 2008 4:54 am
Subject: Re: Huge log file size
I think there is a confusion here. I suggest you to take a look at the
following link:
http://msdn2.microsoft.com/en-us/library/ms175987.aspx

--
Ekrem Önsoy

"£Jim" <hoo...@some.net> wrote in message

news:xn0fno8si2oox2w000@msnews.microsoft.com...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google