Anatomy of SQL Server end article about Internals Viewer source code

Source: Internet
Author: User
Tags rar

Original: Anatomy of SQL Server end article about Internals Viewer source code

Anatomy of SQL Server end article about Internals Viewer source code

You may have used the Internals viewer software.

Widget for viewing SQL Server Internal Data page Internals Viewer

But don't know how many people have seen his source code?

The author put the source code on the CodePlex website, but this source code only supports SQL2008 and below, does not support SQL2008R2

Later, someone based on the original author's code to write the SQL2008R2 version, called "Internals Viewer (updated) for SQL Server R2."

I downloaded both the first and second versions of the source code.

Code download

First edition: Http://files.cnblogs.com/lyhabc/internalsviewer1.rar

Second Edition: Http://files.cnblogs.com/lyhabc/intview2.rar

Project Address

First edition: http://internalsviewer.codeplex.com/

Second Edition: https://intview2.codeplex.com/

Internals Viewer first Edition source code

Before looking at the source code, I think you should take a look at the comments above CodePlex to find bugs and bugs in the software

And the changes in each version.

In the solution, the SSMs plug-in project and UI project can be ignored directly if you only want to study the core code

For transaction logs, there are only three classes in the project: Logdata class, LogMonitor class, Logsequencenumber class

You can study it with the Technical Insider's book.

Data compression related classes, which may be difficult to understand due to the small number of annotations

Sparse columns

Pre-turn record

Nonclustered index RID Address

Internals Viewer Second Edition source code here, let's call him second edition.

In the second edition because the popularity is inferior to the first edition, Nature basically does not have many people to know, also has no comment and the bug feedback

The second version of the structure and the document is basically the same as the first version, but some places different

This is no longer an introduction, you can compare with the comparison tool

This series has been written, but the task is not over, SQL Server is a very large software, basically proficient in SQL Server is very difficult

Hope crossing like this series of articles O (∩_∩) o

Anatomy of SQL Server end article about Internals Viewer source code

Related Article

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.