Moving Database Files to New Disk Deive

pdsqsql 391 Reputation points
2022-08-15T21:50:52.42+00:00

Hello,
We have Sql Server 2008R2 and one of the database is more then 2 TB and we can't add any more space on current disk drive so adding new disk drive on the server what will be the best option to move files to new location?

Is it better to move all the files to new drive?
Is it just add another new data files to new disk drive will be better so new data will load directly into new drive location?
Detach/attach?
Backup/Restore?

I am just trying find the best way to avoid or minimize down time as we are at the stage that current disk drive is almost full and can't expand the space but adding another disk drive will make which way better solution?

Currently, We have data file structure like data1.mdf, data2.ndf, data3.ndf, data4.ndf and log file is log1.ldf - all are in PRIMARY GROUP.

Any better solution/suggestion appreciated.

Thanks for your help!

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,636 questions
{count} votes

13 answers

Sort by: Most helpful
  1. pdsqsql 391 Reputation points
    2022-08-30T22:04:27.087+00:00

    Thanks Erland.

    Confused, What you suggest then from following size which needs to be changed?

    SIZE = 1024MB,
    MAXSIZE = UNLIMITED,
    FILEGROWTH = 1024MB


  2. pdsqsql 391 Reputation points
    2022-08-30T22:20:31.74+00:00

    Thanks Erland.

    Got your point. Confused with
    I will set up initial size 50 GB,

    I think I read "Not sure that I see the point with starting with 1GB in size for the new files. Why 50 or 100 GB?" but you are trying to say Why not starting initial size 50 GB or 100 GB.

    Appreciate your help and tips!

    0 comments No comments

  3. pdsqsql 391 Reputation points
    2022-10-14T19:49:27.09+00:00

    Thanks Everyone, It was very useful solution.

    0 comments No comments