Link to home
Start Free TrialLog in
Avatar of Satish B
Satish B

asked on

Getting error of insufficient disk space in filegroup 'PRIMARY' in sql server 2012 express version

hi
i got error while running the query in sql server 2012 express version, below is full description of that error.

Could not allocate a new page for database 'Swadhaar_JLG' 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.
Avatar of Deepak Chauhan
Deepak Chauhan
Flag of India image

Express version is limited up to 10GB of database size.

If this size limit not reached for your database Please check the database file property, if there is limited file growth set.

1. Check the datafile growth limit. you can check it from database property > click on File > check autogrowth setting.
2. Check the disk space where file exists physically.
Avatar of Satish B
Satish B

ASKER

Please check screenshot which i attached. also have 21 gb free in C drive.
Error.png
Screen shot showing size 10240 MB  so it means 10 GB limit reached.

10240 / 1024 = 10GB.  -- this is the limitation of Express edition and file will not grow more.
Actually i need to run the query what is solution in this situation?
ASKER CERTIFIED SOLUTION
Avatar of Deepak Chauhan
Deepak Chauhan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The best solution in this case is that you have to move the database to a full version of SQL.

>> Actually i need to run the query what is solution in this situation?
Which query you are talking about ?
Thanks Deepak your valuable time.
Thanks Satish..... happy to assist.