News for hackers. Stuff that matters.
Re:Cloud SQL for PostgreSQL now generally available by kdv on Wednesday April 18, 2018 @05:50PM (#16871542)
Does anyone have insight or experience using this in production? We're currently running PostgreSQL 10 w/ pg_partman on our own hardware but looking at a several options for cloud migration. Unfortunately, Citus Cloud on GCP doesn't appear to be an option (yet?)

- Google Cloud SQL (PostgreSQL)

- Citus Cloud (AWS Only)

- Citus (managed ourselves) on GCP

Re:Cloud SQL for PostgreSQL now generally available by brdd on Wednesday April 18, 2018 @10:57PM (#16873021)
We've been running a production workload on Postgres/Google Cloud SQL for about half a year now.

While things are good for the most part, a couple of serious problems related to connectivity have us completely boggled. We're connecting from Google Kubernetes Engine, which seems like it should be a standard combination, but run into constant problems that we've dumped many many hours into debugging.

We still haven't figured this problem out. I've found the docs to be very weak on Google's part. A lot of the troubleshooting tips are not very helpful (and can consist of unhelpful broad strokes like "be sure to use indexes!"). Because Google Cloud is not as popular than AWS, there is less community guidance from others. And what guidance does exist is often in forum threads that feel less than reputable. There's a big push to try to get you to talk to sales rep that are not technically knowledgeable and just try to upsell.

Very frustrating. Unclear if moving back to AWS, or hosting our own Postgres, would help.

Re:Cloud SQL for PostgreSQL now generally available by dvdgsng on Thursday April 19, 2018 @05:44AM (#16874540)
Could you elaborate a bit on the connectivity problems? What is your setup? CloudSQL Proxy, any loadbalancers?
Re:Cloud SQL for PostgreSQL now generally available by flamingcow on Wednesday April 18, 2018 @09:08PM (#16872604)
[I'm the Cloud SQL TL] Note that we currently only support PostgreSQL 9.6. Obviously supporting major versions across both MySQL and PostgreSQL is a priority for us.
Re:Cloud SQL for PostgreSQL now generally available by craigkerstiens on Thursday April 19, 2018 @08:49AM (#16875421)
Hi, Craig from Citus here. If you're interested in Citus being available on other infrastructure provides aside from AWS as a fully managed service please feel free to reach out to me directly craig at citusdata.com.
Re:Cloud SQL for PostgreSQL now generally available by manigandham on Wednesday April 18, 2018 @06:35PM (#16871865)
We did, but now use https://aiven.io

Highly recommended if you want a fast and featured managed db service.

Re:Cloud SQL for PostgreSQL now generally available by misterbowfinger on Wednesday April 18, 2018 @08:31PM (#16872464)
what's the benefit of using them vs. AWS or GCP directly?
Re:Cloud SQL for PostgreSQL now generally available by manigandham on Wednesday April 18, 2018 @09:42PM (#16872723)
Latest software (using v10.3), better performance (nvme SSDs), better backups (point in time, instant cloning), better features (more extensions, cross-region replication even across different clouds), better flexibility (migrate master across different clouds), better monitoring (logs and datadog metrics export), and more focused support with a smaller team.
Re:Cloud SQL for PostgreSQL now generally available by bpicolo on Wednesday April 18, 2018 @09:59PM (#16872785)
AWS and GCP both have nvme SSDs for instance types intended for big-ol DBs

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-inst...

Re:Cloud SQL for PostgreSQL now generally available by manigandham on Wednesday April 18, 2018 @10:29PM (#16872900)
Yes, I know. This thread is about managed database services, specifically about Aiven vs cloud-direct. Aiven still runs VMs on AWS or GCP but offers nvme disks while neither RDS nor CloudSQL have that available.
Re:Cloud SQL for PostgreSQL now generally available by bpicolo on Sunday April 22, 2018 @08:58AM (#16895969)
Ah I see, i3 isn’t in the RDS pool yet. I imagine it will be eventually?
Re:Cloud SQL for PostgreSQL now generally available by sandGorgon on Wednesday April 18, 2018 @11:50PM (#16873201)
It's way more expensive. Have you found ROI there ?
Re:Cloud SQL for PostgreSQL now generally available by manigandham on Thursday April 19, 2018 @12:03AM (#16873248)
For our needs, yes. They run on cloud VMs so there will be a markup but their startup-4 and higher plans on GCP use local NVME SSDs so we get much better performance for the price.

We also make use of cross-regional replicas and are looking at doing it across clouds so if you want that then there isn't any other option other than doing it yourself. It's more of the complexity of this deployment rather than raw db size for us so if you have several TBs then maybe it's not the best fit.

Re:Cloud SQL for PostgreSQL now generally available by kdv on Thursday April 19, 2018 @09:27AM (#16875705)
Interesting. I'm curious how they compare to Citus and if there are any tight integrations with their over services (managed Kafka or Elasticsearch)
Re:Cloud SQL for PostgreSQL now generally available by fowl2 on Wednesday April 18, 2018 @08:40PM (#16872509)
Re:Cloud SQL for PostgreSQL now generally available by alexnewman on Wednesday April 18, 2018 @05:54PM (#16871578)
citus isn't simply postgresql. It has many tradeoffs
Re:Cloud SQL for PostgreSQL now generally available by manigandham on Wednesday April 18, 2018 @06:34PM (#16871861)
What do you mean? It's just an extension to PostgreSQL and runs anywhere that allows you to load it.
Re:Cloud SQL for PostgreSQL now generally available by kdv on Wednesday April 18, 2018 @05:58PM (#16871608)
We get that, but I left off (for brevity) the reasons why Citus would be a net positive for our use case.
Re:Cloud SQL for PostgreSQL now generally available by ivanr on Wednesday April 18, 2018 @06:18PM (#16871757)
I would appreciate if you could list some of those differences and tradeoffs, for some of us who are interested in Citus but haven't yet had time to look at it in more detail. Thanks!