In SQL Server, how do you determine (average or expected) the number of rows per page?
I know how to determine the average and maximum row size, but I do not know how this relates to the actual lines / page.
8060 bytes per page, 8 pages per size ... remember that if you are in a line of 4040 bytes, you can only put one line per page
DBCC SHOWCONTIG will provide you with how many pages your table uses.
Pages are 8K in size, including a 96 byte header. Therefore, if you know the size of the line, you can estimate how many lines will fit into the data part of the page.
Source: https://habr.com/ru/post/1702494/More articles:How to install MonoDevelop on my Mac? - monodevelopError opening serial port - .netWhere to use using statements in a C # .cs file - c #Matching sqlserver means that the column names must be correct. And how to deal with it - sql-serverIs there any Glade3 installer for Windows? - installerWhat is PostMessage equivalent to for Windows Forms? - windowsJavadoc only one class in a package using Ant - javaDo I need to synchronize the cache? - javaПрогнозирование роста таблицы Oracle - databaseAny Common Lisp function returns 3 values? - common-lispAll Articles