SQL Server | Designing New Databases

"The desire to create is one of the deepest yearnings of the human soul." -- Dieter F. Uchtdorf Before we jump into the designing part, lets take a quick look at how the SQL Server databases are formed. Database Files Ever database has one Primary data file, which by default has an .MDF extension. In addition, ever database can also have secondary database files, which have .NDF extension. All database files are grouped into FileGroups. FileGroup is a logical unit that simplifies database administration. Imagine houses in an area. We recognize each house with it's own number but we also include a lot og groups in the address. Sector is a Filegroup. Pin-code is a Filegroup. This is how it looks like in database. There are 5 disks with 4 data files and 1 transaction log file. You can add multiple data files inside a filegroup. This lets you spread the load across different storage drives. This could help you improve I/O performance. Filegroup1 - green - contains ...