Solved

Autogrow + New Data Files

Posted on 2006-07-19
3
270 Views
Last Modified: 2012-06-22
Hi There

Im having a problem with my DB where the Autogrow function is not working properly.

I have used the following script to grow the data file manually but it is taking extremely long to update.Its been 20 minutes so far.

Use Master
go
Alter Database EPR
Modify File
(Name=EPR_DATA ,Size=20000mb)
go

I also recieve this error when I try and run a transaction from my application

Could not allocate space for object 'Encounter' in Database 'EPR' Because the primary file group is full.

What are the implications of adding a new DAta File to the Databse.
Does the data now go into the new datafile once the primary one is full.
Will I looses any data if I add a new data file

does both data files get backed up when I back up the database.






0
Comment
Question by:Stanton_Roux
  • 2
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 17137846
>What are the implications of adding a new DAta File to the Databse.
additional space is available to the filegroup

>Does the data now go into the new datafile once the primary one is full.
no. data goes into that datafile immediately, distributing data as much as possible

>Will I looses any data if I add a new data file
no
0
 

Author Comment

by:Stanton_Roux
ID: 17137920
Sorry One more question

Will adding a new data file solve the problem that I currently have.
Will the both data files be backed up
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17137934
>Will adding a new data file solve the problem that I currently have.
possibly.

>Will the both data files be backed up
yes
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

828 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