TAILIEUCHUNG - Managing Indexes

Classification of Indexes An index is a tree structure that allows direct access to a row in a table. Indexes can be classified based on their logical design or on their physical implementation. The logical classification groups indexes from an application perspective, while the physical classification is derived from the way the indexes are stored. Single column and concatenated indexes A single column index has only one column in the index key—for example, an index on the employees number column of an employees table. A concatenated index, also known as a composite index, is created on multiple columns in a table. Columns in a. | Managing Indexes Objectives After completing this lesson, you should be able to do the following: List the different types of indexes and their uses Create various types of indexes Reorganize indexes Maintain indexes Monitor the usage of an index Obtain index information Classification of Indexes Logical: Single column or concatenated Unique or nonunique Function-based Domain Physical: Partitioned or nonpartitioned B-tree: Normal or reverse key Bitmap Classification of Indexes An index is a tree structure that allows direct access to a row in a table. Indexes can be classified based on their logical design or on their physical implementation. The logical classification groups indexes from an application perspective, while the physical classification is derived from the way the indexes are stored. Single column and concatenated indexes A single column index has only one column in the index key—for example, an index on the employees number column of an employees table. A concatenated index, also known as a composite index, is created on multiple columns in a table. Columns in a concatenated index do not need to be in the same order as the columns in the table, nor do they need to be adjacent—for example, an index on the department and job columns of an employee table. The maximum number of columns in a composite key index is 32. However, the combined size of all the columns cannot exceed roughly one-half (minus some overhead) of the available data space in a data block. Classification of Indexes (continued) Unique and nonunique indexes Indexes can be unique or nonunique. Unique indexes guarantee that no two rows of a table have duplicate values in the key column (or columns). Nonunique indexes do not impose this restriction on the column values. Function-based indexes A function-based index is created when using functions or expressions that involve one or more columns in the table that is being indexed. A function-based index precomputes the value of the function or

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.