Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 276
  • Last Modified:

Autogrow + New Data Files

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
Stanton_Roux
Asked:
Stanton_Roux
  • 2
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>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
 
Stanton_RouxAuthor Commented:
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
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now