IDEAS home Printed from https://ideas.repec.org/a/ids/ijdsci/v9y2024i3-4p222-238.html
   My bibliography  Save this article

Comparison and database performance optimisation strategies based on NSGA-II genetic algorithm: MySQL and OpenGauss

Author

Listed:
  • Ming Tang
  • Lincheng Qi
  • Sibo Bi
  • Xinyun Cheng
  • Shijie Zhang

Abstract

With the widespread application of databases in real-time environments, higher requirements are placed on their performance optimisation strategies. In response to the lack of dynamic adjustment and optimisation capabilities for real-time environmental changes in database performance optimisation strategies, as well as poor query throughput and response time performance, this paper adopted Non-dominated Sorting Genetic Algorithm II (NSGA-II) to study performance optimisation of My Structured Query Language (MySQL) and OpenGauss databases. Firstly, it defined three objective functions and the corresponding constraints for the response time of the database query, the performance of the query, and the utilisation of the query resource, and calculated the fitness of each individual and the distance between the layers. Then, the tournament rotation method can be used to output parents with high fitness, and the crossover and mutation probabilities can be set. Finally, the optimal parameter configuration of the database can be output. The experiment was based on the TPC-DS dataset (transaction processing performance council decision support benchmark) and compared the performance of MySQL and OpenGauss databases under different parameter configurations. The experimental results show that after optimisation by the NSGA-II genetic algorithm, MySQL and OpenGauss databases have certain improvements in query throughput, query response time, and query resource utilisation. Moreover, the optimisation effect on the MySQL database was as high as 90.30%, which is more significant than that on the OpenGauss database.

Suggested Citation

  • Ming Tang & Lincheng Qi & Sibo Bi & Xinyun Cheng & Shijie Zhang, 2024. "Comparison and database performance optimisation strategies based on NSGA-II genetic algorithm: MySQL and OpenGauss," International Journal of Data Science, Inderscience Enterprises Ltd, vol. 9(3/4), pages 222-238.
  • Handle: RePEc:ids:ijdsci:v:9:y:2024:i:3/4:p:222-238
    as

    Download full text from publisher

    File URL: http://www.inderscience.com/link.php?id=142817
    Download Restriction: Access to full text is restricted to subscribers.
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:ids:ijdsci:v:9:y:2024:i:3/4:p:222-238. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sarah Parker (email available below). General contact details of provider: http://www.inderscience.com/browse/index.php?journalID=429 .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.