RDB optmization
It turns out that the only thing developers need to learn is how to index. Database indexing is, in fact, a development task. That is because the most important information for proper indexing is not the storage system configuration or the hardware setup. The most important information for indexing is how the application queries the data.
Markus Winand • Who has to add the right indexes to an SQL database?
as developers, we know how the app is accesing the data → the access path
Many developers have years of SQL experience yet they know very little about the processing that happens in the database.
Markus Winand • Who has to add the right indexes to an SQL database?
SQL Performance Explained Everything Developers Need to Know about SQL Performance
amazon.comSQL Tuning: Generating Optimal Execution Plans
amazon.comSQL Cookbook: Query Solutions and Techniques for All SQL Users
amazon.comLearning SQL: Generate, Manipulate, and Retrieve Data
amazon.comSQL Indexing and Tuning e-Book for developers: Use The Index, Luke covers Oracle, MySQL, PostgreSQL, SQL Server, ...
use-the-index-luke.comCost of a Join
brianlikespostgres.comwell placed indexes makes joining many huge tables easy
Techniques for optimizing SQL queries in a high-traffic application
link: https://readmedium.com/en/techniques-for-optimizing-sql-queries-in-a-high-traffic-application-6663e3f10e23