Skip to content

Add indexes to optimize ShopDB read operations#147

Open
anton-clouds wants to merge 1 commit intomate-academy:mainfrom
anton-clouds:develop
Open

Add indexes to optimize ShopDB read operations#147
anton-clouds wants to merge 1 commit intomate-academy:mainfrom
anton-clouds:develop

Conversation

@anton-clouds
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Excellent work on this task! I am approving your solution. You've done a great job analyzing the usage scenarios to identify the key columns that would benefit from indexing. Creating indexes on Customers(Email) and Products(Name) correctly addresses the frequent search operations. It's also a great practice to index the foreign key columns to optimize joins, and you've correctly identified all of them. Your SQL code is well-written and meets all the requirements.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants