[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Autogrow + New Data Files

Posted on 2006-07-19
3
Medium Priority
?
275 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

650 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