News for hackers. Stuff that matters.
Re:Jepsen Disputes MongoDB's Data Consistency Claims by 1123581321 on Saturday May 23, 2020 @04:59PM (#23286383)
As someone who chose MySQL and provides direction to developers who really like Postgres, and who also uses Postgres for fun, I do find myself having to both defend MySQL as a prudent option and convince them that I know anything at all about Postgres or computer science. :)
Re:Jepsen Disputes MongoDB's Data Consistency Claims by ForHackernews on Saturday May 23, 2020 @05:20PM (#23286568)
I've heard MySQL (well, MariaDB, really) has improved a lot in recent years, but I still can't imagine why I'd ever choose it over Postgres for a professional project. Is there any reason?

It used to be that bargain basement shared-hosting providers would only give you a LAMP stack, so it was MySQL or nothing. But if you're on RDS, Postgres every time for my money.

Re:Jepsen Disputes MongoDB's Data Consistency Claims by VWWHFSfQ on Saturday May 23, 2020 @05:49PM (#23286833)
mysql's admin tools are still far superior than what's available for postgres
Re:Jepsen Disputes MongoDB's Data Consistency Claims by cyral on Saturday May 23, 2020 @06:04PM (#23286955)
What tools are these? Curious as a Postgres user
Re:Jepsen Disputes MongoDB's Data Consistency Claims by larrik on Saturday May 23, 2020 @07:42PM (#23287660)
MySQL Workbench is actually pretty damn good.
Re:Jepsen Disputes MongoDB's Data Consistency Claims by philliphaydon on Saturday May 23, 2020 @08:13PM (#23287868)
As a PostgreSQL user. Pgadmin 4 is the worst.
Re:Jepsen Disputes MongoDB's Data Consistency Claims by OOPMan on Sunday May 24, 2020 @12:29AM (#23289078)
PgAdmin3 was much better, but then they decided to turn it into a web application and we got PgAdmin4 Very annoying.
Re:Jepsen Disputes MongoDB's Data Consistency Claims by philliphaydon on Sunday May 24, 2020 @01:07AM (#23289272)
I used to use PgAdmin 3, but after... I donno how many years now, the PgAdmin4 is still a buggy mess.

It's really sad because all the contributors to Postgres have made an AMAZING database that's such a joy to work with. And then there's PgAdmin4 where its almost like they just don't care...

I don't feel I'm smart enough to contribute anything to PgAdmin4 to try make it better. So I stick to DataGrip and DBeaver.

Re:Jepsen Disputes MongoDB's Data Consistency Claims by 101011 on Saturday May 23, 2020 @08:34PM (#23288005)
I've probably tried a dozen or so.

For MySQL, I haven't found anything that beats SequelPro. For Postgres, I haven't found anything that comes close to parity, but my favorite is Postico.

I know people that swear by IntelliJ for their db stuff, it just never hit home for me personally though.

Re:Jepsen Disputes MongoDB's Data Consistency Claims by pnwhyc on Sunday May 24, 2020 @01:41AM (#23289403)
TablePlus is fantastic and supports all the most popular DB’s, including Postgres & MySQL. https://tableplus.com/

It’s the only DB client that doesn’t look like it was built in the 90’s. Slick UX & UI. Nice balance between developer tool & admin tool

Re:Jepsen Disputes MongoDB's Data Consistency Claims by AlfeG on Sunday May 24, 2020 @05:44AM (#23290397)
For PG - DBeaver do a damn good job for me.
Re:Jepsen Disputes MongoDB's Data Consistency Claims by scaryclam on Sunday May 24, 2020 @07:23AM (#23290784)
DBeaver is certainly underhyped. Moved over to using it from MySQL Workbench and so far it's been a big improvement.

I can't compare against SequelPro as I don't have a Mac, but DBeaver's worth a try for anyone looking for a cross platform DB editor

Re:Jepsen Disputes MongoDB's Data Consistency Claims by lucassen on Saturday May 23, 2020 @08:28PM (#23287963)
I spent a little time in it and I really like DBeaver. Free tier works great.
Re:Jepsen Disputes MongoDB's Data Consistency Claims by gav on Saturday May 23, 2020 @05:54PM (#23286871)
I tend to find people who argue with me against MySQL bring up things that haven't been true in a long time such as Unicode or NULL handling.

I'd probably choose Postgres over MySQL for a new project just to have the improved JSON support, but there's upsides to MySQL too:

- Per-thread vs per-process connection handling

- Ease of getting replication running

- Ability to use alternate engines such as MyRocks

Re:Jepsen Disputes MongoDB's Data Consistency Claims by stickfigure on Sunday May 24, 2020 @12:44AM (#23289159)
Does MySQL have transactional DDL yet? Because if not, it is not a contender as a primary datastore.
Re:Jepsen Disputes MongoDB's Data Consistency Claims by hinkley on Wednesday May 27, 2020 @11:20AM (#23324660)
Does that mean they fixed “utf-8” or that everyone is just supposed to know that it’s fucking bullshit and always has been?

You can’t cut corners like that without inviting questionS about the character of the primary committers. The pecking order in software is about trust.

People don’t let that stuff go easily, which is why you still see people harping on MongoDB. Once someone is labeled a liar And a cheat, everything they say that doesn’t add up is “guilty until proven innocent.”

The utf-8 situation is on top of a bed of half truths. Things like publishing benchmarks with backends that don’t support isolation. A cornerstone of a good DB is handling concurrent access efficiently and correctly. Drawing attention to other benchmarks is a lie by omission. Better than just being incorrect for a decade, certainly, but still sketchy.

Re:Jepsen Disputes MongoDB's Data Consistency Claims by ascom on Sunday May 24, 2020 @12:28AM (#23289077)
MyRocks is a little bit janky in my experience - it doesn't support some transaction isolation levels, fails to handle some workloads that rely on locking (such as a job queue), has failed to upgrade MariaDB minor versions [0], has very sparse documentation, and overall has given me some amount of unexpected behavior.

Though I'm willing to put up with it due to its incredible compression capabilities...

[0]: https://jira.mariadb.org/browse/MDEV-22609

Re:Jepsen Disputes MongoDB's Data Consistency Claims by johannes1234321 on Saturday May 23, 2020 @06:55PM (#23287334)
MySQL also has great JSON features (json data type, virtual indexes onnit, multi-value (array) indexes, json_table, ....)
Re:Jepsen Disputes MongoDB's Data Consistency Claims by twic on Saturday May 23, 2020 @07:33PM (#23287601)
I'd be impressed if these were better than PostgreSQL's JSON features. Do you know how they compare?
Re:Jepsen Disputes MongoDB's Data Consistency Claims by namibj on Saturday May 23, 2020 @07:41PM (#23287652)
2 years ago, they were worse, from what I recall.
Re:Jepsen Disputes MongoDB's Data Consistency Claims by OOPMan on Sunday May 24, 2020 @12:27AM (#23289075)
MySQL has definitely improved a lot since 5.0 but it still had a few warts.