What is data Pages in SqlServer?
The page is the fundamental unit of data storage in SQL Server. An extent is a collection of eight physically contiguous pages. Extents help efficiently manage pages. This guide describes the data structures that are used to manage pages and extents in all versions of SQL Server. Understanding the architecture of pages and extents is important for designing and developing databases that perform efficiently.
SQL stores data in the form of pages, where each page has a size of 8 KB. If the data size exceeds 8 KB, a new page is added. These pages are connected to each other using an index, forming a binary tree structure. When a query is executed, it traverses the binary tree to retrieve the required data
In SQL Server, there are three types of data pages: in-row, row-overflow,trap the cat and LOB pages. Let’s investigate each of these.
A data page is a fundamental unit of storage for database records. Data pages are organized into data structures called allocation units, which are used to manage the physical allocation and deallocation of storage space in a database. There are several types of allocation units in SQL Server, such as heaps, clustered indexes, and nonclustered indexes, each of which has a different structure and usage.