News for hackers. Stuff that matters.
Re:The Internals of PostgreSQL by erhserhdfd on Thursday February 17, 2022 @10:01AM (#30373758)
"If you work at Amazon, you cannot use and refer to this document because of the copyright violation issues." --> This is really interesting. Does anyone know the background on this? Has anyone else seen this someplace else?
Re:The Internals of PostgreSQL by billiam on Thursday February 17, 2022 @11:12AM (#30374673)
sounds like he is pretty pissed at Amazon selling counterfeit versions of some of his 7 books. And he should be.
Re:The Internals of PostgreSQL by collegeburner on Thursday February 17, 2022 @12:21PM (#30375850)
Maybe to do with amazon implementing postgres compatibility in aurora? Reading this could leave an argument that it's not a "clean-room" implementation and is a license violation.
Re:The Internals of PostgreSQL by paulryanrogers on Thursday February 17, 2022 @01:51PM (#30377026)
Pg's license is like BSD/MIT. So long as they provide attribution why would they bother trying to do a clean room reimplementation?
Re:The Internals of PostgreSQL by alberth on Thursday February 17, 2022 @02:37PM (#30377628)
You might be confusing what a license agreement is vs what copyright assignment is.
Re:The Internals of PostgreSQL by detaro on Thursday February 17, 2022 @02:39PM (#30377648)
doesn't sound like it.
Re:The Internals of PostgreSQL by jtc331 on Thursday February 17, 2022 @01:59PM (#30377124)
Aurora isn’t a reimplementation anyway, it’s a fork with the storage layer replaced.
Re:The Internals of PostgreSQL by dikei on Thursday February 17, 2022 @08:47PM (#30381234)
Depending on the database, changing the storage layer might require changing almost everything: the query planner, optimizer and executioner intrinsically need to know how storage works to make queries efficient.
Re:The Internals of PostgreSQL by jtc331 on Friday February 25, 2022 @07:48AM (#30466697)
Aurora most definitely does not do that for Postgres. Postgres’s storage layer is separate enough that this is quite possible.

Edit: maybe the confusion here is about what “storage layer” means here. The physical row encoding is still the same. What’s different in Aurora (there are white papers on this) is how the WAL records get applied directly to encoding aware distributed as opposed to separately syncing the heap storage to disk.

Re:The Internals of PostgreSQL by Bilal_io on Thursday February 17, 2022 @08:22PM (#30381087)
I believe it's the same case for anyone that contributes to Wine. I remember a recent case, some old Windows source code was leaked and there was a discussion around this policy.
Re:The Internals of PostgreSQL by password4321 on Thursday February 17, 2022 @12:21PM (#30375835)
As recommended by multiple users last week: https://news.ycombinator.com/item?id=30279986#30281910

> I cannot recommend https://www.interdb.jp/pg/ enough, an excellent text with lots of details

Re:The Internals of PostgreSQL by me_me_mu_mu on Thursday February 17, 2022 @12:55PM (#30376307)
Every time this gets posted I go there and learn 1 new thing.

At this rate, I think in a few years I will have learned so much.

Re:The Internals of PostgreSQL by throwamon on Thursday February 17, 2022 @01:34PM (#30376786)
This may be a good place to ask: Are there any books that are something like "the SICP/HtDP of databases", in the sense of teaching fundamentals in a principled, mind-expanding way? Something that doesn't focus so much on internals, but on how to design and deal with data models and databases.
Re:The Internals of PostgreSQL by comonoid on Thursday February 17, 2022 @01:45PM (#30376947)
Alex Petrov's "Database Internals", perhaps. I know nothing better... https://www.databass.dev/
Re:The Internals of PostgreSQL by fmeyer on Thursday February 17, 2022 @01:56PM (#30377096)
Silberschatz’s Database System Concepts is a good starting point
Re:The Internals of PostgreSQL by javajosh on Thursday February 17, 2022 @08:54PM (#30381271)
It's funny but I think I learned about relational database theory (normal forms and such) from the early chapters and/or appendices of thick computer books written about products like Delphi, FoxPro, and MS Access. The data-modeling knowledge scaled up really well to stand alone database servers of various kinds! It's too bad there isn't something similar for new learners, some in-the-browser environment they could enter to try out their nascent SQL skillz. Ideally something with a big thick paper book, too! (The book is a shibboleth representing stability of API and seriousness of purpose, which are too-rare qualities in today's software products.)
Re:The Internals of PostgreSQL by throwaway81523 on Saturday February 19, 2022 @04:17AM (#30395624)
I found the sqlite3 implementation docs to be very educational, particularly the ones about the query planner.
Re:The Internals of PostgreSQL by cosmical65 on Thursday February 17, 2022 @03:19PM (#30378120)
Would be awesome to have an EPUB version of this. The scaling on the website is really weird for me.
Re:The Internals of PostgreSQL by almost on Thursday February 17, 2022 @04:48PM (#30379132)
I would love this as well. Finding it really hard to read with everything so wide. But the book does look good!