LIS Cafe

Advertisemnet

  • Home
  • Quiz
  • _LIS Episode
  • _MCQ Series
  • _Practice Quiz
  • _Online Quiz Test
  • _Librarian
  • LIS Questions
  • __Objective
  • __Subjective
  • __LIS Notes
  • __Model Set
  • __Practice Set
  • __Online Test Set
  • LIS Exams
  • _NTA UGC NET
  • __UGC NET
  • __UGC NET paper-1
  • __Online Quiz
  • _EMRS-KVS
  • __KVS
  • __EMRS
  • __KVS Paper-1
  • __Online Quiz
  • _NVS
  • _AL-LIA-SPA
  • _RSMSSB
  • _DSSSB
  • _JKSSB
  • _TSPSC
  • _Bihar Lib Exam
  • _Library Trainee Exam
  • Trend
  • IT/CS
  • Grammar
  • GK
  • _Comprehension
  • _Methdology
  • _Research
  • _Teaching
  • _Reasoing
  • _Current Affairs
  • Download
  • _LIS MCQ Pdf
  • _MLIS E-Book
  • _BLIS E-Book
  • _LIS E-Book
  • _CS E-Book
  • हिन्दी
  • _LIS क्विज
  • _LIS वस्तुनिष्ठ प्रश्न
  • _LIS वर्णनात्मक प्रश्न
  • _हिन्दी Version
  • About
  • _Index
  • _Founder
  • Daily
  • _Contact
  • _Connect with LIS Cafe
  • _LIS Word
  • _UGC Quiz
  • _Current Affiars
  • _One Liner
  • _LIS Notes
  • _LIS Quiz in Hindi
HomeSubjectiveDatabase Index: Types and Uses

Database Index: Types and Uses

Asheesh Kamal-Official 8/11/2012 10:51:00 AM
Buy Now: A Competitive Mirror for Library and information Science Scholars, By Asheesh Kamal
A database index is a data structure that improves the speed of data retrieval operations on
a database table at the cost of additional writes and storage space to maintain the index data structure. Indexes are used to quickly locate data without having to search every row in a database table every time a database table is accessed. Indexes can be created using one or more columns of a database table, providing the basis for both rapid random lookups and efficient access of ordered records.   An index is a copy of select columns of data from a table that can be searched very efficiently that also includes a low-level disk block address or direct link to the complete row of data it was copied from. Some databases extend the power of indexing by letting developers create indexes on functions or expressions. For example, an index could be created on upper(last_name), which would only store the upper case versions of the last_name field in the index. Another option sometimes supported is the use of partial indices, where index entries are created only for those records that satisfy some conditional expression. A further aspect of flexibility is to permit indexing on user-defined functions, as well as expressions formed from an assortment of built-in functions.
https://libraryandinformationsciencecafe.blogspot.com/2018/03/coming-soon.html

Index architecture/Indexing Methods
Non-clustered
The data is present in arbitrary order, but the logical ordering is specified by the index. The data rows may be spread throughout the table regardless of the value of the indexed column or expression. The non-clustered index tree contains the index keys in sorted order, with the leaf level of the index containing the pointer to the record (page and the row number in the data page in page-organized engines; row offset in file-organized engines).

In a non-clustered index,
  • The physical order of the rows is not the same as the index order.
  • The indexed columns are typically non-primary key columns used in JOIN, WHERE, and ORDER BY clauses.
There can be more than one non-clustered index on a database table.


Clustered
Clustering alters the data block into a certain distinct order to match the index, resulting in the row data being stored in order. Therefore, only one clustered index can be created on a given database table. Clustered indices can greatly increase overall speed of retrieval, but usually only where the data is accessed sequentially in the same or reverse order of the clustered index, or when a range of items is selected.
Since the physical records are in this sort order on disk, the next row item in the sequence is immediately before or after the last one, and so fewer data block reads are required. The primary feature of a clustered index is therefore the ordering of the physical data rows in accordance with the index blocks that point to them. Some databases separate the data and index blocks into separate files, others put two completely different data blocks within the same physical file(s).

Cluster
When multiple databases and multiple tables are joined, it's referred to as a cluster (not to be confused with clustered index described above). The records for the tables sharing the value of a cluster key shall be stored together in the same or nearby data blocks. This may improve the joins of these tables on the cluster key, since the matching records are stored together and less I/O is required to locate them. The cluster configuration defines the data layout in the tables that are parts of the cluster. A cluster can be keyed with a B-Tree index or a hash table. The data block where the table record is stored is defined by the value of the cluster key.

Types of indexes
Bitmap index
A bitmap index is a special kind of indexing that stores the bulk of its data as bit arrays (bitmaps) and answers most queries by performing bitwise logical operations on these bitmaps. The most commonly used indexes, such as B+trees, are most efficient if the values they index do not repeat or repeat a small number of times. In contrast, the bitmap index is designed for cases where the values of a variable repeat very frequently. For example, the gender field in a customer database usually contains at most three distinct values: male, female or unknown (not recorded). For such variables, the bitmap index can have a significant performance advantage over the commonly used trees.

Dense index
A dense index in databases is a file with pairs of keys and pointers for every record in the data file. Every key in this file is associated with a particular pointer to a record in the sorted data file. In clustered indices with duplicate keys, the dense index points to the first record with that key.

Sparse index
A sparse index in databases is a file with pairs of keys and pointers for every block in the data file. Every key in this file is associated with a particular pointer to the block in the sorted data file. In clustered indices with duplicate keys, the sparse index points to the lowest search key in each block.

Reverse index
A reverse key index reverses the key value before entering it in the index. E.g., the value 24538 becomes 83542 in the index. Reversing the key value is particularly useful for indexing data such as sequence numbers, where new key values monotonically increase.



References: 
1. PostgreSQL 9.1.2 Documentation: CREATE TABLE
Overview of Clusters Oracle® Database Concepts 10g Release 1 (10.1)
2. Database Systems: The Complete Book. Hector Garcia-Molina, Jeffrey D. Ullman, Jennifer D. Wisdom
3. Gavin Powell (2006). "Chapter 8: Building Fast-Performing Database Models". Beginning Database Design ISBN 978-0-7645-7490-0. Wrox Publishing.
4.  "Clustered Index Structures". SQL Server 2005 Books Online (September 2007).
5. Daren Bieniek; Randy Dess; Mike Hotek; Javier Loria; Adam Machanic; Antonio Soto; Adolfo 5. 6. Wiernik (January 2006). "Chapter 4: Creating Indices". SQL Server 2005 Implementation and Management. Microsoft Press.

7. Covering Indexes for Query Optimization

Visit Regular for New Updates.
Creator, Author, Editor and Compiler  -Asheesh Kamal
Thanks for Visiting 
Asheesh Kamal
About Asheesh Kamal on Facebook
 

Protected by Copyscape
Click here & Buy Now:this book 
is important for NTA UGC NET Exam
Read Previous PostRead Newer Post
Tags
Articles Subjective

You may like these posts

Post a Comment

0 Comments

Post a Comment
"Share your Knowledge. It is a Way to Achieve Immortality".---Dalai Lama XIV
अपने ज्ञान को साझा करना (शेयर), यह एक तरह से अमरत्व को प्राप्त करने जैसा है- दलाई लामा XIV (Translated By-Asheesh kamal)

Click bellow 👇tab and Read More

NTA-UGC NET Exam

  • Click here to 16-30 Practice Questions with Answer
  • Click here to 20 Practice Questions with Answer 
  • Click here to 01-15 Practice Questions with Answer
  • Click here to 17-32 Logical Reasoning Questions with Answer
  • Click here to 01-16 Logical Reasoning Questions with Answer
  • Click here to 48 Practice Questions with Answer
  • Click here to 20 Practice Questions with Answer
  • Click here to 25 Model Questions with Answer
  • Click here to 20 Practice Questions with Answer
  • Click here to Reading Comprehension Questions with Answer-21-25
  • Click here to 30 Practice Questions with Answer
  • Click here to 20 Model Question with Answer
  • Click here to 20 Practice Questions with Answer
  • Click here to 35 Important Questions with Answer
  • Click here to 20 Important Questions with Answer
  • Click here to Important Questions with Answer -01-50
  • Click here to 21 Probable Questions and Answer
  • Click here to 20 questions with Answer
  • Click here to Pre-Coordinate Indexing Systems: An Overview
  • Click here to Citation index: an Overview
  • Click here to 20 Objective Type questions with Answer
  • Click here to Alphabetical List of Notable Libraries around the World
  • Click here to Bibliographic Databases
  • Click here to 53 Practice Questions with Answer
  • 440 Important Questions with Answer for NET Exam
  • 10,000 Objective Type Questions with Answer
  • Click here What is Bibliogram?
  • Click here Features of Electronic Resource Management (ERM) Systems
  • Click here Details of Library Management Software
  • Click here Steps of Technical Processing
  • Click here Research Methodology
  • Click here Objectives of User Education
  • Click here 13 digit ISBN: an Overview
  • Click here Different types of common isolates in DDC
  • Click here Main Tasks in the Acquisition Section
  • Click here Merits of Open Source Software
  • Click here Application of Cloud Computing in Libraries
  • Click here Phase Relation
  • Click here Document classification: An Overview
  • Click here to Important Reasoning Question and Answer for UGC-NET Exam-01-100
  • Click here Functions of Circulation Section
  • Click here Minimum required fields for book cataloguing
  • Click here Details of Library Collection
  • Click here About Internaut
  • Free Download: 100 Objective question with Answer
  • Click here List of Famous Books and Authors
  • Click here Information About Plagiarism
  • Click here Information about Computer Structure
  • Click here Librarian Mind and Responsibilities
  • Question Series 
  • Probable Questions for NET Exam: 01-250
  • Important Topics with Answer for NET Exam-1-100
  • Important Model Questions with Answer for UGC-NET-Paper-1, 2 and 3
  • 155 Probable Questions for UGC-NET January, 2017
  • Click here to Objective Questions and Answer: Specially Compiled for UGC-NET-2017-01-500
  • A to Z Search Engine Name with Description
  • 20 Important Objective type Question with Answer for UGC-NET July 2016 Exam
  • 133 Most Probable Question with Answer for UGC_CBSE-NET JULY-2016 Exam-Part-1-001-133
  • 155 Probable Questions for UGC-NET July, 2016
  • 200 IT Based Objective type Questions with Answer for NET (1-200)
  • 50 Most Important Question with Answer for UGC_CBSE-NET JULY-2016 Exam
  • 50 V V I Question with Answer for UGC-CBSE-NET July-2016 Exam-01-50
  • 500 Important Objective type Questions with Answer for   NET
  • Abbreviations For Library and Information Science
  • About Plagiarism 
  • Boolean Logic
  • Colon Classification Phase relation formula
  • Computer Abbreviations
  • Computer Structure
  • Data Elements of Classified Catalogue Code (CCC)
  • Different types of libraries features and functions 
  • Elements of Library Catalog Card  
  • Five Law of Library Science
  • Free E-Books
  • History of Libraries 
  • important for KVS Librarian Examination 
  • Important Terms
  • Indian Public Library Act 
  • Layout & Structure of Universe of Knowledge in Colon Classification (CC)
  • Librarians of Library of Congress (LOC) 
  • Library and Information Science in the World
  • Library and Information Science Short Questions
  • Library Association of the World 
  • Library Classification 
  • LIS Cafe Presents EPISODE
  • List of Academic Databases and Search Engines
  • List of All Software
  • List of Library Associations in the World 
  • List of people known for contributions to the library Profession
  • Main Class of Colon Classification (CC)
  • MARC Tag List 000-999
  • Objective Question with Answer for (1-500) 
  • Objective Type Question with Answer For Library and   Information Science
  • Primary, Secondary, Tertiary Sources Of Information
  • Reference Sources  
  • Research Methodology
  • Shortcut keys-Excel/Word 
  • Structure of an ISBD record 
  • Students Corner
  • Who is Librarian ?

Online Quizs-Every Wednesday @9 A.M.

  • Wednesday
  • View MCQ Series-65LISCAFE
  • View MCQ Series-64
  • View MCQ Series-63
  • View MCQ Series-62
  • View MCQ Series-61
  • View MCQ Series-60
  • View MCQ Series-59
  • View MCQ Series-58
  • View MCQ Series-57
  • View MCQ Series-56
  • View MCQ Series-55
  • View MCQ Series-54
  • View MCQ Series-53
  • View MCQ Series-52
  • View MCQ Series-51
  • Home
  • Wednesday
  • View MCQ Series-50
  • View MCQ Series-49
  • View MCQ Series-48
  • View MCQ Series-47
  • View MCQ Series-46
  • View MCQ Series-45
  • View MCQ Series-44
  • View MCQ Series-43
  • View MCQ Series-42
  • View MCQ Series-41
  • View MCQ Series-40
  • View MCQ Series-39
  • View MCQ Series-38
  • View MCQ Series-37
  • View MCQ Series-36
  • View MCQ Series-35
  • View MCQ Series-34
  • View MCQ Series-33
  • View MCQ Series-32
  • View MCQ Series-31
  • View MCQ Series-30
  • View MCQ Series-29
  • View MCQ Series-28
  • View MCQ Series-27
  • View MCQ Series-26
  • Home
  • Wednesday
  • View MCQ Series-25
  • View MCQ Series-24
  • View MCQ Series-23
  • View MCQ Series-22
  • View MCQ Series-21
  • View MCQ Series-20
  • View MCQ Series-19
  • View MCQ Series-18
  • View MCQ Series-17
  • View MCQ Series-16
  • View MCQ Series-15
  • View MCQ Series-14
  • View MCQ Series-13
  • View MCQ Series-12
  • View MCQ Series-11
  • View MCQ Series-10
  • View MCQ Series-9
  • View MCQ Series-8
  • View MCQ Series-7
  • View MCQ Series-6
  • View MCQ Series-5
  • View MCQ Series-4
  • View MCQ Series-3
  • View MCQ Series-2
  • View MCQ Series-1
  • Home

Online Practice Series, Visit Every Thursday

  • Thursday
  • Practice SET-1
  • Practice SET-2
  • Practice SET-3
  • Practice SET-4
  • Practice SET-5
  • Practice SET-6
  • Practice SET-7
  • Practice SET-8
  • Practice SET-9
  • Practice SET-10
  • Practice SET-11
  • Practice SET-12
  • Practice SET-13
  • Practice SET-14
  • Practice SET-15
  • Practice SET-16
  • Practice SET-17
  • Practice SET-18
  • Practice SET-19
  • Practice SET-20
  • Practice SET-21
  • Practice SET-22
  • Practice SET-23
  • Practice SET-24
  • Practice SET-25
  • Practice SET-26
  • Practice SET-27
  • Practice SET-28
  • Practice SET-29
  • Practice SET-30
  • Home
  • Thursday
  • Practice SET-31
  • Practice SET-32
  • Practice SET-33
  • Practice SET-34
  • Practice SET-35
  • Practice SET-36
  • Practice SET-37
  • Practice SET-38
  • Practice SET-39
  • Practice SET-40
  • Practice SET-41
  • Practice SET-42
  • Practice SET-43
  • Practice SET-44
  • Practice SET-45
  • Practice SET-46
  • Practice SET-47
  • Practice SET-48
  • Practice SET-49
  • Practice SET-50
  • Practice SET-51
  • Practice SET-52
  • Practice SET-53
  • Practice SET-54
  • Practice SET-55
  • Practice SET-56
  • Practice SET-57
  • Practice SET-58
  • Practice SET-59
  • Practice SET-60
  • Home
  • Thursday
  • Practice SET-61
  • Practice SET-62
  • Practice SET-63
  • Practice SET-64
  • Practice SET-65Girl in a jacket
  • Sep-16 SET-66
  • Sep-23 SET-67
  • Sep-30 SET-68
  • Oct-07 SET-69
  • Oct-14 SET-70
  • Oct-21 SET-71
  • Oct-28 SET-72
  • Practice SET-73
  • Practice SET-74
  • Practice SET-75
  • Practice SET-76
  • Practice SET-77
  • Practice SET-78
  • Practice SET-79
  • Practice SET-80
  • Practice SET-81
  • Practice SET-82
  • Practice SET-83
  • Practice SET-84
  • Practice SET-85
  • Practice SET-86
  • Practice SET-87
  • Practice SET-88
  • Practice SET-89
  • Practice SET-90
  • Home

LIS Notes for UGC NET Exam

Click Books Icon and Read LIS Notes

Click bellow link👇 & Read more.

  1. Daily Current Affairs Quiz Test--daily at 8 AM
  2. UGC NET Practice Test--daily at 9 AM
  3. Daily One liner Questions
  4. LIS Episodes--Every Tuesday
  5. LIS परीक्षा हेतु प्रश्न तथा उत्तर हिन्दी में--Every Monday
  6. Model Questions for Assistant Librarian, LIA

Download to E-book and Questions

Click here for Download

What's New for UGC NET Exam

Click me for What's New

Online Quiz SET, visit Every Friday @4 P.M.

  • Friday
  • 01 Oct. Quiz SET-45
  • 24 Sep. Quiz SET-44
  • 17 Sep. Quiz SET-43
  • 10 Sep. Quiz SET-42
  • View Quiz SET-41LISCAFE
  • View Quiz SET-40
  • View Quiz SET-39
  • View Quiz SET-38
  • View Quiz SET-37
  • View Quiz SET-36
  • View Quiz SET-35
  • View Quiz SET-34
  • View Quiz SET-33
  • View Quiz SET-32
  • View Quiz SET-31
  • Home
  • Friday
  • View Quiz SET-30
  • View Quiz SET-29
  • View Quiz SET-28
  • View Quiz SET-27
  • View Quiz SET-26
  • View Quiz SET-25
  • View Quiz SET-24
  • View Quiz SET-23
  • View Quiz SET-22
  • View Quiz SET-21
  • View Quiz SET-20
  • View Quiz SET-19
  • View Quiz SET-18
  • View Quiz SET-17
  • View Quiz SET-16
  • Home
  • Friday
  • View Quiz SET-15
  • View Quiz SET-14
  • View Quiz SET-13
  • View Quiz SET-12
  • View Quiz SET-11
  • View Quiz SET-10
  • View Quiz SET-9
  • View Quiz SET-8
  • View Quiz SET-7
  • View Quiz SET-6
  • View Quiz SET-5
  • View Quiz SET-4
  • View Quiz SET-3
  • View Quiz SET-2
  • View Quiz SET-1
  • Home

New Arrival Desk

9/recent/slider

Daily Published Quiz

Daily Published Quiz
Please click above Image कृपया ऊपर के फोटो को क्लिक करें

Hightlight of the day

Today

Today's LIS WordGirl in a jacket

UGC NET Practice SET-Daily Girl in a jacket

One liner Questions-DailyGirl in a jacket

LIS Notes-DailyGirl in a jacket

Monday

UGC/KVS/RSMSSB LIS परीक्षा हेतु प्रश्न तथा उत्तर हिन्दी मेंGirl in a jacket

Tuesday

LIS EpisodesGirl in a jacket

Wednesday

Important MCQ Series for all ExamsGirl in a jacket

Thursday

LIS Cafe MCQ Practice SeriesGirl in a jacket

Friday

LIS online Quiz Self-Test SeriesGirl in a jacket

Founder and Author

Founder and Author
Mr. Asheesh Kamal

Right to use

  • Dr. Ranganthan Sir
  • Students Corner
  • Catalogs
  • Libraries
  • Journal/Database
  • Sign up

LIS in Hindi

3/Hindi/post-list

Free Download LIS eBook

Free Download LIS eBook

Followers

Join LIS Cafe Channel on Telegram
Tweet to @LIS__CAFE

---

DMCA.com Protection StatusCreative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Since 01/03/2015: You are Visitor Number

Articles

5/Articles/post-list

Model Questions

3/LIA/post-list

LIS Episode

5/Episode/post-list

Today's LIS Word

3/Today's LIS Word/post-list

NTA UGC NET

5/NTA UGC NET/post-list

LIS in Hindi For KVS-NET

3/Hindi/post-list
Designed with by Way2Themes | Distributed by Blogger Templates
©2011-2024 LIS Cafe • About • Contact • Privacy • Sitemap • Disclaimer • ©2011-2024 Library and Information Science Cafe (LIS Cafe®) Created by Asheesh Kamal, All Rights Reserved.