TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Modern SQL

83 pointsby giladalmost 4 years ago

8 comments

gordon_freemanalmost 4 years ago
If anyone is interested, Winand&#x27;s book &quot;SQL Performance Explained&quot; [1] really goes deep into understanding and optimizing SQL queries and improving performance of SQL queries.<p>[1] <a href="https:&#x2F;&#x2F;sql-performance-explained.com&#x2F;?utm_source=winand.at&amp;utm_campaign=for-developers&amp;utm_medium=web&amp;utm_content=sql-performance-explained" rel="nofollow">https:&#x2F;&#x2F;sql-performance-explained.com&#x2F;?utm_source=winand.at&amp;...</a>
评论 #28172254 未加载
评论 #28177929 未加载
MarkusWinandalmost 4 years ago
See also: <a href="https:&#x2F;&#x2F;winand.at&#x2F;conferences&#x2F;past" rel="nofollow">https:&#x2F;&#x2F;winand.at&#x2F;conferences&#x2F;past</a><p>Includes an updates version of the first slideset: <a href="https:&#x2F;&#x2F;modern-sql.com&#x2F;slides&#x2F;ModernSQL-2019-05-30.pdf" rel="nofollow">https:&#x2F;&#x2F;modern-sql.com&#x2F;slides&#x2F;ModernSQL-2019-05-30.pdf</a>
simonwalmost 4 years ago
Markus&#x27;s site <a href="https:&#x2F;&#x2F;modern-sql.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;modern-sql.com&#x2F;</a> is fantastic, I&#x27;ve learned a ton of useful tricks from it.
xdfgh1112almost 4 years ago
This seems out of date (2015?) Unless I am missing something.
评论 #28172439 未加载
simonwalmost 4 years ago
I recently found out that SQLite added support for FILTER aggregate clauses in version 3.30.0, released 2019-10-04: <a href="https:&#x2F;&#x2F;til.simonwillison.net&#x2F;sqlite&#x2F;sqlite-aggregate-filter-clauses" rel="nofollow">https:&#x2F;&#x2F;til.simonwillison.net&#x2F;sqlite&#x2F;sqlite-aggregate-filter...</a>
trevealmost 4 years ago
Is all the javascript broken? I can&#x27;t move to the next slide, but the premise seems interesting.
bradfordalmost 4 years ago
Great post: I found the problem&#x2F;solution approach super helpful. I&#x27;ve used some of the more recent features, but have missed grouping sets, recursive CTEs, and MATCH_RECOGNIZE. hope to put these in application someday.
Eikonalmost 4 years ago
I really don&#x27;t like this whole &quot;OFFSET&quot; kills performance thing that you see everywhere because it&#x27;s only relevant for huge sets, think millions of rows.<p>And then, there&#x27;s a reason why people are using offsets, cursors are usually not a good alternative and the after_id pattern is not flexible and don&#x27;t allow to go to a random page number...<p>But still, some people are preaching for alternatives that are not actually solving the same problem as offsets.
评论 #28172750 未加载