Re: Logical replication from Rds into on-premise

2021-07-26 Thread Cory Nemelka
On Mon, Jul 26, 2021 at 12:06 PM Rama Krishnan wrote: > Hi all, > > I have a postgres server on Aws RDS no i want to replicate the data or > logical replication into the on-premise server. I have gone through DMS > provides the service buy it pricing was high. Do we have any option or > method to

Re: Implicit table removal from logical replication publication

2021-06-10 Thread Cory Nemelka
On Thu, Jun 10, 2021 at 12:39 PM Vijaykumar Jain < vijaykumarjain.git...@gmail.com> wrote: > Wow, the drop table silently removes entry from publication without any > logs. > > I could not find any monitoring view to help me figure out if the > publication is broken due to ddl change. > pg_stat_re

Re: Writing WAL files

2020-10-10 Thread Cory Nemelka
On Sat, Oct 10, 2020 at 3:41 AM Peter J. Holzer wrote: > On 2020-10-05 11:29:04 -0600, Michael Lewis wrote: > > > > I suggest that in PG12 you can monitor the > > "lag" of a standby server more directly by looking at columns > > write_lag, > > flush_lag, replay_lag

Re: DDL support for logical replication

2019-10-10 Thread Cory Nemelka
Another use case is installations where there is heavy reliance on temporary tables in queries. Since you can't run queries that create temporary tables on servers that are binary replicas, this leaves the master (not horizontally scalable) or logical replicas --cnemelka On Thu, Oct 10, 2019 a

Re: pg full text search very slow for Chinese characters

2019-09-10 Thread Cory Nemelka
On Tue, Sep 10, 2019 at 10:11 AM Michael Lewis wrote: > >My postgres instance is based on docker image postgres:11 and runs on my > MacBook Pro i7 16GB. > > How much ram and such did you give to this vm? > > > >To my surprise, postgres 11 is extremely slow when creating a full text > index. I add

Re: pg full text search very slow for Chinese characters

2019-09-10 Thread Cory Nemelka
Well, there is a lot of information we would need to diagnose this. How much tuning have you done?, etc. My advice is pretty simple. Don't expect performance on a notebook and, unless you are planning on hosting it on a notebook, use the notebook for development only . Test performance on a pro

Re: Issues with inconsistent COLLATION installation

2019-09-09 Thread Cory Nemelka
Thank you :) I'll try restarting postgresql during our next maintenance window and report back. --cnemelka On Mon, Sep 9, 2019 at 3:08 PM Tom Lane wrote: > "Daniel Verite" writes: > > I can reproduce this by creating a new locale *after* starting > > PostgreSQL and trying to use it before a re

Re: Issues with inconsistent COLLATION installation

2019-09-09 Thread Cory Nemelka
│ └───┴──┴──┴─┴─┴───┘ --cnemelka On Mon, Sep 9, 2019 at 12:45 PM Cory Nemelka wrote: > We have already run pg_import_system_collations('pg_catalog') > --cnemelka > > > On Mon, Sep 9, 2019 at 12:43 PM Cory Nemelka wrote: > >&

Re: Issues with inconsistent COLLATION installation

2019-09-09 Thread Cory Nemelka
We have already run pg_import_system_collations('pg_catalog') --cnemelka On Mon, Sep 9, 2019 at 12:43 PM Cory Nemelka wrote: > We are having issues with some databases getting our locales generated. > We are using Ubuntu 18.04 and postgresql 10.8. > > Example:

Issues with inconsistent COLLATION installation

2019-09-09 Thread Cory Nemelka
We are having issues with some databases getting our locales generated. We are using Ubuntu 18.04 and postgresql 10.8. Example: *from bash prompt:* $ locale -a | egrep fr fr_BE fr_BE@euro fr_BE.iso88591 fr_BE.iso885915@euro fr_BE.utf8 fr_CA fr_CA.iso88591 fr_CA.utf8 fr_CH fr_CH.iso88591 fr_CH.u