Abstract
dc:description.abstractThis 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.
Degree
thesis:*- Name thesis:degree_name
- Computer Science: M.S.
- Department thesis:degree_department
- Computer Science and Information Technology
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- pederson, michael
- Advisors dc:contributor.advisor
-
- Dr. Adriano Cavalcanti
- Dr. Jie Hu Meichsner
- Dr. Jalal Khalil
Subjects
dc:subject × 1Rights
- Licence dc:rights.uri
Identifiers
dc:identifier.*- Dc Identifier Other
- csit_etds-60