September 17, 2010 at 1:29 pm
Hello,
Just curious what happends when the data size of database reached MaxSize? Does the database become corrupt/read only mode/crash the server/crash the tempdb?
Thank you.
September 17, 2010 at 1:54 pm
No corruption, no crashes. A simple error saying that there's not enough free space when you go to insert data.
Do note that, for other than Express, the max size of a SQL database is over 500 000 TB, so I don't think you'll need to worry about it in most cases.
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
September 17, 2010 at 2:51 pm
Express allows 10GB. You can test it there. It will just stop you from adding more data
September 17, 2010 at 3:35 pm
If the database fills the primary data files to the max file size you have set for them, the following error message will be written in the SQL log and server application log.
Could not allocate a new page for database 'DATABASE' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply