Understand Statistics in SQL Server for better performance troubleshooting

preview_player
Показать описание
Let us quickly learn about statistics in this session.

📚 ►Recommended sessions:

Watch all my playlists here:
Рекомендации по теме
Комментарии
Автор

Thank you for your content. I'm exploring mssql internal to preparing some interview about database dev. Blessed to view this

Toan.nguyen
Автор

Hi, I think rebuilding indexes updates the statistics only for the columns that have an index. For example the statistics that were created by "where" statement - they won't be updated when rebuilding indexes.

kirilspasov
Автор

That is a perfect Explanation and on point. Bro I want you to create few Query optimization-related videos. If possible please create videos to understand the Execution plan and other query performance tweaks. Will wait for your new videos as you are on top of my list for MSSQL :). So informative.. Keep it up !

iNtellectual.paradoX
Автор

Very well explained 👏 .. Can you do a video on using sp_blitzcache and sp_blitzindex...It would be helpful for suggestions...or any kind of tools which will make our day so easy.

amarcse
Автор

Can you please make a video on execution plans and operators.

Aanand-mo
Автор

Hello, Thank you and greetings from Bulgaria. Great tutorial.
I would like to ask you - you say we can request bigger sample. Yet it is said that statistics is restricted to one 8K page. So it seems that we can not extend indefinitely. Or am I wrong in some way ??

Also - you mentioned that statistics can be created on a column without an index. Very few people mention that.
So I am now exploring - if we can have just statistics to help us build a query plan, why do we need index/es ?? They are bulky etc. And most important they rely underneath on ... statistics. So seem like that they are like middle man.

Would you like to help me (and the others) on that ?? Thank you.

iliashterev