« first day (4231 days earlier)      last day (638 days later) » 

6:01 AM
Morning
Mama, I've merged it
 
6:22 AM
what changed?
 
6:35 AM
This sentence was added: Changes the recompilation thresholds for temporary tables, and makes them identical to those for permanent tables.
 
?
 
sql server is terrible at indexed views
 
yup
SELECT * FROM sys.messages AS m
WHERE m.language_id = 1033 AND m.[text] LIKE '%index%view%'
I thought that the asshole.sql was related to my previous comment
 
no, there are no temp tables in that one. heh.
 
6:52 AM
I think natively compiled procedures are even worse than Indexed Views
 
sure, but all of imoltp is disappointing
 
7:49 AM
@Charlieface updated, thanks
 
8:07 AM
interesting, psp kicks in for sp_prepare
 
 
6 hours later…
2:10 PM
@ErikDarling Just use a normal join dbfiddle.uk/…
I understand the restrictions, due to the way index maintenance works. The only one I'm bothered about is the inability to use a LEFT JOIN when the right side is pre-aggregated, as it should be possible to do delta updates in that case.
Actually just realized why it doesn't work for you, because Votes needs aggregation and Posts also does.
 
> Alternatively, consider not indexing this view.
That's a helpful error message.
Since, you know, you can't index it.
 
Something to consider
 
2:30 PM
Microsoft (and others) did all the research work to make outer join indexed views possible, and even indexed views on indexed views. It hasn't made it to the final product so far.
Of course, it's one thing to make the thing work in isolation.
Efficiently matching indexed views to arbitrary query trees is harder to do efficiently beyond simple inner joins (and that matching is already p darn clever).
 
Have you tried doing SELECT * FROM x.yyy_backup after the message that the table was created? Generally speaking database management systems don't lie; it sure looks like it created the table. — Hannah Vernon ♦ 1 min ago
having said that, it is MySQL so who knows. Maybe it is lying.
 
MySQL doesn't always lie. Sometimes it just genuinely hasn't a clue.
7
 
 
2 hours later…
4:29 PM
I wonder how long it's been since the queues were empty.
 
Huh. Did someone issue a TRUNCATE TABLE?
 
if only it were that easy lol
 
Oh you did it.
 
Well done
 
4:37 PM
it took me three days
not the quickest of girls, I guess. That's a good thing though right.
 
heh, Reopen queue has 1 item. Someone went and edited a question you'd just closed
following your advice
Without knowing anything about how those backups are taken it's pretty well impossible to provide an accurate answer. In short, you'll need to edit your question to provide more detail. — Hannah Vernon ♦ 23 mins ago
 
5:09 PM
@PaulWhite A regular LEFT JOIN is difficult, as it requires a check in the delta deletes as to whether there are any other rows for the left table, otherwise it needs to null out instead of deleting, and delta inserts likewise need to delete the null row. A grouped join is much easier, as there is only ever one row or none from the right table per row in the left table.
 
5:31 PM
Yes I know how it works 😉
 
5:42 PM
Are you sure?
4
 
@ypercubeᵀᴹ that's a win, for sure.
 
So what has everyone been up to
Anyone else having a great weekend
 
6:08 PM
@JoshDarnell can anyone ever actually be sure of anything?
 
It's their usual way to provoke me into writing about something
 
@PaulWhite 😘
 
👆
 

« first day (4231 days earlier)      last day (638 days later) »