METHOD AND ALGORITHM FOR AVOIDING INDEX FRAGMENTATION IN DATABASE

Authors

DOI:

https://doi.org/10.32782/IT/2021-2-2

Keywords:

Oracle database, indexes, OLTP server, fragmentation detection, index restructuring.

Abstract

The paper considers index fragmentation, analyzes the decrease in the performance of SQL queries with increasing percentage of index fragmentation. The indexing system used in the ORACLE database is analyzed in the paper. Modern methods of fragmentation reduction are considered and analyzed and a model, methods and algorithm are developed which in automatic mode will allow to make reorganization and reorganization of indices depending on the percentage of fragmentation. The aim of the work is to develop a method and algorithms to avoid index fragmentation. The realization of this goal involves solving the problem of finding analysis and restructuring of fragmented indices, which provides the proposed method. Based on the proposed method, an algorithm for database systems was developed, and a procedure was developed to avoid index fragmentation in the ORACLE database, which occurs when the ORACLE server is running in OLTP mode. Scientific novelty. In the course of the work, the method of rearranging the fragmented indices in the database was further developed. In the first, it is proposed to use index restructuring in automatic mode without the intervention of the database administrator. Conclusions. The information system was built in which the method was developed and the algorithm for the system of avoiding index fragmentation in ORACLE DBMS, which occur during the operation of the ORACLE server in OLTP mode, was proposed. The results are represented graphically and described in this work as well.

References

Разрешение фрагментации индекса путем реорганизации или перестроения индекса. URL: https:// docs.microsoft.com/ru-ru/sql/relational-databases/indexes/reorganize-and-rebuild-indexes?view=sql-serverver15#.

Indexes and Index-Organized Tables. URL: https://docs.oracle.com/cd/E11882_01/server.112/e40540/ indexiot.htm#CNCPT721.

Oracle Advanced Analytics Customer Success Stories. URL: https://www.oracle.com/technetwork/ database/options/advanced-analytics/odm/odm-customers-086483.html.

Фрагментация базы данных: основные методы и случаи использования. URL: https://www.8host. com/blog/fragmentaciya-bazy-dannyx-osnovnye-metody-i-sluchai-ispolzovaniya/.

Steve Ataky Tsham Mpinda1, Lucas Cesar Ferreira1, Marcela Xavier Ribeiro1, Marilde Terezinha Prado Santos Evaluation of Graph Databases Performance through Indexing Techniques / International Journal of Artificial Intelligence & Applications (IJAIA) Vol. 6, No. 5, September 2015. DOI: 10.5121/ijaia.2015.6506.

How to Create an Index-Organized Table in Oracle 12c / Bob Bryla, Kevin Loney. URL: https://logicalread. com/index-organized-table-oracle-12c-mc06/#.YGrftugzbIU.

Using Index-Organized Tables in Oracle David Fitzjarrell [Electronic resource]. URL: https://www. databasejournal.com/features/oracle/using-index-organized-tables-in-oracle.html.

Darl Kuhn, Sam R. Alapati and Bill Padfield Oracle Indexing and Access: Apress – 2016. ISBN 978-1- 4842-1984-3. DOI 10.1007/978-1-4842-1984-3.

Берко А.Ю., Верес О.М., Пасічник В.В., Берко А.Ю. Системи баз даних та знань: навч. посібник. Кн. 1. Організація баз даних та знань. Львів : «Магнолія 2006», 2008. 456 с. ISBN 978-966-2025-56-9.

Пасічник В. В., Резниченко В.А. Організація баз даних та знань / Київ : Видавнича група BHV, 2006. 384 c.

Published

2022-09-02