←back to thread

264 points davidgomes | 8 comments | | HN request time: 0s | source | bottom
Show context
paulryanrogers ◴[] No.41875055[source]
Upgrades are hard. There was no replication in the before times. The original block-level replication didn't work among different major versions. Slony was a painful workaround based on triggers that amplified writes.

Newer PostgreSQL versions are better. Yet still not quite as robust or easy as MySQL.

At a certain scale even MySQL upgrades can be painful. At least when you cannot spare more than a few minutes of downtime.

replies(7): >>41875126 #>>41876174 #>>41876232 #>>41876375 #>>41877029 #>>41877268 #>>41877959 #
api ◴[] No.41875126[source]
I've always wondered why Postgres is so insanely popular. I mean it has some nice things like very powerful support for a very comprehensive subset of SQL functionality, but most apps don't need all that.

It really feels like early 1990s vintage Unix software. It's clunky and arcane and it's hard to feel confident doing anything complex with it.

replies(9): >>41875168 #>>41875240 #>>41875306 #>>41875587 #>>41876346 #>>41876770 #>>41877119 #>>41877951 #>>41878394 #
justin_oaks ◴[] No.41875240[source]
> It really feels like early 1990s vintage Unix software. It's clunky and arcane and it's hard to feel confident doing anything complex with it.

How software "feels" is subjective. Can you be more specific?

replies(3): >>41875286 #>>41875625 #>>41877469 #
threeseed ◴[] No.41875286[source]
The command line experience is old school style i.e. to show tables.

  \c database
  \dt
Versus:

  use database
  show tables
replies(4): >>41875328 #>>41875350 #>>41875573 #>>41875689 #
fhdsgbbcaA ◴[] No.41875350[source]
It’s also faster to type.
replies(1): >>41876111 #
1. eYrKEC2 ◴[] No.41876111[source]
Not after you have to google, "What's the equivalent of `show tables` in postgres?", because the psql command names are completely arbitrary.
replies(5): >>41876166 #>>41877357 #>>41878020 #>>41878561 #>>41884086 #
2. fhdsgbbcaA ◴[] No.41876166[source]
Which you need to do exactly once.
replies(1): >>41876478 #
3. kalleboo ◴[] No.41876478[source]
I need to manually admin my database server maybe once every 2 years or so. Definitely not remembering them 2 years later.
replies(1): >>41889579 #
4. ◴[] No.41877357[source]
5. Symbiote ◴[] No.41878020[source]
They are clearly abbreviations.

\c is for connect.

\dt is for describe tables.

6. mxey ◴[] No.41878561[source]
\? shows the help
7. ahoka ◴[] No.41884086[source]
They kinda make sense if you consider that Postgres was not an SQL database in the beginning. Quirky though.
8. dventimi ◴[] No.41889579{3}[source]
Sounds like a YP