concept file in category sql server

This is an excerpt from Manning's book SQL Server MVP Deep Dives Vol. 2.
Placing SQL Server files is half art and half science. The science half comes from understanding the I/O capabilities of the storage solution that you’re using. The art half comes from being able to see how the database server will, in the abstract, push I/O down to the storage array. As you move files around the server from disk to disk, RAID array to RAID array, you have to be able to visualize how the I/O for each RAID array will change on both sets of disks, and how these changes will impact the overall storage array, such as the cache workload, frontend loops, and backend loops.
When a database and its transaction log are first created, ideally both should be presized so that autogrowth doesn’t have to be used to grow your files. This approach offers three benefits to transaction logs. First, it helps to prevent physical file fragmentation because the transaction log is created at one time, and autogrowth won’t need to kick in and grow the file. Autogrowth is one of the leading causes of physical file fragmentation. Second, when autogrowth kicks in and grows the transaction log, the space has to be zeroed out (unlike database files with instant file initialization turned on). This process can take time, and during the autogrowth, SQL Server has to pause all activity in the log, which might make your users upset if the transaction log has to grow a lot. Third, autogrowth can lead to a situation where your transaction logs have too many virtual log files, which can impact performance. More on this topic shortly.

This is an excerpt from Manning's book SQL Server DMVs in Action: Better Queries with Dynamic Management Views.
Table 1.1. The major DMV groups
You can examine, at both the database and the individual file levels, the performance of the physical disks that the data resides on using the DMV sys.dm_io_virtual_file_stats. This DMV accepts two parameters, namely, the database_id and the file_id, which limit the database and file under investigation. In our examples, we’re interested in all the files on all the databases, so we supply NULL parameter values to the DMV.
It’s also possible to identify poorly performing files and disks by obtaining the average read and write times per file for each database on the server instance. These should be below 20 milliseconds. The script you use to determine the average read and write time (in milliseconds) by file per database is shown in the listing that follows.
Listing 11.11. Average read/write times per file, per database
SET TRAN ISOLATION LEVEL READ UNCOMMITTED SELECT DB_NAME(database_id) AS DatabaseName , file_id , io_stall_read_ms / num_of_reads AS 'Average read time' , io_stall_write_ms / num_of_writes AS 'Average write time' FROM sys.dm_io_virtual_file_stats(NULL, NULL) WHERE num_of_reads > 0 and num_of_writes > 0 ORDER BY DatabaseName
Figure 11.12 shows the result of running the “Average read/write times per file, per database” script. The columns that are output show the average read and write times per file, per database. Any values over 20 milliseconds should be investigated as a matter of priority.

This is an excerpt from Manning's book SQL Server 2008 Administration in Action.
In contrast, large files benefit from a larger allocation unit. In fragmented disks with a small allocation unit size, a single large file will occupy many allocation units, which are probably spread over many different parts of the disk. If you use a larger allocation unit, a file will have a better chance of being located in consecutive disk sectors, making the read and writes to this file more efficient.
Data and log files should be on separate drives.