Тёмный

Bet Against SQL: Queries as Code by James Cowling & Sujay Jayakar 

TigerBeetle
Подписаться 5 тыс.
Просмотров 4,4 тыс.
50% 1

Наука

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@keokawasaki7833
@keokawasaki7833 11 дней назад
The intro theme doesn't need to go this hard
@abhijithmadhav3513
@abhijithmadhav3513 11 дней назад
😂 true that
@hungrymusicwolf
@hungrymusicwolf 11 дней назад
But damn is it worth.
@weeb3277
@weeb3277 11 дней назад
harder
@NostraDavid2
@NostraDavid2 11 дней назад
RE: Andy Pavlo Carnegie Mellon University has an _excellent_ freely available database course, presented by Andy BTW. "CMU Intro to Database Systems", here on YT.
@NostraDavid2
@NostraDavid2 11 дней назад
I can't have you disrespecting The Coddfather (E. F. Codd) like that! The Relational Model was invented in 1969 (nice!) in a paper called "Derivability, Redundancy, and Consistency of Relations Stored in Large Data Banks", and took off in the second paper called "A Relational Model of Data for Large Shared Data Banks" in 1970. He also designed ALPHA in his paper "ALPHA: A Data Base Sublanguage Founded on the Relational Calculus", an unimplemented language that was based on Relational Calculus that could've been used to query data, instead of SQL, but alas. Oracle took SQL as basis and IBM had to follow suit if not to lose market share to Oracle, as the Relational Model was VASTLY superior to existing data types (trees and networks) that were being abused as databases - they were not even official models yet - The Relational Model predates whatever models IMS and IDS later on generated. There. Now I'm much more content.
@NostraDavid2
@NostraDavid2 11 дней назад
If you wish to check out all his papers (ordered in release date): thaumatorium dot com/articles/the-papers-of-ef-the-coddfather-codd/
@NostraDavid2
@NostraDavid2 11 дней назад
No ads, nor tracking on Thaumatorium BTW.
@JamesCowling
@JamesCowling 10 дней назад
You won't find us taking Codd's name in vain over here! As far as abstractions go the RDBMS is one of the all-time greats. Transactions, relations, type safety and consistency are evergreen and will hopefully long outlive SQL.
@trejohnson7677
@trejohnson7677 11 дней назад
this truly conveys that idea that databases are literally just shared space.
@kellymoses8566
@kellymoses8566 11 дней назад
Datalog is a fantastic query language.
@YuFanLou
@YuFanLou 4 дня назад
10:59 I think SQL being a *query* language, it is maybe unfair to start off judging it with “hard to express application *behavior*”. It’s like judging a cake for not being savory. The fact that so many have been abusing SQL, which is designed to query for current time snapshot, to write time-varying behavior instead, is a testament to how good an abstraction it is at querying that it forces systems around it to conform to its shape.
@YuFanLou
@YuFanLou 4 дня назад
24:12 The point about performance predictability is cool, but this code example really does not show any superiority over SQL other than integrating with host language error reporting. The point is supposed to be something better than conversational transaction, but then it goes off into side effect management. Where is the demo for rolling back?
@NostraDavid2
@NostraDavid2 11 дней назад
Current Relational Databases also completely ignore the concept of a sharable Domain; some DBs have them, but nobody is using them or teaching them either. For simplicity's sake think of a Domain as a datatype with extra constraints (either a subselection of specific values, or perhaps a range), that can be shared between columns (Column A from table X can have the same domain as column B from table Y).
@TapetBart
@TapetBart 8 дней назад
Clickhouse has something called Domains. I wonder kf that is the same.
@NostraDavid2
@NostraDavid2 11 дней назад
SQL is indeed a terrible language. I hope that in the next Stack Overflow Survey they'll introduce a separate "Query Language" question, instead of slapping SQL between regular programming languages. BTW, it's terrible because a Relational Query Language should ALWAYS return a Relation (a set of tuples), but SQL can return a table, a row, a column or a cell, which is kind of awful.
@YuFanLou
@YuFanLou 4 дня назад
but all of table, row, column, cell are indeed relations! lol I’ve come to accept that pragmatic QoL is a valid trade-off against conceptual simplicity speaking of relational language been looking at Alloy, albeit for modeling not querying
@kellymoses8566
@kellymoses8566 11 дней назад
Git is a example of terrible abstractions.
@mattmurphy7030
@mattmurphy7030 11 дней назад
Explain?
@r.g.thesecond
@r.g.thesecond 10 дней назад
@@mattmurphy7030 Well, perhaps the Git CLI. Its verbs don't help at all until you learn the underlying structure and use gitk a couple of times.
Далее
Systems Resurgent? by Amod Malviya
35:41
Просмотров 1 тыс.
AI can't cross this line and we don't know why.
24:07
Просмотров 326 тыс.
Databases are the endgame for data-oriented design
20:31
I tried Swift and came out a different person
1:56:59
Просмотров 62 тыс.
Dependency Injection | Prime Reacts
28:34
Просмотров 328 тыс.
An Optimization That Is Impossible In Rust
37:45
Просмотров 100 тыс.
Вредно ли не выключать ПК?
0:43
Просмотров 218 тыс.
Как вам iPhone 16? 😅
0:50
Просмотров 181 тыс.
PlayStation 5 Pro Console - Reveal Trailer
1:05
Просмотров 2,3 млн
iPhone 16 для НИЩЕБРОДОВ!
0:51
Просмотров 6 млн