Тёмный
Brent Ozar Unlimited
Brent Ozar Unlimited
Brent Ozar Unlimited
Подписаться
Learn to make Microsoft SQL Server go faster.
Office Hours in Sofia, Bulgaria
17:41
16 часов назад
Office Hours: Creepy Vancouver Edition
12:07
21 день назад
Office Hours: 5-Minute Speed Round
4:34
Месяц назад
Office Hours: 16 Questions
19:12
Месяц назад
Office Hours: Database Answers from Hong Kong
22:07
2 месяца назад
Office Hours: Database Questions in Hong Kong
15:10
2 месяца назад
Office Hours: Just Three Questions
10:33
3 месяца назад
Office Hours: 25 Answers in 10 Minutes
10:16
3 месяца назад
Office Hours: The Long One
49:47
4 месяца назад
Office Hours from the Apple Vision Pro
6:38
4 месяца назад
Office Hours Speed Round
16:10
4 месяца назад
Office Hours in Telluride Colorado
16:38
4 месяца назад
PowerBI and Fabric Q&A with Eugene Meidinger
23:42
4 месяца назад
Office Hours: Hot Tub Edition
8:11
4 месяца назад
Office Hours: Lumberjack Edition
34:00
4 месяца назад
Office Hours: Oddball Questions Edition
24:08
5 месяцев назад
Office Hours: Holiday Speed Round Edition
28:52
5 месяцев назад
Комментарии
@yltope
@yltope 11 часов назад
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 😁
@blairchristensen1965
@blairchristensen1965 13 часов назад
As someone who started out as an Oracle DBA (15 years) and got a later job as an SQL Server DBA (now I do both), it's really one-way. The benefit of being an Oracle DBA is you learn TIGHT code (semicolons matter) and adherence to syntax (Microsoft plays fast and loose). The engines are completely different, however, and as Brent points out, they're only marginally comparable. For example, Views on Oracle are AWESOME. Not so much on SQL Server. Also REDO vs UNDO - HUGE difference! TOP vs ROWNUM. Transaction handling (explicit vs implicit COMMIT). And database nomenclature... but what's in a name? I'd hire an Oracle DBA into an SQL Server position, sure. I would be skeptical going the other way, however. To much to UNLEARN.
@nickwilliams5579
@nickwilliams5579 13 часов назад
Nice hoodie....
@BrentOzarUnlimited
@BrentOzarUnlimited 13 часов назад
Thanks! For somebody who lives in the desert, I have a surprising amount of hoodies, hahaha.
@sebastianoquattrocchi
@sebastianoquattrocchi 14 часов назад
That’s a good assessment! I would say organisations like to keep you as a junior for as long as possible to pay as little as possible. Also correct when you define experience, I work with people who have more ‘experience’ than me, more qualifications than me but often come to me for advice, questions that often are very trivial and they should know better…
@mortezasafaee6981
@mortezasafaee6981 18 часов назад
Thanks brent for answering all question in simple english....❤
@TheMapleSight
@TheMapleSight День назад
Is knowledge from this course still up to date?
@BrentOzarUnlimited
@BrentOzarUnlimited День назад
Yep!
@TheMapleSight
@TheMapleSight День назад
@@BrentOzarUnlimited Great to hear this! I'm coming from Data Engineering background, especially working in Azure and I want to expand my knowledge. Thanks for creating these videos.
@TheMapleSight
@TheMapleSight День назад
@@BrentOzarUnlimited from which video should I start to start from fundamentals? This one?
@BrentOzarUnlimited
@BrentOzarUnlimited День назад
@@TheMapleSight I can't do personal training for free here in the comments, but feel free to check out the channel. Cheers!
@brandonwiese4615
@brandonwiese4615 День назад
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 День назад
Can you email me a repro query to prove that at help@brentozar.com? I'd love to see that.
@brandonwiese4615
@brandonwiese4615 11 часов назад
@@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 11 часов назад
@@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!
@legghorn
@legghorn День назад
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 День назад
11:40 But won't they need an outage to switch to Enterprise Edition?
@BrentOzarUnlimited
@BrentOzarUnlimited День назад
Yes, but it's a one-time change, and then you can do your low-downtime operations as often as you like.
@JoeZelMusic
@JoeZelMusic День назад
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 День назад
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”
@nofreenamestoreg
@nofreenamestoreg День назад
I wished you visited Sofia for a tech conference :)
@BrentOzarUnlimited
@BrentOzarUnlimited День назад
Is there a big SQL Server conference in Sofia?
@nofreenamestoreg
@nofreenamestoreg День назад
@@BrentOzarUnlimited I wish, SQL/DATA Saturdays primary
@michaciesielski9725
@michaciesielski9725 День назад
First 😂
@YvdB
@YvdB 2 дня назад
I would never work for a sigarets manufacturer
@BrentOzarUnlimited
@BrentOzarUnlimited 2 дня назад
Yes, that's true. If you can't spell the product, you won't make it past HR. 😜
@niksio4331
@niksio4331 3 дня назад
hahaha 8:10 bananas
@EmrysMaier
@EmrysMaier 4 дня назад
It seems that they value your opinion over the other person's. They probably shouldn't.
@BrentOzarUnlimited
@BrentOzarUnlimited 4 дня назад
😂
@ZeddBread
@ZeddBread 3 дня назад
Yeah, it kills me when they disagree after giving valid reasons 🙄😠
@jordonpilling
@jordonpilling 4 дня назад
really really wish they’d put proper DAGs in standard - it’s the only think I really really long for in standard - company isn’t interested though lol - been a victim of my own success with mirroring and traditional trn/ bak files for HA and DR. Why pay a gazillion times more per core to make my life easier 😂
@BrentOzarUnlimited
@BrentOzarUnlimited 4 дня назад
Yeah, that’s always been the case going back to Standard’s hobbled database mirroring in 2005.
@Quentyn73
@Quentyn73 4 дня назад
I retreating choice of background. Alexander nevski cathedral in Sofia Bulgaria
@BrentOzarUnlimited
@BrentOzarUnlimited 4 дня назад
Yep!
@zammea
@zammea 4 дня назад
I see this has been taken in Sofia. How did you find Bulgaria. And do you plan on coming back?
@BrentOzarUnlimited
@BrentOzarUnlimited 4 дня назад
It was delightful! I tend to skip around to different places, but I might come back to the Present to Succeed conference again next year.
@TorgeirFredriksen
@TorgeirFredriksen 6 дней назад
MyTeaGotCold asks a lot of questions...
@erikkarlsson9843
@erikkarlsson9843 6 дней назад
If you got the time, take the train over to Plovdiv and enjoy the Roman remains there, really cool how its just in and under the "new" city!
@BrentOzarUnlimited
@BrentOzarUnlimited 3 дня назад
I didn't have the time this time, but I'll head back in a year or two and check it out then.
@petyoiliev3407
@petyoiliev3407 7 дней назад
Welcome to Bulgaria Brent ! Enjoy your stay! Dont miss to try banica and boza 🙂
@allenshepard7992
@allenshepard7992 7 дней назад
1) Read Only Database - Rebuild table and rebuild index. It has helped me, but may not be good for anyone else.
@mortezasafaee6981
@mortezasafaee6981 7 дней назад
Hi brent if is it possible make video for how to think like postgresql...
@gotqn2103
@gotqn2103 7 дней назад
there are a lof of MySQL - MariaDB fans here - be cautious
@yozmosis
@yozmosis 7 дней назад
Come visit Istanbul. Its close enough and you wont regret it. I'll buy ya a drink!
@adrian_b42
@adrian_b42 7 дней назад
So you were in the neighborhood. Welcome, I hope you like it.
@BrentOzarUnlimited
@BrentOzarUnlimited 7 дней назад
Thanks!
@trud811
@trud811 7 дней назад
Just a note about q.1. The Statement "storage is cheap nowadays" may not work in the Azure world. For example, Microsoft charges ~30 USD per 1GB per month for Microsoft Dynamics ERP databases(that is based on SQL Azure), so some indexes may be quite expensive :)
@BrentOzarUnlimited
@BrentOzarUnlimited 7 дней назад
You wouldn't be storing a 1.5TB read-only database in Azure SQL DB.
@picious
@picious 7 дней назад
next stop Thessaloniki Greece??? come for a drink !!! you are welcome !
@BrentOzarUnlimited
@BrentOzarUnlimited 7 дней назад
Thanks for the offer! No plans for Greece this year though.
@dnickbg
@dnickbg 7 дней назад
Oh wow, welcome to Bulgaria, Brent! Hope you have a great stay here!
@BrentOzarUnlimited
@BrentOzarUnlimited 7 дней назад
Thanks!
@burtking4270
@burtking4270 9 дней назад
Read scale - run for the exits. As you said, log shipping is rock solid and read scale failover is a nightmare. Good call, Brent.
@SQLDevDBA
@SQLDevDBA 9 дней назад
“Police!! DROP that Customers table“ never sounded so fun as it does right now.
@worldfromtheair
@worldfromtheair 9 дней назад
If you wanting to use read scale AG with the intent of running reports off them then do choose AGs over log shipping - one of our clients tried log shipping and you have to choose to either give priority to applying the shipped logs (i.e. possibly cutting reports short) or give priority to running reports (potentially blocking the logs being applied when reports leave connections open). Read scale AGs solved this issue
@jtenos
@jtenos 10 дней назад
That’s really interesting. I always assumed the differences were minor, aside from syntax and tooling. I’ve never spent any time learning DBA stuff anywhere other than SQL Server though.
@brock9380
@brock9380 17 часов назад
It depends on what you're looking for and what you need your DBA to do imo. It also depends on if they understand there and differences and are willing to learn the differences between platforms.
@andreafranceschini2400
@andreafranceschini2400 10 дней назад
After 18 years on Oracle and 1 year on MS SQLSERVER I do totally agree😊
@sliwa95
@sliwa95 10 дней назад
Some strange sound issues in this one. AFAIR it was ok in original video
@BrentOzarUnlimited
@BrentOzarUnlimited 10 дней назад
Hmm, working okay here - just not up to our usual livestream quality though.
@Tony-dp1rl
@Tony-dp1rl 12 дней назад
It's like watching someone explain how to tune a steam engine. Skills for sure.
@zalmar5855
@zalmar5855 12 дней назад
I know it's a 4 year old video. You had OPTION (RECOMPILE) in your query, how could the cause for the bad plan be parameter sniffing?
@BrentOzarUnlimited
@BrentOzarUnlimited 12 дней назад
That's a great question - for more details on that, check out our Fundamentals of Parameter Sniffing class: training.brentozar.com/courses/enrolled/1336969
@atozitoj6648
@atozitoj6648 12 дней назад
I humbly request that you make more short videos, please.
@BrentOzarUnlimited
@BrentOzarUnlimited 12 дней назад
We heard ya! We're uploading one a day from now on, sometimes more.
@pabeader1941
@pabeader1941 13 дней назад
Yes they are transferrabke. Most of the common things in query writing are the same. It's only in the interesting stuff that you find different syntax and commands.
@BrentOzarUnlimited
@BrentOzarUnlimited 12 дней назад
In query writing, yes, but this question was about database administration, not query writing.
@marcscirri7493
@marcscirri7493 13 дней назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-g6fqxTPnDd0.html: I have seen this happen when the proc contains a for loop that does a bunch of stuff for each row returned in a previous query. The painting of the execution plan takes forever and in some instances can blow out memory in SSMS. Imagine a loop that runs 5 queries and has to do this for 200 rows.
@BrentOzarUnlimited
@BrentOzarUnlimited 12 дней назад
Absolutely! Totally makes sense, that's a great example.
@carolinewise4888
@carolinewise4888 13 дней назад
Uncanny valley Brent!
@carolinewise4888
@carolinewise4888 13 дней назад
Maybe try using clippy as persona next time?
@LarsBerntropBos
@LarsBerntropBos 13 дней назад
hehe, you mentioned the data loading performance guide just 2 months ago, ap3 11, 3rd answer...
@BrentOzarUnlimited
@BrentOzarUnlimited 13 дней назад
It's surprising how good that advice is, and timeless.
@Tony-dp1rl
@Tony-dp1rl 14 дней назад
Perhaps cut the ones where you find it necessary to criticize the writer of the question next time?
@BrentOzarUnlimited
@BrentOzarUnlimited 13 дней назад
No, those folks do need to hear that kind of answer.
@rebornfenix4412
@rebornfenix4412 13 дней назад
The long time followers come for the salt to season our popcorn
@Bill-et5sk
@Bill-et5sk 14 дней назад
So good I watched it twice.
@legghorn
@legghorn 15 дней назад
Wouldn't it be a good idea just to read the questions? TractorDBA just asked for a good resource. So one may expect that you do know people who are into security
@BrentOzarUnlimited
@BrentOzarUnlimited 15 дней назад
I'm not sure what you mean read the questions - I read the questions out loud, is that what you're asking?
@francisopiyo2332
@francisopiyo2332 15 дней назад
does the postgres dev team you will be joining have a dedicated you tube handle. Something like what sqlbits and pass community do.
@BrentOzarUnlimited
@BrentOzarUnlimited 12 дней назад
Not really - it's not a dedicated team. It's an open source project, so there are people all over the world involved in building Postgres.
@Tony-dp1rl
@Tony-dp1rl 16 дней назад
The sad truth is, the tools are not as good as SSMS. I wish they were, but they are not even close.
@derkami6722
@derkami6722 16 дней назад
damn i saw the short before the whole vid... had a deja vu there
@AaronBuma
@AaronBuma 16 дней назад
Welcome to my neck of the woods! Enjoy the very rainy Junuary!
@BrentOzarUnlimited
@BrentOzarUnlimited 12 дней назад
Thanks!
@rahjar
@rahjar 20 дней назад
I saw the reaction to VFP and died a little.
@BrentOzarUnlimited
@BrentOzarUnlimited 12 дней назад
Listen, if you're still using VFP in the year 2024, there's not much left of you to die...
@rahjar
@rahjar 12 дней назад
@@BrentOzarUnlimited I'm not, but I remember my early times with it fondly, is all.