{"id":{"repo_id":"st-cloud","oai_identifier":"oai:repository.stcloudstate.edu:20.500.14755/932"},"canonical_url":"https://search.ndltd.org/etd/st-cloud/oai:repository.stcloudstate.edu:20.500.14755/932","repository":{"repo_id":"st-cloud","name":"St. Cloud State University","base_url":"https://repository.stcloudstate.edu/server/oai/request"},"display":{"title":"Query Optimization in SurrealDB","abstract":"This thesis presents a comprehensive study of query optimization strategies in SurrealDB, a multi-model database system. Through systematic analysis of various query patterns and data structures, we investigate the performance characteristics of SurrealDB’s features, including edge traversals, record links, indexing methods, and filtering operations. Our research reveals the significant impact of record size on query performance, with smaller records consistently outperforming larger ones due to RocksDB’s underlying mechanics. We demonstrate that edge traversals, particularly when utilizing record IDs as intermediates, often yield performance gains, though this benefit diminishes with larger result sets. Record links emerge as an efficient alternative to edges for certain relationship queries, albeit with limitations in bidirectional navigation scenarios. Our findings highlight unexpected performance disparities between the CONTAINS and IN keywords in indexed contexts, emphasizing the critical role of proper indexing in query optimization. We also explore the performance implications of scope variables, fetch operations, and various filtering techniques. The study reveals that optimal query strategies often depend on the interplay between record size, query scope, and overall execution time. These insights provide valuable guidance for database designers and developers in crafting efficient queries and data models in SurrealDB, while also identifying areas for potential further optimization in the database engine.","abstract_html":"This thesis presents a comprehensive study of query optimization strategies in SurrealDB, a multi-model database system. Through systematic analysis of various query patterns and data structures, we investigate the performance characteristics of SurrealDB’s features, including edge traversals, record links, indexing methods, and filtering operations. Our research reveals the significant impact of record size on query performance, with smaller records consistently outperforming larger ones due to RocksDB’s underlying mechanics. We demonstrate that edge traversals, particularly when utilizing record IDs as intermediates, often yield performance gains, though this benefit diminishes with larger result sets. Record links emerge as an efficient alternative to edges for certain relationship queries, albeit with limitations in bidirectional navigation scenarios. Our findings highlight unexpected performance disparities between the CONTAINS and IN keywords in indexed contexts, emphasizing the critical role of proper indexing in query optimization. We also explore the performance implications of scope variables, fetch operations, and various filtering techniques. The study reveals that optimal query strategies often depend on the interplay between record size, query scope, and overall execution time. These insights provide valuable guidance for database designers and developers in crafting efficient queries and data models in SurrealDB, while also identifying areas for potential further optimization in the database engine.","abstract_has_math":false,"creators":["pederson, michael"],"institution":null,"degree_name":"Computer Science: M.S.","degree_level":null,"degree_discipline":null,"degree_department":"Computer Science and Information Technology","school":null,"contributors":[],"advisors":["Dr. Adriano Cavalcanti","Dr. Jie Hu Meichsner","Dr. Jalal Khalil"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-05-01","date_published":"2025-05-01","updated_at":"2026-11-27T09:55:52Z","subjects":["Database SurrealDB SurrealQL"],"languages":[],"rights":[],"rights_urls":["http://creativecommons.org/licenses/by-nc-nd/4.0/"],"identifier_entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["csit_etds-60"],"render_values":[{"text":"csit_etds-60","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.14755/932","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.14755/932","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","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%3Ast-cloud%3Aoai%3Arepository.stcloudstate.edu%3A20.500.14755%2F932","prefix":"oai_dc"},"source_record":{"url":"https://repository.stcloudstate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.stcloudstate.edu%3A20.500.14755%2F932","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Dr. Adriano Cavalcanti","Dr. Jie Hu Meichsner","Dr. Jalal Khalil"]},{"key":"dc:creator","label":"Author","values":["pederson, michael"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-08-17T14:08:06Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-10-31 11:41:41"]},{"key":"dc:date.issued","label":"Date","values":["2025-05-01"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2025-03-05 13:55:40"]},{"key":"thesis:degree_college","label":"Thesis Degree College","values":["School of Science and Engineering"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science and Information Technology"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Computer Science: M.S."]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Database SurrealDB SurrealQL"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["Culminating Projects in Computer Science and Information Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights.uri","label":"Rights URI","values":["http://creativecommons.org/licenses/by-nc-nd/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["csit_etds-60"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.14755/932"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This thesis presents a comprehensive study of query optimization strategies in SurrealDB, a multi-model database system. Through systematic analysis of various query patterns and data structures, we investigate the performance characteristics of SurrealDB’s features, including edge traversals, record links, indexing methods, and filtering operations. Our research reveals the significant impact of record size on query performance, with smaller records consistently outperforming larger ones due to RocksDB’s underlying mechanics. We demonstrate that edge traversals, particularly when utilizing record IDs as intermediates, often yield performance gains, though this benefit diminishes with larger result sets. Record links emerge as an efficient alternative to edges for certain relationship queries, albeit with limitations in bidirectional navigation scenarios. Our findings highlight unexpected performance disparities between the CONTAINS and IN keywords in indexed contexts, emphasizing the critical role of proper indexing in query optimization. We also explore the performance implications of scope variables, fetch operations, and various filtering techniques. The study reveals that optimal query strategies often depend on the interplay between record size, query scope, and overall execution time. These insights provide valuable guidance for database designers and developers in crafting efficient queries and data models in SurrealDB, while also identifying areas for potential further optimization in the database engine."]},{"key":"dc:format","label":"Dc Format","values":["starred"]},{"key":"dc:title","label":"Title","values":["Query Optimization in SurrealDB"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Dr. Adriano Cavalcanti","Dr. Jie Hu Meichsner","Dr. Jalal Khalil"],"dc:creator":["pederson, michael"],"dc:date.accessioned":["2026-08-17T14:08:06Z"],"dc:date.available":["2025-10-31 11:41:41"],"dc:date.issued":["2025-05-01"],"dc:date.submitted":["2025-03-05 13:55:40"],"dc:description.abstract":["This thesis presents a comprehensive study of query optimization strategies in SurrealDB, a multi-model database system. Through systematic analysis of various query patterns and data structures, we investigate the performance characteristics of SurrealDB’s features, including edge traversals, record links, indexing methods, and filtering operations. Our research reveals the significant impact of record size on query performance, with smaller records consistently outperforming larger ones due to RocksDB’s underlying mechanics. We demonstrate that edge traversals, particularly when utilizing record IDs as intermediates, often yield performance gains, though this benefit diminishes with larger result sets. Record links emerge as an efficient alternative to edges for certain relationship queries, albeit with limitations in bidirectional navigation scenarios. Our findings highlight unexpected performance disparities between the CONTAINS and IN keywords in indexed contexts, emphasizing the critical role of proper indexing in query optimization. We also explore the performance implications of scope variables, fetch operations, and various filtering techniques. The study reveals that optimal query strategies often depend on the interplay between record size, query scope, and overall execution time. These insights provide valuable guidance for database designers and developers in crafting efficient queries and data models in SurrealDB, while also identifying areas for potential further optimization in the database engine."],"dc:format":["starred"],"dc:identifier.other":["csit_etds-60"],"dc:identifier.uri":["https://hdl.handle.net/20.500.14755/932"],"dc:rights.uri":["http://creativecommons.org/licenses/by-nc-nd/4.0/"],"dc:subject":["Database SurrealDB SurrealQL"],"dc:subject.classification":["Culminating Projects in Computer Science and Information Technology"],"dc:title":["Query Optimization in SurrealDB"],"others:access_status":["open.access"],"thesis:degree_college":["School of Science and Engineering"],"thesis:degree_department":["Computer Science and Information Technology"],"thesis:degree_name":["Computer Science: M.S."]},"updated_at":"2026-11-27T09:55:52Z"}