Тёмный
No video :(

Custom vs generic plan | Postgres.FM 096 |  

PostgresTV 💙💛
Подписаться 4,1 тыс.
Просмотров 269
50% 1

Опубликовано:

 

27 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@pdougall1
@pdougall1 3 месяца назад
Ya'll are great! Its really important to hear professional db people talking about how all of this works in practice. Beyond a basic explanation that can be found in books (books are also really important btw)
@kirkwolak6735
@kirkwolak6735 2 месяца назад
So, I was wondering... Wouldn't it be nice if there were 2-3 types of plans based on some of the values of the parameters, so you get the most optimum plan and maybe the optimizer does Parameter Peeking to determine which of the X plans to choose... And then I realized. Wow... The application could do this. Create 3 prepared statements for the same query. And execute against the one TUNED for the query parameter types forcing the best plan to be used by design... Hmmm... We have this situation. We have a complicated search. But when the value we are searching for is small (lots of hits) vs large (few hits). It wants to choose the wrong one after a few queries and then a switch. Unfortunately, this is inside of a Procedure where the statement is prepared around us. We would have to basically duplicate the complex query just to make the condition so that it executes the right right way. But I might still try that.
Далее
🛑самое грустное видео
00:10
Просмотров 95 тыс.
How to Understand the SSMS Execution Plan
6:52
Просмотров 3,2 тыс.
Microservices with Databases can be challenging...
20:52
PostgreSQL Indexing : How, why, and when.
31:21
Просмотров 77 тыс.
🛑самое грустное видео
00:10
Просмотров 95 тыс.