{"title":"Performance analysis of SQL Prepared Statements in CRUD operations","authors":"Tomislav Seser, V. Pleština, Frane Marjanica","doi":"10.23919/SpliTech55088.2022.9854303","DOIUrl":null,"url":null,"abstract":"In a web application, communication between the application and the database server is one of the most resource intensive operations which therefore requires optimization. Database optimization is a challenging task where even a minor change can have a big impact on overall application performance. Prepared statements bring two main advantages: security and consistency. They are often considered to also have a performance advantage but, in this paper, it will be shown how prepared statements can have decremental performance impact, and when they should and should not be used if resources and performance is a concern.","PeriodicalId":295373,"journal":{"name":"2022 7th International Conference on Smart and Sustainable Technologies (SpliTech)","volume":"2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 7th International Conference on Smart and Sustainable Technologies (SpliTech)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23919/SpliTech55088.2022.9854303","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In a web application, communication between the application and the database server is one of the most resource intensive operations which therefore requires optimization. Database optimization is a challenging task where even a minor change can have a big impact on overall application performance. Prepared statements bring two main advantages: security and consistency. They are often considered to also have a performance advantage but, in this paper, it will be shown how prepared statements can have decremental performance impact, and when they should and should not be used if resources and performance is a concern.