SlideShare a Scribd company logo
2
Most read
4
Most read
6
Most read
INDEXING
Indexing is a way to optimize the performance of a
database by minimizing the number of disk
accesses required when a query is processed. It is a
data structure technique which is used to quickly
locate and access the data in a database.
ATTTIBUTES OF INDEXES
The indexing has various attributes:
 Access Types: This refers to the type of access such as value based search, range
access, etc.
 Access Time: It refers to the time needed to find particular data element or set of
elements.
 Insertion Time: It refers to the time taken to find the appropriate space and insert
a new data.
 Deletion Time: Time taken to find an item and delete it as well as update the index
structure.
 Space Overhead: It refers to the additional space required by the index.
TYPES OF INDEXING:
a. For every search key value in the
data file, there is an index record.
b. This record contains the search
key and also a reference to the first
data record with that search key
value.
Sparse Index:
The index record appears only
for a few items in the data file.
Each item points to a block as
shown.
To locate a record, we find the
index record with the largest
search key value less than or
equal to the search key value we
are looking for
Clustered Indexing
When more than two records are stored in the same file, these types of storing known
as cluster indexing. By using the cluster indexing we can reduce the cost of searching
reason being multiple records related to the same thing are stored at one place and it
also gives the frequent joining of more than two tables (records).
Clustered index is like dictionary; in the dictionary, sorting order is alphabetical and
there is no separate index page.
Non-Clustered index
is an index structure separate from the data stored in a table that reorders
one or more selected columns. The non-clustered index is created to
improve the performance of frequently used queries not covered by a
clustered index. It’s like a textbook; the index page is created separately at
the beginning of that book

More Related Content

PPTX
Data Mining Primitives, Languages & Systems
DOCX
RPP Sejarah kelas X 28
PDF
Backpropagation for Neural Networks
PPTX
PPTX
Search Engines
PPTX
Network topology
PPT
Normalization
PPTX
Data Quality: A Raising Data Warehousing Concern
Data Mining Primitives, Languages & Systems
RPP Sejarah kelas X 28
Backpropagation for Neural Networks
Search Engines
Network topology
Normalization
Data Quality: A Raising Data Warehousing Concern

Similar to DATA PROCESSING NOTE ON INDEXING (20)

PPTX
Database_Indexing_AND ITTS TYPES PRESENTATION
PDF
Database management system session 6
PDF
Indexing techniques
PDF
Db lec 08_new
PPT
Indexing
PPTX
DB LECTURE 4 INDEXINGS PPT NOTES.pptx
PPTX
Database and Research Matrix.pptx
PPTX
Indexing Data in data Warehouse presentation.pptx
PPTX
Indexing
PPTX
Indexing the MySQL Index: Key to performance tuning
PPTX
presentation is on database for sql and stored procedures
PPS
07 qmds2005 session10
PPTX
Index_2
PPTX
Sql server ___________session_17(indexes)
PPTX
MNGT- 21022_Office Management-Lecture 7_Indexing_and_methods_of_indexing_intr...
PPTX
Query Optimization in SQL Server
PDF
Mysql query optimization
PPT
Intro to Data warehousing lecture 11
PPT
Intro to Data warehousing lecture 14
PPT
Intro to Data warehousing lecture 19
Database_Indexing_AND ITTS TYPES PRESENTATION
Database management system session 6
Indexing techniques
Db lec 08_new
Indexing
DB LECTURE 4 INDEXINGS PPT NOTES.pptx
Database and Research Matrix.pptx
Indexing Data in data Warehouse presentation.pptx
Indexing
Indexing the MySQL Index: Key to performance tuning
presentation is on database for sql and stored procedures
07 qmds2005 session10
Index_2
Sql server ___________session_17(indexes)
MNGT- 21022_Office Management-Lecture 7_Indexing_and_methods_of_indexing_intr...
Query Optimization in SQL Server
Mysql query optimization
Intro to Data warehousing lecture 11
Intro to Data warehousing lecture 14
Intro to Data warehousing lecture 19
Ad

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
Lesson notes of climatology university.
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
master seminar digital applications in india
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Cell Types and Its function , kingdom of life
Lesson notes of climatology university.
O7-L3 Supply Chain Operations - ICLT Program
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
master seminar digital applications in india
STATICS OF THE RIGID BODIES Hibbelers.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
human mycosis Human fungal infections are called human mycosis..pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Supply Chain Operations Speaking Notes -ICLT Program
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Ad

DATA PROCESSING NOTE ON INDEXING

  • 1. INDEXING Indexing is a way to optimize the performance of a database by minimizing the number of disk accesses required when a query is processed. It is a data structure technique which is used to quickly locate and access the data in a database.
  • 2. ATTTIBUTES OF INDEXES The indexing has various attributes:  Access Types: This refers to the type of access such as value based search, range access, etc.  Access Time: It refers to the time needed to find particular data element or set of elements.  Insertion Time: It refers to the time taken to find the appropriate space and insert a new data.  Deletion Time: Time taken to find an item and delete it as well as update the index structure.  Space Overhead: It refers to the additional space required by the index.
  • 3. TYPES OF INDEXING: a. For every search key value in the data file, there is an index record. b. This record contains the search key and also a reference to the first data record with that search key value.
  • 4. Sparse Index: The index record appears only for a few items in the data file. Each item points to a block as shown. To locate a record, we find the index record with the largest search key value less than or equal to the search key value we are looking for
  • 5. Clustered Indexing When more than two records are stored in the same file, these types of storing known as cluster indexing. By using the cluster indexing we can reduce the cost of searching reason being multiple records related to the same thing are stored at one place and it also gives the frequent joining of more than two tables (records). Clustered index is like dictionary; in the dictionary, sorting order is alphabetical and there is no separate index page.
  • 6. Non-Clustered index is an index structure separate from the data stored in a table that reorders one or more selected columns. The non-clustered index is created to improve the performance of frequently used queries not covered by a clustered index. It’s like a textbook; the index page is created separately at the beginning of that book