OsirisDBA (@OsirisDBA) header
OsirisDBA (@OsirisDBA) profile picture

SQL Server DBA, Powershell aficionado @osiris687@dataplatform.social

Washington, IL
Joined October 2018
Photo by OsirisDBA (@OsirisDBA)Photo by OsirisDBA (@OsirisDBA)Photo by OsirisDBA (@OsirisDBA)Photo by OsirisDBA (@OsirisDBA)Photo by OsirisDBA (@OsirisDBA)Photo by OsirisDBA (@OsirisDBA)Photo by OsirisDBA (@OsirisDBA)Photo by OsirisDBA (@OsirisDBA)Photo by OsirisDBA (@OsirisDBA)Photo by OsirisDBA (@OsirisDBA)
#sqlfamily I'm abandoning the bird. You can find me in the #Fediverse on #Mastodon at @[email protected]
1
1
What is the unit testing framework you utilize for #sqlserver code? #sqlfamily
1
82
Ran into an interesting deadlock issue with #sqlserver 2016. A high insert table was using an identity column as the primary and clustering key. We'd frequently get 2 inserts deadlocking each other. 1/?
1
I traced it back to how #SQLServer was getting the next identity value. The solution was to convert the identity column to use a sequence with a default value constraint. How that could be more efficient, I haven't a clue but it worked and was only a metadata operation. 2/2
1
Wordle 321 5/6 ⬛⬛🟨⬛🟩 ⬛⬛⬛⬛⬛ ⬛⬛⬛⬛⬛ ⬛🟩⬛🟩🟩 🟩🟩🟩🟩🟩
While I do believe, I don't believe in forcing it in others. So in most ways I agree with her
Ugh, so how much help do u offer when a good friend (who ended up becoming his new company's dba by default because you instilled good practices in him when he was your dev) has a massive issue without a simple fix? 1/? #sqlfamily
1
10 years.... That's how long I managed to avoid using an index hint in production. But a total drop of 50% CPU usage on the server forced my hand #SQLServer
2
2
Oh and to add insult to injury. It was a code fix to add the hint so in the mean time I had to use plan guides.... *Shudder*
A #ChristmasFail for @potterybarn . Take your business elsewhere.
Do not order from @potterybarn they don't appear to care one bit about customer service. Let me tell you of the absolutely unacceptable and tone-deaf response my wife just got. #BadService #brokenpromises #christmas #fail 1/?
What are some of your pet peeves that you come across when working with inherited database designs. I'll go first: Inconsistent naming conventions & Identity columns just named ID #sqlserver #dbaproblems #petpeeves
1
And another, misspelled words in object names that were never corrected
What does everyone put into their utility databases? #sqlhelp
1
Pet peeve: I wish #sqlserver developer edition had a setting to make it act like standard edition. Or are there trace flags to disable some of the optimizations only available in enterprise edition?
2
1
8
I'm trying to write a query to return table metadata. Just basic info such as column name, type, constraints, etc. But this seems rather complex. Anyone know a simpler way? #SQLHelp gist.github.com/OsirisDBA/d7…
4
Had to try to explain parameter sniffing to the owners of the company today. Less than a month on the job, first time meeting them and I'm sitting at my desk in a plain black t-shirt.
To @TwitterSupport policy violation still here.
My decision not to get vaccinated does not affect anyone else’s health. Full stop. The #ScaredVaccinated are dividing our communities and the country.
#sqlhelp If you're using @datadoghq to monitor #sqlserver. I'd love to chat. I've got some questions about missing metrics which I'm expecting to appear but don't.
2
2
I did solve my problem but I'd still like to chat
Replying to @datadoghq
@datadoghq I'd like to pull SQL Server Audit logs and/or extended events into datadog as a log source.
Jan 2020 I received an offer from a consulting company. My company matched and I decided to stay. Fast forward to today and I've received an offer I couldn't turn down as a direct hire. Guess what consulting company is replacing my services? Funny how that worked out. #sqlfamily
1
2
#sqlhelp I've got some log shipping secondaries owned by a user leaving the company. I'd like to update the ownership of the databases but cannot do so since they're restoring. Is there any known way to do so?
1