« first day (4195 days earlier)      last day (680 days later) » 

5:30 AM
@ErikDarling Yes
Morning
 
 
1 hour later…
6:31 AM
Morning
 
 
3 hours later…
9:32 AM
A chairde - Morning all!
 
 
5 hours later…
2:27 PM
@ErikDarling What's the safe deposit box for?
I tried a couple of queries on SO 2013 to get DOP feedback but was not successful
Seems like the main feature of Bob's demo is returning a lot of rows to get high network IO waits
 
Did you get the eligible event to fire?
for me it fired before the sp_statement_end of the first run
 
2:43 PM
@Zikato Nope
But I didn't try very hard
 
@PaulWhite to put valuables in when we travel that we don't want to leave at home. i have a home safe but it's not exactly nailed down.
 
Ah
Must be nice to own valuables
 
well it's not quite an orgy of foreign sports cars but it's also stuff i wouldn't wanna lose
 
The DOP feedback seems wonky. It gets implemented in the middle of the execution and then uses the execution that just finished as a validation
 
DOPey
 
2:54 PM
Nopey
 
cOPey
 
now i'm mopey
 
We can only hopey it improves for RTM
Prayer might help but maybe none of us is popey enough for that
 
hoowee
game over
 
@Zikato I forget the details, but isn't that expected? Reduce DOP without recompiling and validate based on outcome
That's what I vaguely recall anyway
 
3:01 PM
My experience with DOP Feedback testing so far
user image
2
@PaulWhite Yes. I was wrong, anyway - I've looked at a different row's timestamp
I got the feedback after 14 executions which was reverted after a single one. Now 50 more executions - nothing.
 
I find it hard to get motivated about DOP feedback
P sure it will turn out to be useful in practice
Just maybe not for me or anything I encounter regularly
 
Yeah, I'll leave it to Erik. He has a monopoly on 2022 blog posts anyway
SQL Server 2022 even
 
He writes 2022 posts a day
 
Ain't Nobody Got Time for That
 
You've forgotten the up arrow shortcut already?
I don't know how he does it really
😎
 
3:06 PM
I never forget. But sometimes I don't recall in a timely manner
 
@PaulWhite i don't know why i bother
 
@ErikDarling They're often very good
One might choose to view it is largely altruistic with the odd side benefit of attracting a new client via an unclear mechanism
Nobody knows how anything works
 
@PaulWhite well yeah, i just don't know how effective they are. it seems most of my work is referral based.
 
@ErikDarling I refer to you all the time. And I know at least one person that bought your course
Even though those two events are unrelated, I expect a pay cut.
 
3:19 PM
you can cut your pay by whatever you choose, that's between you and yours.
 
ESL strikes again
 
Indeed :(
 
English is stupid
 
still it's closest to a common global language
 
sounds awful
 
3:24 PM
even within people who speak english, things are dicey
or dicey as
 
When I ask a generic question in my native language, I have a pool of ~10M people that could potentially answer it. With English, it's billions.
 
@ErikDarling 4u
@Zikato I wonder if the odds of a rapid, but incorrect, answer are higher in English
Depends where you ask I guess
 
I wonder how many poorly asked questions on SO are due to ESL problems.
 
No disinformation has ever been spread in this room, for example
@Zikato From my perspective, it is a high proportion on this site anyway
Who knows whether it is causation or correlation tho
variable is a reasonable example. When properly explained, many of his questions are deeper than a brief read of the original conveys
 
I have a blog post about the SQL terminology for ESL in my to-do queue. But it's tough to write, and sometimes I'm not sure about the definitions myself
 
3:30 PM
akina is another. Very smart dude, poor English.
 
for example I still don't know what an enclave is
 
at least you know they're secure!
 
not really. My first exposure to that word was in Fallout 2 - Navarro Enclave. Right after the tutorial I've sneaked in there and stole a Power Armor
 
can you try that again in english
 
czech your privilege
 
3:43 PM
https://fallout.fandom.com/wiki/Navarro_underground
Oh, the Enclave was the name of the faction
 
crimea river
 
Erik - The famous Twitch streamer doesn't know Fallout?
 
i've never played it
 
potential consequences too high
 
So just Street Fighter 2 and Modern Warfare?
 
3:47 PM
i used to play tf2 quite a bit
i started playing COD during lockdown v1 out of boredom
 
nice
 
4:10 PM
eh i guess
problem is three years on i'm still terrible at it
 
4:21 PM
6
Q: What can I add to an Extended Event to return correct row_counts?

SiyualI'm running an Extended Event session in SQL Server 2017 that's only recording module_end events for a specific database. The reason for this trace is two-fold: I'm wanting to see the frequency (or lack-thereof) for which a stored procedure has been called. I'm trying to get some specifics for ...

peculiar
 
yeah i can't
extended events are such a weird time
 
My first guess is a timing issue, where things get slowed down by the extra profiler data
 
is that really the max length replica name?
 
4:38 PM
@PaulWhite Yeah, how can the Profiler (which was discontinued in 2008 IIRC) affect XE?
 
what's the max length of a varbinary 64 value?
 
@Zikato How did you repro given the example in the question returns 1 row, then zero rows twice?
@ErikDarling wat
 
I've added an extra statement that always returns 3 rows (just to see if it works). The last execution is a Service Broker activation procedure
 
@Zikato ok but what is the statement that returns three rows
 
@PaulWhite most of the ones i find for sql handles are around 90 bytes in length
 
4:45 PM
oh that
 
SELECT LEN('0x02000000806DDE029715566FF9A70ECCE81CEE68F7A000FC0000000000000000000000000000000000000000')
but i'm willing to go longer to avoid odd errors
128? 256?
1024?!
 
@PaulWhite Just a select from values (1) (2) (3)
 
@ErikDarling You're measuring the length of a string there
A binary digit requires two characters
SELECT DATALENGTH(0x02000000806DDE029715566FF9A70ECCE81CEE68F7A000FC0000000000000000000000000000000000000000)
So, as a (non-Unicode) string with a 0x prefix, the answer is 130.
Two for each byte (e.g. FE) x 64 = 128 plus two for the 0x.
@ErikDarling But why are you treating binary as strings?
 
5:03 PM
good question
i'm adding functionality to quickiestore to search for plan/query hashes and sql/plan handles, because that's often stuff you can get from other sources
so they could pass in something like 'hash1, hash2' etc
and i don't want my string splitter to suffer any conversion issues
i also want one base splitter to use so it has to be binary(8) and varbinary(64) agnostic
 
convert it all to bigint and then you can match the XE as well
 
no
why would i do that for a proc that's searching query store
 
add some regex too
 
good idea!
I'll send over the assembly
 
HtH
 
5:08 PM
reginald extein didn't ^kill himself$
 
that's a bit of a stretch
 
says the guy who wants me to convert hashes to bigints and call xe from a stored procedure that searches query store
 
might have been a going to jail joke
bit of a stretch
hard to know in English
@ErikDarling ok well varchar(130) would be sufficient then
 
@ErikDarling I don't want to call XE from a stored procedure. I usually find problems in XE first and go to QS for more data.
 
@PaulWhite thx4u
 
5:12 PM
you are doing conversion anyway, might as well pick the common type
 
in which version did the bigint bug get fixed?
you know, the unsigned thing
 
@Zikato if you would like to contribute that code you are welcome to
@PaulWhite 2016 sp something cu something
iirc
 
fairly recent then
 
12
Q: SQL Server Query Plan XML: QueryPlanHash Length

Erik DarlingThis is definitely a bug. Details were on the old Connect site, and are no longer available, as it has been retired in favor of an indeterminate number of other solutions, both third and first party. While testing some changes to sp_BlitzCache (full disclosure, I'm one of the authors), I came acr...

 
mind you, QS itself hasn't been around all that long
 
5:14 PM
i thought i had a note in that q&a about when it was fixed
hrm
 
all a massive PITA anyway
 
well
 
though I was referring to when they introduced unsigned_query_hash
 
13.0.4001 is sp1
 
There is still some bug in 2019. Let me find it
 
5:16 PM
developer who does things right wants me to do a conversion prone to bugs
get a load of this guy
 
missed an OPportunity there
 
> Nope, I don't have a repro. Just from a live environment where there is a lot of stuff going on.
 
sounds about right
 
@Zikato Did you ever get anywhere with Erin on that?
 
5:19 PM
nope. No repro, no help
 
You know who's responsible for all these bugs?
Developers.
 
hey hey hey leave the summer interns alone
 
no
they wrote generate_series
 
steve_ballmer.gif
 
5:23 PM
 
@ErikDarling oh man, I saw the answer to that and said: wtf do we have a new mod? @PaulWhite
but it is a staff member, not a mod diamond
 
@ypercubeᵀᴹ relatively recent staff member
 
they're giving diamonds out with cereal now
Mr & Mrs Staff Member
 
does it also show your mood?
 
hm never thought about that before
explains why it's blue perhaps
 
5:26 PM
like the yaz song
 
the only way is up?
 
mr. blue
 
oh yazoo
 
does anyone actually call them yazoo?
 
5:42 PM
apparently
 
far too formal for me
 
important to do things right, I hear
 
6:35 PM
Hard to get experience with that
 
what benefit is there in having experience if you already do things right
3
 
7:35 PM
well you get to show off for one
 

« first day (4195 days earlier)      last day (680 days later) »