Status Update
Comments
gs...@google.com <gs...@google.com> #2
am...@paragon-erp.com <am...@paragon-erp.com> #3
gs...@google.com <gs...@google.com> #4
tu...@gmail.com <tu...@gmail.com> #5
gs...@google.com <gs...@google.com> #6
et...@talostrading.com <et...@talostrading.com> #7
di...@gmail.com <di...@gmail.com> #8
[Deleted User] <[Deleted User]> #9
ma...@ammacreative.com <ma...@ammacreative.com> #10
di...@atos.net <di...@atos.net> #11
me...@kieranbenton.com <me...@kieranbenton.com> #12
tu...@gmail.com <tu...@gmail.com> #13
[Deleted User] <[Deleted User]> #14
gs...@google.com <gs...@google.com> #15
am...@paragon-erp.com <am...@paragon-erp.com> #16
ja...@expeditors.com <ja...@expeditors.com> #17
[Deleted User] <[Deleted User]> #18
bn...@cloudflare.com <bn...@cloudflare.com> #19
do...@gmail.com <do...@gmail.com> #20
[Deleted User] <[Deleted User]> #21
mr...@salesforce.com <mr...@salesforce.com> #22
gs...@google.com <gs...@google.com> #23
la...@gmail.com <la...@gmail.com> #24
As not having logical replication prevents an entire category of use cases, it would be great if we can have a timeline for it's release so we can make decisions about CloudSQL vs self-hosting Postgres now.
Cheers.
le...@reach.vote <le...@reach.vote> #25
do...@google.com <do...@google.com> #26
an...@google.com <an...@google.com> #27
mu...@gmail.com <mu...@gmail.com> #28
na...@pps.co.za <na...@pps.co.za> #29
tu...@gmail.com <tu...@gmail.com> #30
gs...@google.com <gs...@google.com> #31
This is still work in progress.
ph...@demandlogic.co <ph...@demandlogic.co> #32
ab...@gmail.com <ab...@gmail.com> #33
ad...@gmail.com <ad...@gmail.com> #34
[Deleted User] <[Deleted User]> #35
an...@gmail.com <an...@gmail.com> #36
mi...@gmail.com <mi...@gmail.com> #37
an...@oda.com <an...@oda.com> #38
This is a blocker for us.
tu...@gmail.com <tu...@gmail.com> #39
c....@briefdomain.de <c....@briefdomain.de> #40
[Deleted User] <[Deleted User]> #41
aa...@gmail.com <aa...@gmail.com> #42
am...@paragon-erp.com <am...@paragon-erp.com> #43
[Deleted User] <[Deleted User]> #44
[Deleted User] <[Deleted User]> #45
pa...@paragon-erp.com <pa...@paragon-erp.com> #46
We just went through a whole ordeal with Google Support to get insight into if and when this feature (Logical Decoding) will become available, but in the end ended up being redirected to post our thoughts here and wait for the Cloud SQL Product Team to respond. This is after having been in contact with Google in early 2019 and been told to expect an update on the roadmap for this feature in Q3 2019...
Google Support asked us to repost our concerns and urgency here, for the Product Team to respond, so here we go:
use case
Our use-case is that we need to be able to extract ALL changes made to our data in near-real-time, without overhead to the client making the changes and in a maintainable fashion. We need to extract ALL changes made to our databases to keep external systems in sync, in a near real-time manner.
Our current approach is using INSERT/UPDATE/DELETE triggers on each table, but this incurs way too much overhead, causing unacceptable client slowdown. Doing this on the application level isn't an option either, as it's unmaintainable
what we need
So we want to handle this on a database-level and with PostgreSQL this would be using their Logical Decoding feature. However, settings and privileges' needed to use Logical Decoding on Cloud SQL for PostgreSQL are currently not enabled:
wal_level
parameter is set to 'replica' (probably because its needed for ), but for Logical Decoding it needs to be set toCreate Replica logical
- ability to control the
max_replication_slots
setting, as a replication slot is per database on a server and we run servers with way more databases that the default value (10) formax_replication_slots
(probably also requires themax_wal_senders
setting to be configurable - ability to create (and drop) replications slots, see
Logical Decoding Examples - ability to create PUBLICATIONS, needed when using the
pgoutput
plugin icw Logical Decoding - optionally support output plugins like
wal2json
Logical Decoding Plugins
urgency
As for the urgency: we're currently running into the limitations of the trigger-based approach, from a performance perspective. We can probably get away with it for a few more months (among others by disabling some features), but giving the lead times of the possible solutions, we need to set the wheels in motion right now.
As we see it we have 2 options:
- Wait for Cloud SQL for PostgreSQL to add support for Logical Decoding
- Migrate to any other hosted PostgreSQL offering, as pretty mush all other major and minor managed PostgreSQL offerings offer support for Logical Decoding
what we want to know
Given that setting in motion and executing a migration to another managed PostgreSQL provider has a lead time from somewhere between 2 to 9 months, we would like to know the roadmap for Logical Decoding on Cloud SQL for PostgreSQL, as we don't want to set the wheels in motion, only to learn 3 or 6 months from now that support was added for Logical Decoding, voiding all our migration efforts, as we're otherwise very happy with Cloud SQL and it's our preference to remain on it.
So, in the end, what we are after if for Cloud SQL for PostgreSQL to come up to the level of all other major and minor PostgreSQL hosting providers and make it possible to use Logical Decoding and create Logical Replication slots, so tools like Debezium can be used.
Would love to see Cloud SQL for PostgreSQL be added to this list:
Hoping the above clarifies our needs and urgency and hoping for a speedy response, so we can decide which wheels to set in motion.
[Deleted User] <[Deleted User]> #47
tk...@gmail.com <tk...@gmail.com> #48
sh...@gmail.com <sh...@gmail.com> #49
ca...@eerlijkewoz.nl <ca...@eerlijkewoz.nl> #50
[Deleted User] <[Deleted User]> #51
Considering this request is for 2 years old. Is there any alternative solution (i.e. Third party software) till this request gets implemented?
[Deleted User] <[Deleted User]> #53
[Deleted User] <[Deleted User]> #54
la...@cybertec.at <la...@cybertec.at> #55
If Google allowed logical replication, they would lose a good opportunity for vendor lock-in.
yu...@klearthink.com <yu...@klearthink.com> #56
[Deleted User] <[Deleted User]> #57
ma...@gmail.com <ma...@gmail.com> #58
he...@gmail.com <he...@gmail.com> #59
ta...@trustingsocial.com <ta...@trustingsocial.com> #60
pe...@prte.com.br <pe...@prte.com.br> #61
[Deleted User] <[Deleted User]> #62
+1
st...@contactnewenergy.cloud <st...@contactnewenergy.cloud> #63
de...@massive.se <de...@massive.se> #64
ko...@gmail.com <ko...@gmail.com> #65
[Deleted User] <[Deleted User]> #66
ro...@missionlane.com <ro...@missionlane.com> #67
[Deleted User] <[Deleted User]> #68
da...@gmail.com <da...@gmail.com> #69
co...@otto.de <co...@otto.de> #70
ad...@takealot.com <ad...@takealot.com> #71
ha...@melting-point.fr <ha...@melting-point.fr> #72
ju...@melting-point.fr <ju...@melting-point.fr> #73
ri...@visformatics.net <ri...@visformatics.net> #74
[Deleted User] <[Deleted User]> #75
da...@heyde.ch <da...@heyde.ch> #76
bm...@gmail.com <bm...@gmail.com> #77
[Deleted User] <[Deleted User]> #78
da...@gmail.com <da...@gmail.com> #79
da...@gmail.com <da...@gmail.com> #80
ul...@gmail.com <ul...@gmail.com> #81
[Deleted User] <[Deleted User]> #82
be...@vida.com <be...@vida.com> #83
nv...@gmail.com <nv...@gmail.com> #84
But please at least give us a small detail if you will work on this or not so we can migrate to others providers.
re...@gmail.com <re...@gmail.com> #85
ck...@nygenome.org <ck...@nygenome.org> #86
me...@juanchristensen.com <me...@juanchristensen.com> #87
cc...@gmail.com <cc...@gmail.com> #88
as...@gmail.com <as...@gmail.com> #89
mi...@domainmigrate.com <mi...@domainmigrate.com> #90
an...@intellum.com <an...@intellum.com> #91
da...@gmail.com <da...@gmail.com> #92
[Deleted User] <[Deleted User]> #93
ma...@flydata-migrated.com <ma...@flydata-migrated.com> #94
da...@gmail.com <da...@gmail.com> #95
wi...@gmail.com <wi...@gmail.com> #96
[Deleted User] <[Deleted User]> #97
[Deleted User] <[Deleted User]> #98
gi...@gmail.com <gi...@gmail.com> #99
[Deleted User] <[Deleted User]> #100
ba...@google.com <ba...@google.com> #101
pg...@gmail.com <pg...@gmail.com> #102
Glad its here finally (and that we've not started to move off of Cloud SQL :-) )
Description
In PostgreSQL, it would be nice to be able to change the value of wal_level to logical to enable logical decoding. This is possible on other platforms and reasonable to ask.
Similar request, found in Google Groups:
"We want to use logical decoding to read and push any changes to our database into data processing pipelines. I've tried doing it as documented in the official Postgres docs for 9.6. But cloud sql is disallowing me to change the wal_level to logical. I've looked for this in other providers and Amazon RDS already provides this and has a blog posted about it here.
Is there a way do this already? If yes then can you point me to the documentation?
If there isn't is it part of the roadmap? "
Related issue in Google Groups: