Тёмный

Office Hours in Sofia, Bulgaria 

Brent Ozar Unlimited
Подписаться 47 тыс.
Просмотров 2 тыс.
50% 1

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

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@JoeZelMusic
@JoeZelMusic 3 месяца назад
Hey Brent for that last question there could be a "driver" difference in connection flags. I've had ARITHABORT cause significant slowness when set to false. Some of the drivers out there set it to false as a default, unlike what SSMS defaults, for instance. Thanks for what you do for us! Always learn something...
@rebornfenix4412
@rebornfenix4412 3 месяца назад
Ya, I was thinking of slow in the application, fast in ssms and going “the set options being different between the drivers would be the first thing I would check”
@mortezasafaee6981
@mortezasafaee6981 3 месяца назад
Thanks brent for answering all question in simple english....❤
@legghorn
@legghorn 3 месяца назад
For the last question: jtds odbc is an pure java driver. I'd guess that the MS odbc driver is writte in C++. That might by the reason for the performance improvement.
@FlaggedStar
@FlaggedStar 3 месяца назад
11:40 But won't they need an outage to switch to Enterprise Edition?
@BrentOzarUnlimited
@BrentOzarUnlimited 3 месяца назад
Yes, but it's a one-time change, and then you can do your low-downtime operations as often as you like.
@nofreenamestoreg
@nofreenamestoreg 3 месяца назад
I wished you visited Sofia for a tech conference :)
@BrentOzarUnlimited
@BrentOzarUnlimited 3 месяца назад
Is there a big SQL Server conference in Sofia?
@nofreenamestoreg
@nofreenamestoreg 3 месяца назад
@@BrentOzarUnlimited I wish, SQL/DATA Saturdays primary
@yltope
@yltope 3 месяца назад
At least these "presentations" many times make people feel shame, I'm guessing those stick with them, so you are kind of using the teaching method already 🤔. And give the rest of us a few chuckles along the way 😁
@brandonwiese4615
@brandonwiese4615 3 месяца назад
There is in fact a performance benefit to using N'..' Unicode strings in WHERE clauses. I've seen many, many cases where comparing a Unicode column to a non-Unicode string (or even another non-Unicode column) causes SQL Server not to use the available index on the Unicode column.
@BrentOzarUnlimited
@BrentOzarUnlimited 3 месяца назад
Can you email me a repro query to prove that at help@brentozar.com? I'd love to see that.
@brandonwiese4615
@brandonwiese4615 3 месяца назад
@@BrentOzarUnlimited So my original reply was backwards. The problem occurs with VARCHAR columns and Unicode strings in WHERE clauses, where SQL Server decides to do an implicit_convert on the column to NVARCHAR instead of the constant to VARCHAR, thus reading every row and getting an index/table scan instead of an index seek. Sent some screenshots as requested.
@BrentOzarUnlimited
@BrentOzarUnlimited 3 месяца назад
@@brandonwiese4615right, you had it backwards. The scenario we discussed on the video, the N doesn’t matter, as I explained there. But glad you learned something about implicit conversions!
@michaciesielski9725
@michaciesielski9725 3 месяца назад
First 😂
Далее
Office Hours in Sofia, Bulgaria
17:41
Просмотров 3 тыс.
Office Hours in My Backyard: SQL Server Q&A
17:18
Просмотров 3,7 тыс.
We finally APPROVED @ZachChoi
00:31
Просмотров 4,2 млн
Office Hours: Ask Me Anything at Sea
18:16
Просмотров 1,3 тыс.
Bulgaria Vlog 9 - June 2024
30:01
Просмотров 2,8 тыс.
I VISITED BULGARIA SO YOU DIDN'T HAVE TO
24:24
Просмотров 473 тыс.
Russia's war economy is unsustainable
11:55
Просмотров 377 тыс.
Office Hours: Database Answers in Vancouver
11:44
Просмотров 2,1 тыс.