January 3, 2011 at 5:18 am
Dear Sir,
I am in big trouble I am using SQL Server Express Edition Version 9.00.3042.00
When I am restoring my database size approx 6GB then giving below the message as
System.Data.SqlClient.SqlError: CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 4096 MB per database. (Microsoft.SqlServer.Express.Smo)
If it's not possible in this edition then what edition I should be used for big database size.
so, How to restore please help
Thanking You
Debasis Bag
January 3, 2011 at 5:31 am
SQL Express 2005 has a hard limit of 4GB. No way around that.
You can get SQL Express 2008 R2, which has a 10GB limit, but be aware that if you restore a database to that it will become a SQL 2008 R2 database and there will be no way to get it back to SQL 2005.
Otherwise you'll have to buy one of the licensed versions of SQL. If this is for development only (not a production server), then you can buy a copy of developer edition, which is very cheap.
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
January 3, 2011 at 6:24 am
deba_20032004 (1/3/2011)
Dear Sir,I am in big trouble I am using SQL Server Express Edition Version 9.00.3042.00
When I am restoring my database size approx 6GB then giving below the message as
System.Data.SqlClient.SqlError: CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 4096 MB per database. (Microsoft.SqlServer.Express.Smo)
If it's not possible in this edition then what edition I should be used for big database size.
so, How to restore please help
Thanking You
Debasis Bag
I have to ask... was the backup created by SQL Server Express or some other version?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 3, 2011 at 9:15 am
Any edition other than Express can restore this.
Be aware if you change versions, as Gail mentioned, you cannot go back to the old version after the restore. You can, however, restore the same backup multiple times to multiple instances.
January 4, 2011 at 7:04 am
When you restore a database from 2005 into SQL 2008 R2, it should leave it in 2005 compatibility mode. As long as you leave it in 2005 compatibility mode, it will act like you are using a SQL 2005 instance, but SHOULD let you have 10gb size.
I have not tested this particular situation, and would be very interested to see what the outcome is.
Bob
January 4, 2011 at 7:07 am
rhlangley (1/4/2011)
When you restore a database from 2005 into SQL 2008 R2, it should leave it in 2005 compatibility mode. As long as you leave it in 2005 compatibility mode, it will act like you are using a SQL 2005 instance, but SHOULD let you have 10gb size.
It will behave like a 2005 database and will allow the full 10GB, but it will still be a 2008 R2 database and as such will not be restorable to a lower version (2005 or 2008). Putting the DB onto 2008 R2 is a one-way move.
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
January 4, 2011 at 10:00 am
Gail is correct. While it will "act" like a 2005 database, the physical structure changes, and the 2008R2 engine runs against it. The code in interpreted as though it were 2005 (things like keywords), but it cannot be backed up/detached and moved to 2005.
August 23, 2011 at 12:11 am
System.Data.SqlClient.SqlError: CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 10420 MB per database. (Microsoft.SqlServer.Express.Smo)
Same error occurs for me
Help me we have sql server 2008 R2 while restore a DB error occurs, whats the solution?
August 23, 2011 at 2:55 am
SQL Express 2008 R2 has a 10GB limit. If your DB is larger than that you'll need to buy a licensed version of a higher edition.
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
August 23, 2011 at 2:59 am
Thanks Gil....
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply