Тёмный

The optimizer HINT that rules them all! 

SQL and Database explained!
Подписаться 14 тыс.
Просмотров 2,4 тыс.
50% 1

There are many optimizer hints that can be used to change the performance of a query. But there is an optimizer hint that does NOTHING to the performance yet is easily the most important hint you'll ever use in a SQL statement.
Follow me!
blog: connor-mcdonald.com
twitter: / connor_mc_d
The Podcast!
podcasts.apple.com/au/podcast...
open.spotify.com/show/5dqVVft...
Subscribe for new tech videos every week
Other social media channels here: linktr.ee/connor
Music: The Wine, The Cars, Ah! Montmartre! - Late Night Feeler
#sql #database

Наука

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

 

5 фев 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@nagarajuneeriganti8101
@nagarajuneeriganti8101 Год назад
Thank you. Very informative and useful...
@iyadahmed3773
@iyadahmed3773 Год назад
Very great analogy!!
@DatabaseDude
@DatabaseDude Год назад
thank you!
@berndeckenfels
@berndeckenfels Год назад
Does it do more than tally the numbers (I.e. refreshes statistics or caches the results)? Can statistics_level=all on the session do the same without hints?
@DatabaseDude
@DatabaseDude Год назад
stats_level all will do the same job, but of course, now you're getting the measurement on *every* query in that session
@vikram4755
@vikram4755 Год назад
Nice and useful, doesn't this add an overhead to the query execution on the very first run? As the consecutive runs will be quick as optimisor now has all the statistics
@DatabaseDude
@DatabaseDude Год назад
there will be a parse overhead. I'm not recommending you have this hint in your apps, just for diagnosis
@davidmoore4567
@davidmoore4567 Год назад
Does running 19c on Exadata with autonomous database add this hint automatically to the first execution of every DML statement unless statistics were already gathered recently.
@DatabaseDude
@DatabaseDude Год назад
no. but if you set statistics_level = all, we collect the same data
Далее
Twitter Wars! Natural vs Surrogate Keys
6:30
Просмотров 1,5 тыс.
Become a Materialized View SUPER HERO !
7:05
Просмотров 8 тыс.
How the hell is this done#joker #shorts
00:14
Просмотров 2,4 млн
Я нашел кто меня пранкует!
00:51
Просмотров 577 тыс.
Join Order by SQL Server Query Optimizer
7:22
Is RECURSION possible with SQL ?
6:08
Просмотров 1,2 тыс.
Oracle 11g Hints Overview
42:56
Просмотров 71 тыс.
Does SQL table join order matter?
14:10
Просмотров 15 тыс.
Database Indexing Explained (with PostgreSQL)
18:19
Просмотров 294 тыс.
Internal queries KILLING my database!
7:22
Просмотров 1,5 тыс.
Best mobile of all time💥🗿 [Troll Face]
0:24
Урна с айфонами!
0:30
Просмотров 7 млн
Развод с OZON - ноутбук за 2875₽
17:48
🛑 STOP! SAMSUNG НЕ ПОКУПАТЬ!
1:00
Просмотров 95 тыс.