From the product documentation on filegroups:
For example:
Data1.ndf
,Data2.ndf
, andData3.ndf
, can be created on three disk drives, respectively, and assigned to the filegroupfgroup1
. A table can then be created specifically on the filegroupfgroup1
. Queries for data from the table will be spread across the three disks; it will improve performance.
I understand that if there is a very large table, and if I place it in a file group that has a single file and if this is on a separate disk, then it will improve performance because all queries to this large table will go to the separate disk.
I also know about table partitioning using multiple filegroups; each filegroup with one or more files. However this question is specifically about file group in a scenario of an unpartitioned large table.
In the above example, the author says that the performance is improved even if the file group contains multiple files. I am confused about this because if a table is spread across multiple files, then will this not cause slow performance (because the rows will be spread across the files and so to go from one row to the next row which maybe on another file, wont it take a hit on performance)?