Data Indexing for Enhanced Search Performance #21
emperorjm
started this conversation in
Smart Contract Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background:
Data indexing has been at the core of many search optimizations and performance improvements in the world of databases. While key-value stores offer simplicity and speed, they often miss out on some advanced feature like rich querying capabilities which is inherent to relational databases for example. These features become paramount when you need complex data retrieval and therefore, developers often find themselves creating additional logic or systems to compensate for these shortcomings.
Example:
Consider this scenario:
You want to design a system where you store articles in the following structure:
Given that any Address can create multiple articles, the challenge is finding the most efficient way to store these articles while ensuring easy retrieval. Specifically, the requirements are:
Questions:
When working on application-level data structures, the design often determines how quickly data can be accessed, especially when there's a need to avoid scanning the entire dataset. This raises some questions:
Beta Was this translation helpful? Give feedback.
All reactions