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.

At 22 years old, Postgres might just be the most advanced database yet

314 pointsby max_sendfeldover 6 years ago

14 comments

kev009over 6 years ago
I'm a big fan of Postgres and it is basically the only DB I use but the title is naive and the post is low content. SQL Server, Oracle, and DB2 are crown jewels products and each have substantial and difficult to implement niche or extreme scale features or other sweet spots that no open source databases come close to after two decades, and they weren't sitting still during that time either.
评论 #18612213 未加载
评论 #18611891 未加载
评论 #18611672 未加载
评论 #18611683 未加载
blattimwindover 6 years ago
I&#x27;ve recently used T-SQL &#x2F; MSSQL and was surprised how starkly it differs from your typical &quot;foss sql&quot; (be it postgres, sqlite or mysql).<p>One really obvious example is how [] are used for qualifying names, or how there is no LIMIT clause (instead you use SELECT TOP(n), but you still use an OFFSET n ROWS clause after the ORDER BY clause for an OFFSET; there is also OFFSET n ROWS FETCH NEXT m ROWS ONLY). Another example are curious limits to programmability, e.g. TEXT can&#x27;t be used for procedure parameters. There also seem to be small limits on BLOBs. No NATURAL JOIN (which I mostly use for ad-hoc queries).<p>It is also very different deployment wise (as are all Microsoft products). You don&#x27;t have a client library or anything like that, but a system-wide database driver instead. Applications use a driver interface and could (most don&#x27;t) support other database versions or even databases. You can&#x27;t &quot;just&quot; throw a MS SQL install on a machine, it needs to be properly installed system-wide and register all its components or it won&#x27;t work properly etc. — so spinning an instance up for testing really isn&#x27;t nearly as easy as with postgres.
评论 #18611719 未加载
评论 #18611844 未加载
评论 #18612026 未加载
评论 #18611852 未加载
评论 #18611697 未加载
评论 #18611676 未加载
评论 #18611769 未加载
ernst_klimover 6 years ago
I&#x27;ve dived into the postgres code recently and it was incredible. Lisp legacy is all over the place, it&#x27;s literally lisp in C, though unlike many &quot;Langname-styled C&quot; codebases it looks really clean and organic.<p>I&#x27;m still confused how people prefer oracle [1] other postgres.<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18442941" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18442941</a>
评论 #18611550 未加载
评论 #18611451 未加载
评论 #18611240 未加载
评论 #18611375 未加载
评论 #18611300 未加载
评论 #18611603 未加载
评论 #18611318 未加载
评论 #18611343 未加载
评论 #18612483 未加载
评论 #18611440 未加载
评论 #18611290 未加载
atonseover 6 years ago
Thanks to these engines and extensions, Postgres has become that rare tool for me where I have to ask &quot;why use ___ instead of Postgres?&quot;<p>If they got their clustering story to be as easy as MongoDB&#x27;s was 5 years ago (From what I read, Citus does this well), it&#x27;s yet another excuse to stick with it.
评论 #18611357 未加载
评论 #18611515 未加载
评论 #18611539 未加载
评论 #18611078 未加载
评论 #18611350 未加载
评论 #18611666 未加载
paulryanrogersover 6 years ago
While indeed advanced I find it&#x27;s focus on reliably and ACID are more useful than triggers or extensions. Triggers increase write load and extensions aren&#x27;t available on all hosting services. Replication, interchangable storage, and standard SQL&#x2F;PL support are getting better, but still lag competitors like MySQL.
评论 #18611152 未加载
gt565kover 6 years ago
I&#x27;d like to see support for computed&#x2F;derived columns with options to be materialized or non-materialized.<p>I guess that&#x27;s coming in version 12 after a few google searches.
siquickover 6 years ago
Started using PG recently at a new job but can&#x27;t really see any benefit over MySQL. What am I missing?
评论 #18614689 未加载
评论 #18612851 未加载
评论 #18616253 未加载
srousseyover 6 years ago
The title should include “free” before database, and it’s generally true.<p>But the article doesn’t really delve into anything advanced at all. Triggers? Please.
tonysdgover 6 years ago
A fun article about PostgreSQL and fsync():<p>&quot;PostgreSQL&#x27;s fsync() surprise&quot;<p><a href="https:&#x2F;&#x2F;lwn.net&#x2F;Articles&#x2F;752063&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lwn.net&#x2F;Articles&#x2F;752063&#x2F;</a>
rubyn00bieover 6 years ago
Anyone else getting a bad certificate when visiting in Firefox?
评论 #18611108 未加载
评论 #18611081 未加载
luordover 6 years ago
The article doesn&#x27;t have anything I didn&#x27;t know about or new but yet another reminder of how postgres is, IMO, the best piece of sw ever created is nice.
thedanglerover 6 years ago
I started using Postgresql a long time ago when I tried to do a sub query in MySQL and it didn&#x27;t support sub queries. Haven&#x27;t looked back since.
评论 #18611814 未加载
NedIsakoffover 6 years ago
One word: Exadata..
CyanLite2over 6 years ago
Postgres doesn&#x27;t come close to the enterprise-level features AND support as that of Oracle or SQL Server.
评论 #18611062 未加载
评论 #18611088 未加载
评论 #18611125 未加载
评论 #18611211 未加载