July 2, 2009 at 10:15 am
Ok, Thank you I put for both 100 MB. I have for data 4,307 MB and for log 2MB. Do I keep it like this for now? Also I checked data and logs for Enable Autogrowth to true and Unrestricted file Growth and when I save for Logs it goes back to resticted File Growth 2,097,152. Why is it going back to restricted?
July 2, 2009 at 10:17 am
Krasavita (7/2/2009)
Ok, Thank you I put for both 100 MB. I have for data 4,307 MB and for log 2MB. Do I keep it like this for now? Also I checked data and logs for Enable Autogrowth to true and Unrestricted file Growth and when I save for Logs it goes back to resticted File Growth 2,097,152. Why is it going back to restricted?
Think of it as unrestricted. the max size of the transaction log is 2 TB, and that is what that value is. I would increase the size of your t-log, perhaps change it from 2 MB to 100 MB as well.
July 2, 2009 at 10:18 am
Krasavita (7/2/2009)
Ok, Thank you I put for both 100 MB. I have for data 4,307 MB and for log 2MB. Do I keep it like this for now? Also I checked data and logs for Enable Autogrowth to true and Unrestricted file Growth and when I save for Logs it goes back to resticted File Growth 2,097,152. Why is it going back to restricted?
Exactly what Lynn said.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 2, 2009 at 10:22 am
Krasavita (7/2/2009)
Ok, Thank you I put for both 100 MB. I have for data 4,307 MB and for log 2MB. Do I keep it like this for now? Also I checked data and logs for Enable Autogrowth to true and Unrestricted file Growth and when I save for Logs it goes back to resticted File Growth 2,097,152. Why is it going back to restricted?
Your second question, yes. Now you monitor your system and after a while, you make adjustments based on data growth (or non growth).
July 2, 2009 at 10:35 am
... and no more "shrinking".... it's bad for the system all the way around.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 2, 2009 at 10:45 am
Jeff Moden (7/2/2009)
... and no more "shrinking".... it's bad for the system all the way around.
Agreed!
July 2, 2009 at 1:00 pm
Ok, Under File Section under Logs I changed from 2 to 100 MB,then under autogrowth under FileGrowth, also put 100 MB, then under Maximum put Unrestricted and click save, after I reopen and everything saved except: Goes Back to Restricted 2,097,152 MB under Maximum section, why is that? Thank you
July 2, 2009 at 1:24 pm
While reading through this thread, it dawned on me that this is something that I failed to check on with my new job. 🙁
Is there a way to tell when / how often a file has grown in the past? There are no logs kept that will tell us that.
Geez, just looked... 6gb file set to autogrow by 1mb... - it's now at 100, but I need to start tracking it's available space history....
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 2, 2009 at 1:25 pm
Krasavita (7/2/2009)
Ok, Under File Section under Logs I changed from 2 to 100 MB,then under autogrowth under FileGrowth, also put 100 MB, then under Maximum put Unrestricted and click save, after I reopen and everything saved except: Goes Back to Restricted 2,097,152 MB under Maximum section, why is that? Thank you
Reread my reply to that above (Goes Back to Restricted 2,097,152 MB under Maximum section). It's OKAY. Just to reaffirm, the transaction log file is limited to 2 TB in size, 2,097,152 MB == 2 TB. Therefore being restricted to this size is the same as unrestricted growth.
July 2, 2009 at 1:35 pm
Thank you
July 2, 2009 at 1:53 pm
WayneS (7/2/2009)
Is there a way to tell when / how often a file has grown in the past?
Default trace, for as far back as it goes.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2009 at 5:06 pm
GilaMonster (7/2/2009)
WayneS (7/2/2009)
Is there a way to tell when / how often a file has grown in the past?Default trace, for as far back as it goes.
Thanks Gail!
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
July 2, 2009 at 9:23 pm
WayneS (7/2/2009)
GilaMonster (7/2/2009)
WayneS (7/2/2009)
Is there a way to tell when / how often a file has grown in the past?Default trace, for as far back as it goes.
Thanks Gail!
Right-click on the database, navigate to Reports, Standard Reports and select the report for Disk Usage. Not only will this show you how much space is available in the data files - it includes all of the previous autogrowth events for both the log and data files.
Well, at least as far back as the default trace contains - because that is where it gets the data.
If you run Profiler when you run the report you can capture the SQL that the report uses to get the data.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
Viewing 13 posts - 16 through 27 (of 27 total)
You must be logged in to reply to this topic. Login to reply