Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 749601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:27:12+00:00 2026-05-14T14:27:12+00:00

SQL Server uses .mdf for data files and .ldf for log files, but what

  • 0

SQL Server uses .mdf for data files and .ldf for log files, but what are .ndf files?

What are the benefits of these files?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:27:13+00:00Added an answer on May 14, 2026 at 2:27 pm

    From Files and Filegroups Architecture

    Secondary data files

    Secondary data files make up all the data files, other than the primary data file. Some databases may not have any secondary data files, while others have several secondary data files. The recommended file name extension for secondary data files is .ndf.

    Also from file extension NDF – Microsoft SQL Server secondary data file

    See Understanding Files and Filegroups

    Secondary data files are optional, are
    user-defined, and store user data.
    Secondary files can be used to spread
    data across multiple disks by putting
    each file on a different disk drive.
    Additionally, if a database exceeds
    the maximum size for a single Windows
    file, you can use secondary data files
    so the database can continue to grow.

    The recommended file name extension
    for secondary data files is .ndf.

    /

    For example, three files, Data1.ndf,
    Data2.ndf, and Data3.ndf, can be
    created on three disk drives,
    respectively, and assigned to the
    filegroup fgroup1. A table can then be
    created specifically on the filegroup
    fgroup1. Queries for data from the
    table will be spread across the three
    disks; this will improve performance.
    The same performance improvement can
    be accomplished by using a single file
    created on a RAID (redundant array of
    independent disks) stripe set.
    However, files and filegroups let you
    easily add new files to new disks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The default asp.net membership provider uses a .mdf sql server database file in the
We have a WinForms application that uses SQL server to store its data. To
SQL Server uses binary tree with intermediate and leaf node for search but how
I have an application which uses Sql Server Express Edition to store data. I
The MSDN documenation states: Indicates whether SQL Server uses the column as a ROWGUID.
Our application uses SQL Server Reporting Services and allows users to add custom filters
I inherited a project that uses SQL Server 200x, wherein a column that stores
We use a software which uses Sql server 2005 as back-end. The problem is
I'm maintaining an application that uses SQL Server Express 2005 as the back end.
I'm working on a database in SQL Server 2000 that uses a GUID for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.