Storage engine-one of the storage structures: Row

Source: Internet
Author: User
Weekly movie recommendation: small age: Describes the emotions and survival problems faced by four girls entering the society. Playback address: In SQLServer, data is stored by record row, and each row contains all columns of data. Such storage is very advantageous for data query, this is also the case where the LOB page, row overflow page, and table structure modification are all

Weekly movie recommendation: small age: Describes the emotions and survival problems faced by four girls entering the society. Playback address: In SQLServer, data is stored by record row, and each row contains all columns of data. Such storage is very advantageous for data query, this is also the case where the LOB page, row overflow page, and table structure modification are all

Weekly movie recommendations:

Age of small: Describes the emotions, website space, and survival problems faced by four girls entering the society. Playback address:

In SQLServer, data is stored by record rows. On the Hong Kong server, each row contains all columns of data. Such storage is very advantageous for data query, hong Kong server rent,
However, because of this, LOB pages, row overflow pages, and table structure modifications are prone to holes, forming disk fragments.

Let's take an example:
Test scope-> NO clustered index, no non-clustered index, heap containing fixed-length and variable-length columns

Create table t_test (col1 int, col2 varchar (10), col3 datetime, col4 char (10), col5 nvarchar (4) t_test, N), N) t_testDBCC IND (test, t_test, 1) dbcc traceon (3604), 1)
/*

Slot 0, Offset 0x60, Length 44, DumpStyle BYTE

Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS
Record Size = 44
Memory Dump @ 0x000000000FFEA060

0000000000000000: 30001a00 01000000 00000000 3a9d0000 00000 ...........:...
0000000000000010: 31323320 20202020 20200500 00020026 million 123 .....&
0000000000000020: 002c0041 42436100 62006300 million rows were too large and too large.,. ABCa. B .c.
*/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.