I love PostgreSQL. But for a personal project I went with MongoDB, because my data set was a perfect match for mongo's design. Now I love mongo too, I'm amazed with how easy it has been to maintain 100% uptime on comodity hardware (one server is literally in a room in my apartment) through all the random server downtimes, upgrades, migrations, etc. And now I have more ideas for some personal projects, and they would…
do take a look if you can leverage jsonb datastructure of postgres - you get 80% of the power of mongo and all the advantages of postgres. https://www.compose.io/articles/is-postgresql-your-next-json...
“Fashion Is Hard. PostgreSQL Is Easy” [video]
91–100 of 140 posts
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#92Earlier quoted context omitted.
I just remembered it as \d as display and \dt as display tables. I often invent mnemonics that only mean something to me until muscle memory kicks in.
Here's a nice one-page cheat sheet, of which about 75% you will probably never need to use: http://www.postgresonline.com/downloads/special_feature/post...
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#93I had a job interview at Zalando a while ago, and apart from the huge bunch of bananas at the entrance to the developer's den, the one thing I remember most about was the fact that apparently they're using stored procedures for basically any database transaction. Which is probably a more unorthodox use of databases these days, at least for Postgres (I've heard it was more common for SQL Server and I once had the ques…
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#94Earlier quoted context omitted.
do take a look if you can leverage jsonb datastructure of postgres - you get 80% of the power of mongo and all the advantages of postgres. https://www.compose.io/articles/is-postgresql-your-next-json...
Actually the article you posted makes the case that postgres is not a good json database, because it can not modify json documents in place.
http://www.postgresql.org/docs/devel/static/functions-json.h...
That said, if you're doing a lot of mutation of large JSON documents stored in a single Postgres row value, the storage/concurrency control behavior still won't be ideal.
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#95Coming up with your own ideas is hard. Cloning other businesses is easy.
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#96BTW I would like to send out a BIG THANK YOU to the guys that did the videos - this is such an important and great service for everybody who could not attend the conference, so: THANK YOU VERY MUCH!
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#97Earlier quoted context omitted.
do take a look if you can leverage jsonb datastructure of postgres - you get 80% of the power of mongo and all the advantages of postgres. https://www.compose.io/articles/is-postgresql-your-next-json...
Actually the article you posted makes the case that postgres is not a good json database, because it can not modify json documents in place.
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#98Earlier quoted context omitted.
Actually the article you posted makes the case that postgres is not a good json database, because it can not modify json documents in place.
PG 9.5 will improve this situation somewhat, e.g., builtin functions like jsonb_set(), and overloading the '-' operator for jsonb values: http://www.postgresql.org/docs/devel/static/functions-json.h... That said, if you're doing a lot of mutation of large JSON documents stored in a single Postgres row value, the storage/concurrency control behavior still won't be ideal.
Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#99Re: “Fashion Is Hard. PostgreSQL Is Easy” [video]
#100Earlier quoted context omitted.
Thats like trying to say emacs is easier than eclipse. Sure it may be more efficient once you are used to it, but its not more intuitive.
eclipse and intuitive shouldn't ever be used in the same sentence. emacs ditto, but calling one more intuitive from another is missing the point by about 1 AU.