{"id":{"repo_id":"ohiolink","oai_identifier":"oai:etd.ohiolink.edu:osu1605909940057503"},"canonical_url":"https://search.ndltd.org/etd/ohiolink/oai:etd.ohiolink.edu:osu1605909940057503","repository":{"repo_id":"ohiolink","name":"OhioLINK","base_url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai"},"display":{"title":"High Performance Iterative Processing in Relational Database Management Systems","abstract":"Increasingly more iterative and recursive query tasks are processed in data management systems, such as graph-structured data analytics, demanding fast response time. We have identified several critical issues that hinder high performance iterative data processing. First, the existing iterative SQL model has limitations to express certain important classes of iterations, such as aggregation-based tasks. PageRank is a representative example of this class. Second, even the existing model is extended; its implementation in database systems is non-trivial. Third, an iterative processing can be nested, such as processing of subqueries, demanding high computing power and memory space. The existing solution of un-nesting queries requires in most cases a customized approach to handle nested loop execution. For this reason, un-nesting algorithms have not been merged to mainstream database systems. In this dissertation, we address the above mentioned issues by extending the iteration execution model with effective implementations in database systems, and by developing parallel algorithms for nested loop execution of subqueries with effective implementation on GPU systems. All the experiment results show the effectiveness of our algorithms development efforts.Existing CTE-based recursive SQL and its implementation ineffectively respond to this intensive query processing with two major drawbacks. First, its iteration execution model is based on implicit set-oriented terminating conditions that cannot express aggregation-based tasks, such as PageRank. Second, its synchronous execution model cannot perform asynchronous computing to further accelerate execution in parallel. To address these two issues, we have designed and implemented SQLoop, a framework that extends the semantics of current SQL standard in order to accommodate iterative SQL queries. SQLoop interfaces between users and different database engines with two powerful components. First, it provides a uniform SQL expression for users to access any database engine so that they do not need to write database dependent SQL or move datasets from a target engine to process in their own sites. Second, SQLoop automatically parallelizes iterative queries that contain certain aggregate functions in both synchronous and asynchronous ways. More specifically, SQLoop is able to take advantage of intermediate results generated between different iterations and to prioritize the execution of partitions that accelerate the query processing. We have tested and evaluated SQLoop by using three popular database engines with real-world datasets and queries, and shown its effectiveness and high performance. Furthermore, we discuss how iterative SQL queries can be incorporated into a RDBMS without major intrusion to the system. The implementation is based on a functional rewrite that translates iterative queries to other existing SQL operators in the same way as SQLoop. However, the rewrite takes place inside the system and the iterative query is now a single query plan tree. Thus, it can be optimized, parallelized and executed by the engine without major modifications to the code base.Finally, iterative SQL queries is not the only structure that requires efficient iterative evaluation in relational database management systems. Nested SQL queries are an important part of SQL that allows users to express complex use-cases by using the output of a sub-query as an input to another. However, the baseline execution method is often expensive as it requires the execution of the nested part multiple times. Researchers have proposed various algorithms and techniques that un-nest subqueries to improve performance. Since this is a customized approach and needs high algorithmic and engineering efforts, it is largely not an open feature in most existing database systems. Our approach is general-purpose and GPU-acceleration based, aiming for both high performance and minimum development cost. We look into the major differences between nested and un-nested query structures to identify their merits and limits for GPU processing. Furthermore, we focus on the nested approach that is algorithmically simple and rich in parallels, in relatively low space complexity, and general purpose in program structure. We create a new code generation framework that best fits GPU for the nested method. We also make several critical system optimizations including massive parallel scanning with indexing, effective vectorization to optimize join operations, exploiting cache locality for loops and efficient GPU memory management. We have implemented the proposed solutions in NestGPU, a GPU-based column-store database system that is GPU device independent. We have extensively evaluated and tested the system to show the effectiveness of our proposed methods.","abstract_html":"Increasingly more iterative and recursive query tasks are processed in data management systems, such as graph-structured data analytics, demanding fast response time. We have identified several critical issues that hinder high performance iterative data processing. First, the existing iterative SQL model has limitations to express certain important classes of iterations, such as aggregation-based tasks. PageRank is a representative example of this class. Second, even the existing model is extended; its implementation in database systems is non-trivial. Third, an iterative processing can be nested, such as processing of subqueries, demanding high computing power and memory space. The existing solution of un-nesting queries requires in most cases a customized approach to handle nested loop execution. For this reason, un-nesting algorithms have not been merged to mainstream database systems. In this dissertation, we address the above mentioned issues by extending the iteration execution model with effective implementations in database systems, and by developing parallel algorithms for nested loop execution of subqueries with effective implementation on GPU systems. All the experiment results show the effectiveness of our algorithms development efforts.Existing CTE-based recursive SQL and its implementation ineffectively respond to this intensive query processing with two major drawbacks. First, its iteration execution model is based on implicit set-oriented terminating conditions that cannot express aggregation-based tasks, such as PageRank. Second, its synchronous execution model cannot perform asynchronous computing to further accelerate execution in parallel. To address these two issues, we have designed and implemented SQLoop, a framework that extends the semantics of current SQL standard in order to accommodate iterative SQL queries. SQLoop interfaces between users and different database engines with two powerful components. First, it provides a uniform SQL expression for users to access any database engine so that they do not need to write database dependent SQL or move datasets from a target engine to process in their own sites. Second, SQLoop automatically parallelizes iterative queries that contain certain aggregate functions in both synchronous and asynchronous ways. More specifically, SQLoop is able to take advantage of intermediate results generated between different iterations and to prioritize the execution of partitions that accelerate the query processing. We have tested and evaluated SQLoop by using three popular database engines with real-world datasets and queries, and shown its effectiveness and high performance. Furthermore, we discuss how iterative SQL queries can be incorporated into a RDBMS without major intrusion to the system. The implementation is based on a functional rewrite that translates iterative queries to other existing SQL operators in the same way as SQLoop. However, the rewrite takes place inside the system and the iterative query is now a single query plan tree. Thus, it can be optimized, parallelized and executed by the engine without major modifications to the code base.Finally, iterative SQL queries is not the only structure that requires efficient iterative evaluation in relational database management systems. Nested SQL queries are an important part of SQL that allows users to express complex use-cases by using the output of a sub-query as an input to another. However, the baseline execution method is often expensive as it requires the execution of the nested part multiple times. Researchers have proposed various algorithms and techniques that un-nest subqueries to improve performance. Since this is a customized approach and needs high algorithmic and engineering efforts, it is largely not an open feature in most existing database systems. Our approach is general-purpose and GPU-acceleration based, aiming for both high performance and minimum development cost. We look into the major differences between nested and un-nested query structures to identify their merits and limits for GPU processing. Furthermore, we focus on the nested approach that is algorithmically simple and rich in parallels, in relatively low space complexity, and general purpose in program structure. We create a new code generation framework that best fits GPU for the nested method. We also make several critical system optimizations including massive parallel scanning with indexing, effective vectorization to optimize join operations, exploiting cache locality for loops and efficient GPU memory management. We have implemented the proposed solutions in NestGPU, a GPU-based column-store database system that is GPU device independent. We have extensively evaluated and tested the system to show the effectiveness of our proposed methods.","abstract_has_math":false,"creators":["Floratos, Sofoklis"],"institution":"The Ohio State University","degree_name":"Doctor of Philosophy","degree_level":"doctoral","degree_discipline":"Computer Science and Engineering","degree_department":null,"school":null,"contributors":[],"advisors":["Zhang, Xiaodong"],"committee_chairs":[],"committee_members":[],"year":2020,"date_issued":"2020","date_published":"2020","updated_at":"2026-11-27T04:50:06Z","subjects":["Computer Engineering","Computer Science"],"languages":["English"],"rights":["unrestricted","This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://rave.ohiolink.edu/etdc/view?acc_num=osu1605909940057503","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"http://rave.ohiolink.edu/etdc/view?acc_num=osu1605909940057503","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aohiolink%3Aoai%3Aetd.ohiolink.edu%3Aosu1605909940057503","prefix":"oai_dc"},"source_record":{"url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aetd.ohiolink.edu%3Aosu1605909940057503","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Zhang, Xiaodong"]},{"key":"dc:creator","label":"Author","values":["Floratos, Sofoklis"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2020"]},{"key":"dc:publisher","label":"Institution","values":["The Ohio State University / OhioLINK"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science and Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["The Ohio State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Engineering","Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:rights","label":"Dc Rights","values":["unrestricted","This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://rave.ohiolink.edu/etdc/view?acc_num=osu1605909940057503"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Increasingly more iterative and recursive query tasks are processed in data management systems, such as graph-structured data analytics, demanding fast response time. We have identified several critical issues that hinder high performance iterative data processing. First, the existing iterative SQL model has limitations to express certain important classes of iterations, such as aggregation-based tasks. PageRank is a representative example of this class. Second, even the existing model is extended; its implementation in database systems is non-trivial. Third, an iterative processing can be nested, such as processing of subqueries, demanding high computing power and memory space. The existing solution of un-nesting queries requires in most cases a customized approach to handle nested loop execution. For this reason, un-nesting algorithms have not been merged to mainstream database systems. In this dissertation, we address the above mentioned issues by extending the iteration execution model with effective implementations in database systems, and by developing parallel algorithms for nested loop execution of subqueries with effective implementation on GPU systems. All the experiment results show the effectiveness of our algorithms development efforts.Existing CTE-based recursive SQL and its implementation ineffectively respond to this intensive query processing with two major drawbacks. First, its iteration execution model is based on implicit set-oriented terminating conditions that cannot express aggregation-based tasks, such as PageRank. Second, its synchronous execution model cannot perform asynchronous computing to further accelerate execution in parallel. To address these two issues, we have designed and implemented SQLoop, a framework that extends the semantics of current SQL standard in order to accommodate iterative SQL queries. SQLoop interfaces between users and different database engines with two powerful components. First, it provides a uniform SQL expression for users to access any database engine so that they do not need to write database dependent SQL or move datasets from a target engine to process in their own sites. Second, SQLoop automatically parallelizes iterative queries that contain certain aggregate functions in both synchronous and asynchronous ways. More specifically, SQLoop is able to take advantage of intermediate results generated between different iterations and to prioritize the execution of partitions that accelerate the query processing. We have tested and evaluated SQLoop by using three popular database engines with real-world datasets and queries, and shown its effectiveness and high performance. Furthermore, we discuss how iterative SQL queries can be incorporated into a RDBMS without major intrusion to the system. The implementation is based on a functional rewrite that translates iterative queries to other existing SQL operators in the same way as SQLoop. However, the rewrite takes place inside the system and the iterative query is now a single query plan tree. Thus, it can be optimized, parallelized and executed by the engine without major modifications to the code base.Finally, iterative SQL queries is not the only structure that requires efficient iterative evaluation in relational database management systems. Nested SQL queries are an important part of SQL that allows users to express complex use-cases by using the output of a sub-query as an input to another. However, the baseline execution method is often expensive as it requires the execution of the nested part multiple times. Researchers have proposed various algorithms and techniques that un-nest subqueries to improve performance. Since this is a customized approach and needs high algorithmic and engineering efforts, it is largely not an open feature in most existing database systems. Our approach is general-purpose and GPU-acceleration based, aiming for both high performance and minimum development cost. We look into the major differences between nested and un-nested query structures to identify their merits and limits for GPU processing. Furthermore, we focus on the nested approach that is algorithmically simple and rich in parallels, in relatively low space complexity, and general purpose in program structure. We create a new code generation framework that best fits GPU for the nested method. We also make several critical system optimizations including massive parallel scanning with indexing, effective vectorization to optimize join operations, exploiting cache locality for loops and efficient GPU memory management. We have implemented the proposed solutions in NestGPU, a GPU-based column-store database system that is GPU device independent. We have extensively evaluated and tested the system to show the effectiveness of our proposed methods."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf","4.63 MB"]},{"key":"dc:title","label":"Title","values":["High Performance Iterative Processing in Relational Database Management Systems"]}]}],"canonical_facts":{"dc:contributor.advisor":["Zhang, Xiaodong"],"dc:creator":["Floratos, Sofoklis"],"dc:date":["2020"],"dc:description":["Increasingly more iterative and recursive query tasks are processed in data management systems, such as graph-structured data analytics, demanding fast response time. We have identified several critical issues that hinder high performance iterative data processing. First, the existing iterative SQL model has limitations to express certain important classes of iterations, such as aggregation-based tasks. PageRank is a representative example of this class. Second, even the existing model is extended; its implementation in database systems is non-trivial. Third, an iterative processing can be nested, such as processing of subqueries, demanding high computing power and memory space. The existing solution of un-nesting queries requires in most cases a customized approach to handle nested loop execution. For this reason, un-nesting algorithms have not been merged to mainstream database systems. In this dissertation, we address the above mentioned issues by extending the iteration execution model with effective implementations in database systems, and by developing parallel algorithms for nested loop execution of subqueries with effective implementation on GPU systems. All the experiment results show the effectiveness of our algorithms development efforts.Existing CTE-based recursive SQL and its implementation ineffectively respond to this intensive query processing with two major drawbacks. First, its iteration execution model is based on implicit set-oriented terminating conditions that cannot express aggregation-based tasks, such as PageRank. Second, its synchronous execution model cannot perform asynchronous computing to further accelerate execution in parallel. To address these two issues, we have designed and implemented SQLoop, a framework that extends the semantics of current SQL standard in order to accommodate iterative SQL queries. SQLoop interfaces between users and different database engines with two powerful components. First, it provides a uniform SQL expression for users to access any database engine so that they do not need to write database dependent SQL or move datasets from a target engine to process in their own sites. Second, SQLoop automatically parallelizes iterative queries that contain certain aggregate functions in both synchronous and asynchronous ways. More specifically, SQLoop is able to take advantage of intermediate results generated between different iterations and to prioritize the execution of partitions that accelerate the query processing. We have tested and evaluated SQLoop by using three popular database engines with real-world datasets and queries, and shown its effectiveness and high performance. Furthermore, we discuss how iterative SQL queries can be incorporated into a RDBMS without major intrusion to the system. The implementation is based on a functional rewrite that translates iterative queries to other existing SQL operators in the same way as SQLoop. However, the rewrite takes place inside the system and the iterative query is now a single query plan tree. Thus, it can be optimized, parallelized and executed by the engine without major modifications to the code base.Finally, iterative SQL queries is not the only structure that requires efficient iterative evaluation in relational database management systems. Nested SQL queries are an important part of SQL that allows users to express complex use-cases by using the output of a sub-query as an input to another. However, the baseline execution method is often expensive as it requires the execution of the nested part multiple times. Researchers have proposed various algorithms and techniques that un-nest subqueries to improve performance. Since this is a customized approach and needs high algorithmic and engineering efforts, it is largely not an open feature in most existing database systems. Our approach is general-purpose and GPU-acceleration based, aiming for both high performance and minimum development cost. We look into the major differences between nested and un-nested query structures to identify their merits and limits for GPU processing. Furthermore, we focus on the nested approach that is algorithmically simple and rich in parallels, in relatively low space complexity, and general purpose in program structure. We create a new code generation framework that best fits GPU for the nested method. We also make several critical system optimizations including massive parallel scanning with indexing, effective vectorization to optimize join operations, exploiting cache locality for loops and efficient GPU memory management. We have implemented the proposed solutions in NestGPU, a GPU-based column-store database system that is GPU device independent. We have extensively evaluated and tested the system to show the effectiveness of our proposed methods."],"dc:format":["application/pdf","4.63 MB"],"dc:identifier":["http://rave.ohiolink.edu/etdc/view?acc_num=osu1605909940057503"],"dc:language":["English"],"dc:publisher":["The Ohio State University / OhioLINK"],"dc:rights":["unrestricted","This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws."],"dc:subject":["Computer Engineering","Computer Science"],"dc:title":["High Performance Iterative Processing in Relational Database Management Systems"],"dc:type":["Electronic Thesis or Dissertation"],"thesis:degree_discipline":["Computer Science and Engineering"],"thesis:degree_level":["doctoral"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["The Ohio State University"]},"updated_at":"2026-11-27T04:50:06Z"}