Akinja


I have a database that seems to change its autogrowth settings every so often. When I initially set this up, I set the autogrowth at 500MB. After some time, I noticed that the autogrowth was set to 645000%. When I tried to change it through Management Studio but recieve the following error

' Value of '645000' is not valid for 'Value'. 'Value should be between 'Minimum and Maximum'.

Parameter name: Value(System.Windows.forms)

This occurs when I try to open it in order to change it. The only way to change it is through Transact.

USE master
GO
ALTER DATABASE mydb 
MODIFY FILE
  (NAME = mydb_data,
  FILEGROWTH = 500MB)
GO

This will work, but for how long I do not know. I have done this twice before.

The first problem is why am I unable to change this value using SQL Management Studio. Second is why is this value being changed and how does such a large value get inputted.

So far, this is only happening with only one of my 2005 database. Any direction would be of great help.

Thanks

Akinja Richards




Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

Terrence Nevins


Hi Akinja,

This seems rather odd that this value would be changing on you without the aid of a job that might be running somewhere or executed by someone.

As far as SSMS not being able to change this, that can be attributed to the way we validate the input. Validation happens either when being keyed in manually, or read into the value.

I am going to do a little investigation into this.

Thanks,

Terrence Nevins

SQL Server Program Manager







Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

Terrence Nevins

Hi Akinja,

So far the highest number I could input is 10000 for % of growth. Anything higher is automatically converted to 10000 when validation occurs.

I'm following some other hunches as to how this number is getting set to something so high. Will let you know what I find out in the next few days.

Terrence Nevins

SQL Server Program Manager







Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

Akinja

Terrence

Thanks for the follow up. After a few days, it doesn't seem to have reoccurred but that doesn't mean it will not. I have been keeping an eye on it an hopefully can track down why this may have happened.

Akinja





Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

EmilF

The same thing has been happening to me. I have a large production DB with a datafile, transactionlog and tempdb on the same RAMSAN(SSD) and 2 other datafiles on bigger disk arrays.
Before I left for vacation I changed the autogrowth settings from the default setting of 10% to a more realistic setting of 500mb-1000mb, so in case files would autogrow they would not fill their disks.
When I came back, the on-call member of our operations department informed me that we had been experiencing crashes of our production enviroment due to SQL Server errors. It turned out that the files, both datafile and transaction log had grown and in each case grown so much that they filled their disks.
I looked at the autogrowth settings and instead of seeing the values I expected to see... the values I had set before I left, I saw that one of the datafiles was set to grow either 128000% or 1280000% and the other files also had a very high growth %, everything much higher then 100%.
I tried to use the UI to edit the autogrowth settings, but got the same error as described above. I ended up using T-SQL to fix it.
I've changed my autogrowth values to the default settings again, and really hope that my report helps getting this fixed.
Emil




Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

Dan Jones MSFT

Hi Folks,

This is a known issue. It was fixed in SP1 but later we found the fix was incomplete and the autogrow setting would revert back to a percent if the server crashes right after it's changed from a percent to a fixed value. For both of you it sounds like you're hitting the original bug which is when autogrow is changed from a percent to a fixed value the server automatically changes it back to a percent when it next grows. If you apply SP1 you should no longer hit this. Here's the link to the Connect bug: https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=126336

Cheers,

Dan






Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

Akinja

Thanks for the response. We had applied SP1 a few months ago on all 2K5 servers. However, I can not remember if the first incident occurred prior to loading SP1. The second time happended after SP1 was applied. As of today, the problem has not reoccurred but I am keeping an eye on it.

Thanks again

Akinja




Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

Dan Jones MSFT

I mentioned the fix was incomplete in SP1 but failed to mention that the complete fix will be in SP2. I don't believe any dates for SP2 have been publically communicated but I suspect you'll hear an announcement in the next month or so.




Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

KOP_DBA

Has this fix made it into SP2 I am unable to change the autogrowth setting for any of my log files. I tried to change the setting using both Management Studio, and TSQL. I am using version 9.0.3152.




Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

KOP_DBA

Was this fix included in SP2 I am unable to set autogrow for any of my transaction logs. Whenever I set it to autogrow, the next time I check, it is set to no growth. I've tried to set it using Management Studio and I've tried with TSQL. I am using build 9.0.3152




Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

Jamey Hines

Having same problem here. Currently running 9.0.3054 but started happening on 9.0.1399. I have since updated to 9.0.2047 and finally 9.0.3054.




Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

Cornell Hooton

Same issue here, occurring on an install that went directly to v9.0.3054, before having loaded the databases. It appears that by the time of the first major growth opportunity, the autogrowth went to 2650% and database size jumped from about 1.6GB to just about 40GB, consuming virtually all free space on the partition.

-- Cornell Hooton





Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

sbs13

We are currently running SP2. This issue happened again over the weekend to 4 of the databases on one of our servers. The new percentage growth for all of them was 65000+ %.

This is happening a lot LESS in SP2 but it's still happening to us... Is there going to be another bug fix coming





Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

Steinar Grande

This still happens with ver. 9.0.3054. any news





Re: Unable to change SQL 2005 database Autogrowth through Server Management Studio

EmilF

I haven't dared even testing this on my servers. I now use T-SQL for all my autogrowth needs.