Solved

PRIMARY filegroup is full   SQL Server 2005

Posted on 2010-11-10
4
877 Views
Last Modified: 2012-05-10
Hi

This is an error message in my prod environment.  
Can somebody give me the steps to resolving the following problem?


Executed as user: NT AUTHORITY\SYSTEM.
Could not allocate space for object 'dbo.ePetlm_Index' in database 'MCS'
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. [SQLSTATE 42000] (Error 1105).  The step failed


thanks
0
Comment
Question by:Favorable
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
DFW_Ed earned 250 total points
ID: 34104814
What disk space is left or available where it resides?
If none, is it virtual so you can easily add more or is it a physical drive?  
How big is the filegroup?  (to determine length and difficulty of potentially moving)
Are there log files shared on that drive that can be easily backed up, truncated and even better moved?
0
 
LVL 9

Assisted Solution

by:damerval
damerval earned 250 total points
ID: 34104903
Hi,
I'm assuming you checked the obvious, such as whether your server is out of disk space?
Please review the following link for information on file groups:
http://msdn.microsoft.com/en-us/library/ms179316.aspx

Meanwhile, if the error is not a result of lack of physical disk space, then it would seem you need to create a new filegroup or allow your file group to grow automatically. This is described on the following section:
http://technet.microsoft.com/en-us/library/bb522469.aspx

Generally, run an ALTER DATABASE statement either specifying a new file that auto-grows or adding a new filegorup containing a file that auto-grows. Remember, a filegroup does not really exist - it is a logical object created purely to help compartmentalize the way your database is stored physically. In the end your database is stored on individual files, primary and secondary data files as well as log files. You choose where you want to store your tables physically when you define your tables (and other objects). It is very useful to plan for this when you need to grow your database, for instance, you want want to put large tables in one place and tables that are accessed very often for micro-results in another, thus achieving better management of your I/O, which typically is the bottleneck on a database server.

Thx,

Philippe
0
 

Author Comment

by:Favorable
ID: 34136501
Was resolved by disabled the auto growth for few seconds and enabled after few seconds.
0
 

Author Closing Comment

by:Favorable
ID: 34136512
Nice comments
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now