Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

restore database failed because database size would exceed your licensed limit of 4096 MB Expand / Collapse
Author
Message
Posted Monday, January 03, 2011 5:18 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Tuesday, May 14, 2013 1:33 AM
Points: 50, Visits: 219
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
Post #1041770
Posted Monday, January 03, 2011 5:31 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 3:07 PM
Points: 37,687, Visits: 29,946
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 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1041774
Posted Monday, January 03, 2011 6:24 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 1:51 PM
Points: 32,906, Visits: 26,789
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
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #1041800
Posted Monday, January 03, 2011 9:14 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 3:32 PM
Points: 31,419, Visits: 13,732
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.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1041898
Posted Tuesday, January 04, 2011 7:04 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, May 15, 2013 8:19 AM
Points: 189, Visits: 863
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
Post #1042370
Posted Tuesday, January 04, 2011 7:07 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 3:07 PM
Points: 37,687, Visits: 29,946
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 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1042374
Posted Tuesday, January 04, 2011 10:00 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 3:32 PM
Points: 31,419, Visits: 13,732
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.






Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1042552
Posted Tuesday, August 23, 2011 12:11 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 23, 2011 2:58 AM
Points: 2, Visits: 1
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?

Post #1163726
Posted Tuesday, August 23, 2011 2:55 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 3:07 PM
Points: 37,687, Visits: 29,946
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 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1163785
Posted Tuesday, August 23, 2011 2:59 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 23, 2011 2:58 AM
Points: 2, Visits: 1
Thanks Gil....
Post #1163786
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse