Davidmc555
Programmer
I'm currently making up a spreadsheet so my company can work out how large a table will be using the guide "Estimating the Size of a Table" in online books.
I also found the same document on MSDN online.
Estimate Table Size
It says in the document that "if a clustered index is to be created on the table, calculate the number of reserved free rows per page, based on the fill factor specified. ... If no clustered index is to be created, specify Fill_Factor as 100."
Now I took that last bit as meaning either a nonclustered index or a heap. I also figured that if a nonclustered index worked like the index at the back of the book, it would look up the information needed from whatever page and just fill a page before going onto the next (i.e. no insertion mid page).
However, when looking at the guide for "Estimate the size of a table without a cluster index", it reads "Calculate the number of reserved free index rows per leaf page, based on the fill factor specified for the nonclustered index". Surely that's going to be 100%? I'm a little lost why I have to calculate this if what I understood was that a nonclustered table doesn't need a fill factor persay.
I've looked but can't find a definate answer to this and I'm sure I've gone of the trail or else I wouldn't be this confused, can someone explain it to me please?
I also found the same document on MSDN online.
Estimate Table Size
It says in the document that "if a clustered index is to be created on the table, calculate the number of reserved free rows per page, based on the fill factor specified. ... If no clustered index is to be created, specify Fill_Factor as 100."
Now I took that last bit as meaning either a nonclustered index or a heap. I also figured that if a nonclustered index worked like the index at the back of the book, it would look up the information needed from whatever page and just fill a page before going onto the next (i.e. no insertion mid page).
However, when looking at the guide for "Estimate the size of a table without a cluster index", it reads "Calculate the number of reserved free index rows per leaf page, based on the fill factor specified for the nonclustered index". Surely that's going to be 100%? I'm a little lost why I have to calculate this if what I understood was that a nonclustered table doesn't need a fill factor persay.
I've looked but can't find a definate answer to this and I'm sure I've gone of the trail or else I wouldn't be this confused, can someone explain it to me please?