Skip to content

hw3#6

Open
paderinandrey wants to merge 1 commit intothinknetica:mainfrom
paderinandrey:hw3
Open

hw3#6
paderinandrey wants to merge 1 commit intothinknetica:mainfrom
paderinandrey:hw3

Conversation

@paderinandrey
Copy link

  • Добавил индекс на product_id
  • Добавил функциональный индекс по дате заказа
  • Добавил счетчик orders_count с counter cache

Время выполнения составило ~90ms для 1M записей в таблице orders
image

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.

1 participant