Microsoft sql server ошибка 1827

  • Remove From My Forums
  • Question

  • I am getting the below error message when trying to increase size of our database in SQL Server 2005. Please help.

    TITLE: Microsoft SQL Server Management Studio Express
    ——————————

    Alter failed for Database ‘CNG_Main’.  (Microsoft.SqlServer.Express.Smo)

    ——————————
    ADDITIONAL INFORMATION:

    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo)

    ——————————

    CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 4096 MB per database. (Microsoft SQL Server, Error: 1827)

    ——————————
    BUTTONS:

    OK
    ——————————

Answers

  • Its a limitation of Express Edition. Maximum allowed DB size is 4 GB. 

    —Prashanth

    • Proposed as answer by

      Tuesday, March 3, 2015 4:06 PM

    • Marked as answer by
      Lydia ZhangMicrosoft contingent staff
      Wednesday, March 11, 2015 11:49 AM

  • Hello,

    That’s a limitation of SQL Server 2005/2008 Express Edition as explained in the following resource.

    http://www.sqlcoffee.com/Troubleshooting020.htm


    Try to upgrade to SQL Server 2008 R2 Express Edition or later, that has a limit of 10 GB per database instead of 4 GB.
    Hope this helps.


    Regards,

    Alberto Morillo
    SQLCoffee.com

    • Edited by
      Alberto MorilloMVP
      Tuesday, March 3, 2015 5:25 PM
    • Proposed as answer by
      Lydia ZhangMicrosoft contingent staff
      Wednesday, March 4, 2015 5:52 AM
    • Marked as answer by
      Lydia ZhangMicrosoft contingent staff
      Wednesday, March 11, 2015 11:49 AM

There are some possibilities :

1- Your data size has already reached 4Gbytes and that’s the limit for SQL server express edition.

2- Your data & log files has much space in it and data is less than four Gbytes.

You can consider few options here :

1- As advised before , check if yiu can reclaim any space from the databases file.

Select Name FileNme, size,fileproperty(Name,’SpaceUsed’) ‘Space_used’,growth,state_desc,is_percent_growth

from sys.database_files

Unless you have deleted/truncated much data , this method is NOT very guaranteed  to help as the datafiles need to grow anyway. Also ,database in SQL server express Edition has SIMPLE as a default recovery model so the log file shouldn’t grow very much.

Give that a try and see if it helps.

2- You can create another database , move some of the tables with indexes to it and create views (with same name/owner) that reference these tables.

Caveats
======

1- this will complicate a bit your model and may NOT be supported by application vendor.

2- Referential integrity is not possible across databases so if some tables are referenced by FKs to one or more other tables then you won’t be able to move them.

3- Getting data from views isn’t always as good as querying the base tables.

1- Upgrade SQL server edition. That will cost you money.

Please let us know how it goes

THX


Please mark as answer if you think this answers your questions

  • Proposed as answer by
    Charles Wang — MSFT
    Monday, December 7, 2009 2:35 PM
  • Marked as answer by
    Charles Wang — MSFT
    Monday, December 14, 2009 7:28 AM

I’m attempting to extract data from a SQL Server backup provided by vendors with whom we no longer work.

I only need data from some tables, but I need to examine the database structure to determine exactly what I need.

This is the only use I have for SQL Server and I don’t what to buy in big.

I tried SQL Server Express to restore the .bak file locally and received the error:

Restore failed…
CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 4096 MB per database.
RESTORE DATABASE is terminating abnormally. (Microsoft SQL Server, Error: 1827)

I am having difficulty determining what alternative approach or minimum license I need to purchase to get me past this database size limit. The database seems to be only marginally over the limit.

I used RESTORE FILELISTONLY, HEADERONLY and LABELONLY commands to extract what metadata I could.

HEADERONLY
BackupSize: 4958099456

I’m running SQL Server Express 2008 on a Win XP 32 bit platform, which could be part of my problem.

The version I’m running:

Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (Intel X86)  
Sep 22 2011 00:28:06  
Copyright (c) 1988-2008 Microsoft Corporation  
Express Edition on Windows NT 5.1 <X86> (Build 2600: Service Pack 3)

Can anyone tell me the least expensive and most efficient way out of this problem?

Thanks,
Neale

12 Replies

  • Either shrink your database or upgrade to a full copy of SQL.

    As the error says:

     the resulting cumulative database size would exceed your licensed limit of 4096 MB per DB».

    ,

    You are limited to a 4GB database size with SQL express. You are close to breaching that.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Robert Miller

    Rockn


    This person is a Verified Professional

    This person is a verified professional.

    Verify your account
    to enable IT peers to see that you are a professional.

    mace

    Using SQL Express for Sharepoint was your first mistake as it doesn’t scale well. Purchase a full version of SQL Server and move the db over if possible.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Salman Siddiqui

    Thanks Gary, I already, shrinked the DB. but now much affective.


    Was this post helpful?
    thumb_up
    thumb_down

  • Upgrade your ‘SQL server’. Safest path to go on.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Salman Siddiqui

    Rockn, 

    Thanks, i guess i have the only option to purchase enterprise unlimited version. 


    Was this post helpful?
    thumb_up
    thumb_down

  • Standard SQL will also work in this scenario.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Bill Dick

    Another option is to upgrade to a newer version of Express (if you environment will allow/support it).  MSSQL 2012 Express allows up to a 10 GB Db size.


    Was this post helpful?
    thumb_up
    thumb_down

  • LincolnITGuy wrote:

    Another option is to upgrade to a newer version of Express.  MSSQL 2012 Express allows up to a 10 GB Db size.

    Correct. But it looks like some audit table is running out of space. So the 2012 Express would probably also fail in the near future.

    This is a guestimate from my side I know.


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Salman Siddiqui

    Thanks, Oscar4000,


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Bill Dick

    This is true, good point Oscar.  

    No matter what, any express installation is going to be a temporary solution when used as a SharePoint back-end.  As Rockn said above, it inherently doesn’t scale well. I used it on our initial vSphere vCenter installation and that filled up after a couple years.  Learning from my mistake, my philosophy is now no express unless it is a test/lab setup (or for a home/hobby/school type project).


    Was this post helpful?
    thumb_up
    thumb_down

  • Author Salman Siddiqui

    Fellows,

    Please assist me. In case of

    1. Backup successfully processed from Central administration sharepoint.

    2. Uninstall sql server 2005 and all updates. 

    3, sql server 2014 install from scratch.

    4. restore the sharepoint. 

    In above actions, please advise, sharepoint will be work fine after restoration. or I have the only option to upgrade from 2005 to 2014. Because still I didn’t work with sql server 2014.


    Was this post helpful?
    thumb_up
    thumb_down

  • Why not install sql 2014 on another vm?

    This way you can backup and restore the share point db and, if it doesn’t work you have a rollback plan.


    Was this post helpful?
    thumb_up
    thumb_down

I have SQL Server not Express and when db grows to 10240 I get error:

Could not allocate space for object in database because the ‘PRIMARY’
filegroup is full. Create disk space by deleting unneeded files,
dropping objects in the filegroup, adding additional files to the
filegroup, or setting autogrowth on for existing files in the
filegroup.

I tried to change Initial size from 10240 to more but then got error:

CREATE DATABASE or ALTER DATABASE failed because the resulting
cumulative database size would exceed your licensed limit of 10240 MB
per database. (Microsoft SQL Server, Error: 1827)

But this is really not Express but full SQL Server, so how it is possible that it has this limitation?

marc_s's user avatar

marc_s

722k173 gold badges1321 silver badges1443 bronze badges

asked Mar 23, 2015 at 21:38

kosnkov's user avatar

9

I had the same error in my Express Edition as the official documentatios says, to fix it without shrink the DB I upgraded my version, from Express to Developer edition. Go to SQL Server Installation Center->Maintenance->Edition upgrade.

answered Sep 3, 2020 at 17:49

Ros's user avatar

RosRos

4314 silver badges10 bronze badges

The instance name for SQL Server Express is by default SQLEXPRESS — but it can be anything you choose during installation. If you install SQL Server Express as the default (un-named) instance, then you get MSSQLSERVER as the pseudo instance name for SQL Server Express.

Hence, you really cannot rely on the instance name to judge whether your SQL Server is the Express edition or not. You need to use

SELECT @@Version

to get that information.

answered Mar 24, 2015 at 6:07

marc_s's user avatar

marc_smarc_s

722k173 gold badges1321 silver badges1443 bronze badges

You need to upgrade from «SQL Server Express» edition to «SQL Server Developer» Edition from «SQL Server Installation» under «Maintenance».

answered Mar 4, 2021 at 4:35

Rajender Gottipamula's user avatar

please Check This link

Change Product Key for SQL Server 2017 / 2016 / 2014 Installation

Community's user avatar

answered Apr 7, 2019 at 9:10

M.Ganji's user avatar

M.GanjiM.Ganji

8188 silver badges13 bronze badges

0

You need to upgrade your SQL server version.

answered Jan 25, 2022 at 8:21

shabab's user avatar

2

this is may be due to lack of space in your computer.

answered Nov 12, 2020 at 7:57

user14624334's user avatar

1

I have SQL Server not Express and when db grows to 10240 I get error:

Could not allocate space for object in database because the ‘PRIMARY’
filegroup is full. Create disk space by deleting unneeded files,
dropping objects in the filegroup, adding additional files to the
filegroup, or setting autogrowth on for existing files in the
filegroup.

I tried to change Initial size from 10240 to more but then got error:

CREATE DATABASE or ALTER DATABASE failed because the resulting
cumulative database size would exceed your licensed limit of 10240 MB
per database. (Microsoft SQL Server, Error: 1827)

But this is really not Express but full SQL Server, so how it is possible that it has this limitation?

marc_s's user avatar

marc_s

722k173 gold badges1321 silver badges1443 bronze badges

asked Mar 23, 2015 at 21:38

kosnkov's user avatar

9

I had the same error in my Express Edition as the official documentatios says, to fix it without shrink the DB I upgraded my version, from Express to Developer edition. Go to SQL Server Installation Center->Maintenance->Edition upgrade.

answered Sep 3, 2020 at 17:49

Ros's user avatar

RosRos

4314 silver badges10 bronze badges

The instance name for SQL Server Express is by default SQLEXPRESS — but it can be anything you choose during installation. If you install SQL Server Express as the default (un-named) instance, then you get MSSQLSERVER as the pseudo instance name for SQL Server Express.

Hence, you really cannot rely on the instance name to judge whether your SQL Server is the Express edition or not. You need to use

SELECT @@Version

to get that information.

answered Mar 24, 2015 at 6:07

marc_s's user avatar

marc_smarc_s

722k173 gold badges1321 silver badges1443 bronze badges

You need to upgrade from «SQL Server Express» edition to «SQL Server Developer» Edition from «SQL Server Installation» under «Maintenance».

answered Mar 4, 2021 at 4:35

Rajender Gottipamula's user avatar

please Check This link

Change Product Key for SQL Server 2017 / 2016 / 2014 Installation

Community's user avatar

answered Apr 7, 2019 at 9:10

M.Ganji's user avatar

M.GanjiM.Ganji

8188 silver badges13 bronze badges

0

You need to upgrade your SQL server version.

answered Jan 25, 2022 at 8:21

shabab's user avatar

2

this is may be due to lack of space in your computer.

answered Nov 12, 2020 at 7:57

user14624334's user avatar

1

У меня SQL Server not Express, и когда db вырастает до 10240, я получаю ошибку:

Не удалось выделить место для объекта в базе данных, поскольку файловая группа «PRIMARY» заполнена. Создайте дисковое пространство, удалив ненужные файлы, отбросив объекты в файловой группе, добавив дополнительные файлы в файловую группу или включив автоматический рост для существующих файлов в файловой группе.

Я попытался изменить начальный размер с 10240 на больше, но потом получил ошибку:

Ошибка CREATE DATABASE или ALTER DATABASE, поскольку итоговый совокупный размер базы данных превысит лицензионный лимит 10240 МБ на базу данных. (Microsoft SQL Server, ошибка: 1827)

Но на самом деле это не Express, а полноценный SQL Server, так как же возможно, что у него есть это ограничение?

4 ответа

Имя экземпляра для SQL Server Express по умолчанию SQLEXPRESS , но это может быть любое имя, выбранное вами во время установки. Если вы установите SQL Server Express как экземпляр по умолчанию (без имени), вы получите MSSQLSERVER в качестве имени псевдо-экземпляра для SQL Server Express.

Следовательно, вы действительно не можете полагаться на имя экземпляра , чтобы судить, является ли ваш SQL Server выпуском Express или нет. Вам нужно использовать

Чтобы получить эту информацию.

Это может быть связано с нехваткой места на вашем компьютере.

Изменить ключ продукта для установки SQL Server 2017/2016/2014

У меня была такая же ошибка в моем Express Edition, как говорится в официальной документации, чтобы исправить ее без сжатия БД, я обновил свою версию с Express до версии для разработчиков. Перейдите в Центр установки SQL Server-> Обслуживание-> Обновление выпуска.

CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 10240 MB per database

I have SQL Server not Express and when db grows to 10240 I get error:

Could not allocate space for object in database because the ‘PRIMARY’ filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.

I tried to change Initial size from 10240 to more but then got error:

CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 10240 MB per database. (Microsoft SQL Server, Error: 1827)

But this is really not Express but full SQL Server, so how it is possible that it has this limitation?

У меня SQL Server not Express, и когда db вырастает до 10240, я получаю сообщение об ошибке:

Could not allocate space for object in database because the ‘PRIMARY’ filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.

Я попытался изменить начальный размер с 10240 на больше, но потом получил ошибку:

CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 10240 MB per database. (Microsoft SQL Server, Error: 1827)

Но на самом деле это не Express, а полноценный SQL Server, так как же возможно, что у него есть это ограничение?

  

Zaicev

09.09.14 — 12:18

Просу срочной помощи, возникла у меня ошибка связанная с переполненой БД на сервере  Microsoft SQL Server 2008 R2 Express Edition

БД у меня выросла до 11574МБ.

Сейчас не могут сотрудники ничего записать, так как нет свободного места.

Думал выгрузить БД в dt удалить БД и заново загрузить. Но дело в том, что зайти в конфигуратор могу, а выгрузить не могу, дает ошибку платформы.

Посоветуйте, что можно сейчас мне сделать ?

Вот сама ошибка при записи любого документа:

ЗАГОЛОВОК: Microsoft SQL Server Management Studio

——————————

Действие Изменить завершилось неудачно для объекта «База данных» «pt».  (Microsoft.SqlServer.Smo)

Чтобы получить справку, щелкните: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000.0+((KJ_PCU_Main).120628-0827+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Изменить+Database&LinkId=20476

——————————

ДОПОЛНИТЕЛЬНЫЕ СВЕДЕНИЯ:

При выполнении инструкции или пакета Transact-SQL возникло исключение. (Microsoft.SqlServer.ConnectionInfo)

——————————

Ошибка операции CREATE DATABASE или ALTER DATABASE, так как размер результирующей совокупной базы данных превысил бы разрешенный предел в 10240 МБ на база данных. (Microsoft SQL Server, ошибка: 1827)

Чтобы получить справку, щелкните: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=1827&LinkId=20476

С

  

ДенисЧ

1 — 09.09.14 — 12:20

зайди в студию, грохни все индексы (ручками), ужми базу, потом выгружай.

  

vde69

2 — 09.09.14 — 12:21

шринк сделай

  

Zaicev

3 — 09.09.14 — 12:21

(1) Извините, подскажите пожалуйста подробно как грохнуть в Studio индексы ? Это ничего не сломает я не потеряю информацию ВД ?

  

Zaicev

4 — 09.09.14 — 12:22

(2) Пожалуйста, напишите подробно, я новичок в этом деле.

  

vde69

5 — 09.09.14 — 12:22

а вообще делов «Express Edition», даже если сейчас починишь — это не на долго…

  

PR

6 — 09.09.14 — 12:23

(4) Может тогда стоит вызвать профессионала?

Вообще нужно сползать с экспресса, раз база больше 10 гигов.

  

Zaicev

7 — 09.09.14 — 12:23

(5) та мне бы до вечера дотянуть. Чтобы работу не остановить на весь день..

  

vde69

8 — 09.09.14 — 12:23

  

shuhard

9 — 09.09.14 — 12:24

(0) срочно беги в магазин и купи нормальный сиквел, Express Edition имеет ограничения и обойти их можно только путем удаления данных их рабочей системы

  

Zaicev

10 — 09.09.14 — 12:24

(6) Я системный администратор, но пока учусь на ошибках. Это мой провтык((

  

Ёпрст

11 — 09.09.14 — 12:25

(4) ручками открываешь таблички и пкм — удалить..

можешь и скриптовм, все стразу через DROP INDEX  удалить

  

Ёпрст

12 — 09.09.14 — 12:26

можно и посмотреть, какие самые большие индексные таблички и только их грохнуть

  

ДенисЧ

13 — 09.09.14 — 12:27

(3) Открыть ветку таблицы, ветку индексы, встать на нужный и Del

  

ChiginAV

14 — 09.09.14 — 12:30

Проще поставить скуль developer edition. Прицепить к нему эту базу. Выгрузить в dt. Сделать базу файловой. Замести следы…

  

Zaicev

15 — 09.09.14 — 12:30

(8) а при выполнении ширинка указать размер сжатия файлов ?

  

Kamas

16 — 09.09.14 — 12:32

  

ChiginAV

17 — 09.09.14 — 12:34

(16) Это на express не работает же

  

Kamas

18 — 09.09.14 — 12:37

(17) что конкретно не сработает ?? насколько я помню Секционирование таблиц в expres можно сделать и разнести таблицы по разным файлам

  

ChiginAV

19 — 09.09.14 — 12:39

  

Zaicev

20 — 09.09.14 — 12:41

  

Maxus43

21 — 09.09.14 — 12:44

(20) доступное свободное место — 0, не ужмёшь

  

Maxus43

22 — 09.09.14 — 12:45

выбери топ самых больших таблиц, может картинки или ещё какая хрень там место сохрало

  

Kamas

23 — 09.09.14 — 12:55

  

Maxus43

24 — 09.09.14 — 12:57

(23) если бы был «любой не express sql» — думаешь вопрос в (0) бы возник?

  

Chai Nic

25 — 09.09.14 — 13:02

(24) Ну сложно что ли скачать какой-нибудь девелопер едишен?

  

Kamas

26 — 09.09.14 — 13:02

(24)  думаю что вопрос бы возник, будь это любой не express ломаный дома, а не работе или триалка на 180 дней;)

  

Maxus43

27 — 09.09.14 — 13:04

ну пусть триалку и ставит, и бежит покупать нормальный, пока срок не кончился

  

Kamas

28 — 09.09.14 — 13:07

можно вопрос в том за сколько эти данные набрались если лет за 8 то можно просто поставить триал свернуть базу и еще лет 6 не парится

  

МихаилМ

29 — 09.09.14 — 13:13

можно удалить данные остаков, оборотов.

потом пересчитать .

  

Kamas

30 — 09.09.14 — 13:15

(29) помоем правильнее будет все таки провести полноценную свертку в триал версии

  

Zaicev

31 — 09.09.14 — 13:52

У меня получилось выгрузить БД в dt, теперь я ее загружаю в файловом режиме, потом ее планирую сжать в конфигураторе. Думаю, что сожму в половину. Ну это пока в теории..

  

Maxus43

32 — 09.09.14 — 13:56

(31) СУБД нормальную поставь. Жалко денег — хотя бы постгри значит

Проблема

При попытке восстановить резервную копию базы данных Vault на сервере Vault отображается следующее сообщение. 

Изображение, добавленное пользователем

«Не удалось выполнить CREATE DATABASE или ALTER DATABASE, так как итоговый совокупный размер базы данных превысит лицензированный предел в 10240 МБ на базу данных».
Восстановление базы данных прер

Обработано 10 процентов.
Обработано 20 процентов.
30 процентов обработано.
40 процентов обработано.
50 процентов обработано.
60 процентов обработано.
70 процентов обработано.
80 процентов обработано.
90 процентов обработано.
100 процентов обработано.

Причины:

Размер базы данных Autodesk Vault достиг предельных значений, установленных экспресс®-выпуском Microsoft SQL Server. В таблице ниже приведены ограничения размера базы данных на базу данных в режиме «Экспресс-выпуск». 

 SQL Express 2014  Ограничение размера базы данных 10 ГБ
 SQL Express 2016  Ограничение размера базы данных 10 ГБ
 SQL Express 2017  Ограничение размера базы данных 10 ГБ

Решение

Для устранения проблемы восстановления требуется обновление Microsoft ® SQL Server Express до версий Standard или Enterprise. Если однопользовательская установка Microsoft® SQL Server Standard или Enterprise уже подготовлена, убедитесь, что имя экземпляра установлено на «AUTODESKVAULT», чтобы в процессе восстановления использовался правильный экземпляр.

В таблице ниже приведен список версий, поддерживаемых Vault 2019 для Microsoft SQL Server ® Standard и Enterprise Edition. 

SQL Server 2014 Standard и Enterprise с пакетом обновления 2
SQL Server 2016 Standard и Enterprise с пакетом обновления 1
SQL Server 2017 Standard и Enterprise

Для выполнения этих действий следуйте инструкциям в разделе онлайн-справки по Vault Обновите Microsoft SQL Express до Microsoft SQL Standard или более поздней версии.

Если одна из перечисленных выше версий SQL Server уже установлена, администратор базы данных должен увеличить предельный размер базы данных.

См. также:

  • Уменьшите размер базы данных Vault после достижения предела в 10 ГБ для базы данных SQL
  • Ошибка «Не удалось создать пользователя в базе данных» приводит к сбою при возврате файла в хранилище

Программы

Vault Basic; Vault Workgroup; Vault Professional

  • Remove From My Forums
  • Вопрос

  • I now use Window XP SP2. And I’ve installed SQL Server 2000 and installed MSDE. How can I attached the database which size bigger than 2 GB. Anybody have any idea or solution?

    Thanks you all in advance.

Ответы

  • You are using MSDE and therefore cannot use a database above this size. You would need to upgrade the SQL Server Edition to use a database larger than 2GB. Other options include shrinking/removing some data (i.e. data which can be archived), or breaking
    the database up into multiple ones. What are you using the database for?

    Another option is to upgrade to SQL Server 2005 Express which allows a 4GB user database. Of course this requires extra work, planning, testing etc…

    http://www.microsoft.com/sqlserver/2005/en/us/compare-features.aspx

    Thanks


    Neil Moorthy Senior SQL Server DBA/Developer

    • Предложено в качестве ответа

      3 ноября 2010 г. 5:35

    • Помечено в качестве ответа
      Tom Li — MSFT
      10 ноября 2010 г. 4:43
  • You will be better of intalling SQL Server 2008R2 Express Edition which is limited to 10gb database size


    Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/

    • Помечено в качестве ответа
      Tom Li — MSFT
      10 ноября 2010 г. 4:43

У меня SQL Server not Express, и когда db вырастает до 10240, я получаю ошибку:

Не удалось выделить место для объекта в базе данных, поскольку файловая группа «PRIMARY» заполнена. Создайте дисковое пространство, удалив ненужные файлы, отбросив объекты в файловой группе, добавив дополнительные файлы в файловую группу или включив автоматический рост для существующих файлов в файловой группе.

Я попытался изменить начальный размер с 10240 на больше, но потом получил ошибку:

Ошибка CREATE DATABASE или ALTER DATABASE, поскольку итоговый совокупный размер базы данных превысит лицензионный лимит 10240 МБ на базу данных. (Microsoft SQL Server, ошибка: 1827)

Но на самом деле это не Express, а полноценный SQL Server, так как же возможно, что у него есть это ограничение?

4 ответа

Лучший ответ

Имя экземпляра для SQL Server Express по умолчанию SQLEXPRESS, но это может быть любое имя, выбранное вами во время установки. Если вы установите SQL Server Express как экземпляр по умолчанию (без имени), вы получите MSSQLSERVER в качестве имени псевдо-экземпляра для SQL Server Express.

Следовательно, вы действительно не можете полагаться на имя экземпляра , чтобы судить, является ли ваш SQL Server выпуском Express или нет. Вам нужно использовать

SELECT @@Version

Чтобы получить эту информацию.


5

marc_s
24 Мар 2015 в 06:07

Это может быть связано с нехваткой места на вашем компьютере.


-1

user14624334
12 Ноя 2020 в 07:57

Проверьте эту ссылку

Изменить ключ продукта для установки SQL Server 2017/2016/2014


1

Community
20 Июн 2020 в 09:12

У меня была такая же ошибка в моем Express Edition, как говорится в официальной документации, чтобы исправить ее без сжатия БД, я обновил свою версию с Express до версии для разработчиков. Перейдите в Центр установки SQL Server-> Обслуживание-> Обновление выпуска.

  • Microsoft sql server ошибка 15281
  • Microsoft sql server ошибка 15151 при смене пароля
  • Microsoft sql server ошибка 15025
  • Microsoft sql server ошибка 1418
  • Microsoft sql server ошибка 1225