Live data from Hacker News

Postgres.app

postgresapp.com

31–40 of 158 posts

Re: Postgres.app

#31

I've always preferred Docker for setting up databases and database-like services on a development machine because then everything is nicely isolated. i.e no need to worry about random files in /etc/foo, easy to setup many versions per project etc. This is what I've been using for Postgres: docker volume create postgres docker run -d \ -p 127.0.0.1:5432:5432 \ -v postgres:/var/lib/postgresql/data \ --name postgres \ -…

Docker on Mac is a performance and battery hog in my experience.

Re: Postgres.app

#32

I've always preferred Docker for setting up databases and database-like services on a development machine because then everything is nicely isolated. i.e no need to worry about random files in /etc/foo, easy to setup many versions per project etc. This is what I've been using for Postgres: docker volume create postgres docker run -d \ -p 127.0.0.1:5432:5432 \ -v postgres:/var/lib/postgresql/data \ --name postgres \ -…

Docker on Mac is a performance and battery hog in my experience.

It also keeps yammering on and on about new versions and required updates. Just that is reason enough to get rid of it.

Re: Postgres.app

#33
post #26
post #22

Earlier quoted context omitted.

I think you and this app are solving quite different problems. For you (and most people replying) it sounds like PostgreSQL is a component in a larger app that will eventually get deployed and run somewhere else and only be interacted with via that app. Others (like myself) use PostgreSQL as a local datastore and analysis engine. All my interaction with the database is via ad hoc SQL commands and locally run scripts…

What’s your use case? (Whatever you’re comfortable sharing.)

'small'[1] data analysis often with a geospatial component.

[1] ie data easily fits on a single hard drive.

Re: Postgres.app

#34
post #26
post #22

Earlier quoted context omitted.

I think you and this app are solving quite different problems. For you (and most people replying) it sounds like PostgreSQL is a component in a larger app that will eventually get deployed and run somewhere else and only be interacted with via that app. Others (like myself) use PostgreSQL as a local datastore and analysis engine. All my interaction with the database is via ad hoc SQL commands and locally run scripts…

What’s your use case? (Whatever you’re comfortable sharing.)

I set up postgres.app for my wife, who's a PM. She used it to crunch data that was too big for Excel, her previous tool of choice.

Re: Postgres.app

#36

I've always preferred Docker for setting up databases and database-like services on a development machine because then everything is nicely isolated. i.e no need to worry about random files in /etc/foo, easy to setup many versions per project etc. This is what I've been using for Postgres: docker volume create postgres docker run -d \ -p 127.0.0.1:5432:5432 \ -v postgres:/var/lib/postgresql/data \ --name postgres \ -…

Docker on Mac is a performance and battery hog in my experience.

I have a few boxes at home in a lab setup (accessible externally via VPN) that I use for these sorts of things. The less crap running on my Mac the better.

That being said - when you have a handful of clients who are all running in Docker compose… it’s nice to say “down” on one, “up” on another as though I’m switching git branches.

Working on transitioning to kube so I can IaaC a lot of it - but it’s nice to have my local machine freed up.

Re: Postgres.app

#37

I've happily used that on OSX (simpler than docker etc.), now I've switched to Windows, anything like that for Windows?

Obviously not a GUI, but WSL is pretty nice for this, even if you don't need it for anything else. You can run things like

  wsl.exe -d Ubuntu -u root /some/linux/script 
From powershell or the cmd.exe console. There's a bit of fiddling required to connect from windows to the WSL postgres instance, but once that's done, it's a nice setup.

Edit: You can also use WSL as a sort of "docker like" setup, using wsl --export / wsl --import to make WSL images with different versions of Postgres, start/stop them, etc. With a small distro like Alpine, it's relatively fast.

Re: Postgres.app

#38
post #26

Earlier quoted context omitted.

What’s your use case? (Whatever you’re comfortable sharing.)

I set up postgres.app for my wife, who's a PM. She used it to crunch data that was too big for Excel, her previous tool of choice.

I'm curious, why postgres.app and not SQLite? I'd usually reach for SQLite as my next step up from Excel, but maybe that's wrong (it's very possible that you're talking about an order of magnitude more data than I am).
Post reply on HN