An in-depth look at Database Indexing
Performance is extremely important in many consumer products like e-commerce, payment systems, gaming, transportation apps, and so on. Although databases are internally optimised through multiple mechanisms to meet their performance requirements in the modern world, a lot depends on the application developer as well — after all, only a developer knows what queries the application has to perform. Developers who deal with relational databases have used or at least heard about indexing, and it’s a very common concept in the database world. However, the most important part is to understand what to index & how the indexing is going to boost the query response time. For doing that you need to understand how you are going to query your database tables. A proper index can be created only when you know exactly what your query & data access patterns look like. In simple terminology, an index maps search keys to corresponding data on disk by using different in-memory & on-disk data structures. In
By Kousik Nath Performance is extremely important in many consumer products like e-commerce, payment systems, gaming, transportation apps, and so on. Although databases are internally optimised through multiple mechanisms to meet their performance requirements in the modern world, a lot depends on the application developer as well — after all, only a developer knows what queries the application has to perform. Developers who deal with relational databases have used or at least heard about indexing, and it’s a very common concept in the database world. However, the most important part is to und
related reading
- Build Your Own Databasenan.fyi
- Primary Key and Secondary Indexes in DynamoDB | by Mahima Manik | Mediummedium.com
- Clustered and non-clustered indexesibm.com
- Some indexing best practices - pgMustardpgmustard.com
- pthorpe92.devpthorpe92.dev
- Why graph indexing is importantcommunity.neo4j.com
- The Problem with Using a UUID Primary Key in MySQL — PlanetScaleplanetscale.com
- How Does a Database Work?cstack.github.io
- PostgreSQL Index Types - Vlad Mihalceavladmihalcea.com
- Things to keep in mind while picking a partition key in DynamoDB | by Ekta Garg | Mediummedium.com
- A More Human Approach To Databasesccorcos.github.io
- (I am a manager of the Data-Perf team at FB which deals with lots of different D...news.ycombinator.com