Hey, does anyone know a good site that shows how SQL Server place the data to disk?
-
Your question is not specific enough...It uses transaction logs and data files, like most databases engine – Mathieu Chateau Feb 03 '10 at 16:37
-
So, what I want to read and check the "physical" is how the data in the tables will be placed physically on the disk. With and without index - – eriksv88 Feb 03 '10 at 16:47
3 Answers
Take a look at my blog in the Inside The Storage Engine series and the On Disk Structures series. I wrote a bunch of the SQL Server code that deals with data storage on disk. Start down at the bottom of the series where I go from records up.

- 7,194
- 1
- 36
- 45
This MS Press book does a good job of explaining this.

- 36,144
- 4
- 53
- 86
-
2not exactly. Kalen Delaney's book is much better at internals then the ms press 70-431 book – Nick Kavadias Feb 05 '10 at 12:48
-
SQL BOL is probably your best bet for this. Check out this link http://msdn.microsoft.com/en-us/library/cc280361.aspx and do some reading up on Pages & Extents, Files and Filegroups, and Transaction Logs... the rest would also be useful, but the database engine architecture is what you really should check into.
You may want to start out with this one though http://msdn.microsoft.com/en-us/library/ms179355.aspx which is probably the info you are looking for.

- 432
- 2
- 12