Shane O'Neill Profile
Shane O'Neill

@SOZDBA

Followers
1K
Following
20K
Media
1K
Statuses
10K

He/Him. DBA. Automation. Food, Coffee, Whiskey (not necessarily in that order)... @[email protected]

Ireland
Joined February 2009
Don't wanna be here? Send us removal request.
@SOZDBA
Shane O'Neill
2 years
Hopping back on here to say:.@MattMcgiffen . TDE. thank you πŸ™.
1
0
1
@grok
Grok
5 hours
Join millions who have switched to Grok.
20
27
293
@SOZDBA
Shane O'Neill
2 years
Based on the number of connection requests I received today and yesterday, I assume people are talking during the PASS Summit. I can only say thank you; the stories are grossly overestimated in my favour.
0
0
8
@SOZDBA
Shane O'Neill
2 years
First #blog back in a while - to do with #PowerShell and Read-Host .
0
0
4
@SOZDBA
Shane O'Neill
2 years
Happy Birthday @SQLSeeker77 !.
1
0
4
@SOZDBA
Shane O'Neill
2 years
I've decided to highlight blog posts that have helped me out when they help me out. Rather than just read, action, then forget. So thank you @Kendra_Little for your post on "NO_PLAN and NO_INDEX: Breaking a Forced Query Store Plan". #SQLServer.
kendralittle.com
Whenever you’ve got a new feature, one of the first things to ask is, β€œWhat happens when I break it?” Because we’re going to break stuff.
0
0
3
@SOZDBA
Shane O'Neill
2 years
Thanks to all at #DataCeili. Sorry, I have to head off early, but I'm looking forward to catching up with you all again!.
0
0
2
@SOZDBA
Shane O'Neill
2 years
πŸ™ŒπŸ™Œ.
@sqldbawithbeard
Rob He/Him - Not here
2 years
Dbatools FTW with replication.@sql_williamd #dataceili
Tweet media one
0
0
2
@SOZDBA
Shane O'Neill
2 years
Getting ready for CI/CD at #dataceili with @kevchant & @SQLStad
Tweet media one
0
0
5
@SOZDBA
Shane O'Neill
2 years
Now, to check out #Fabric at #DataCeili
Tweet media one
1
0
3
@SOZDBA
Shane O'Neill
2 years
#dataceili kicking off with Partitioning
Tweet media one
0
0
5
@SOZDBA
Shane O'Neill
2 years
Hey! I know this guy!
Tweet media one
1
0
0
@SOZDBA
Shane O'Neill
2 years
Final trick, and thanks to those that responded, I now know more than before. I can only replicate this with these conditions:.1. FULL optimization.2. Range comparison on 1 of the columns,.3. Partitioned table (Yes, I was sneaky and didn't mention this).
0
0
0
@SOZDBA
Shane O'Neill
2 years
Not sure if this is a hint, but the issue is only present when the query goes through Full Optimization. When it's Trivial Optimization, no missing index shows, and the query uses the index fine. That's why I had to add .AND (SELECT 1) = (SELECT 1);.to the WHERE clause.
1
0
0
@SOZDBA
Shane O'Neill
2 years
@SOZDBA
Shane O'Neill
2 years
cc @jodouglass πŸ˜‡.
1
0
1
@SOZDBA
Shane O'Neill
2 years
cc @jodouglass πŸ˜‡.
@SOZDBA
Shane O'Neill
2 years
@PAH66 Thankfully it's a small enough index that I can try all the different orderings. All of them lead to the same "use this index" and all the recommended indexes come back as the same column1-created_date-column2 order. So, index column order doesn't seem to matter so far
Tweet media one
0
0
0
@SOZDBA
Shane O'Neill
2 years
#SQLServer challenge for anyone who likes figuring things out. I've created the index it asked me to. Run the query again, and it suggests the same index.**even though it uses it**. I can replicate but I can't figure out why. Anyone want to try to replicate it? πŸ˜‡πŸ˜ˆ
Tweet media one
5
1
2