| From: | Hellmuth Vargas <hivs77(at)gmail(dot)com> |
|---|---|
| To: | Martín Marqués <martin(at)2ndquadrant(dot)com> |
| Cc: | alvherre(at)2ndquadrant(dot)com, Ruben Fitó <r(dot)fito(at)ubiquat(dot)com>, Lista Postgres ES <pgsql-es-ayuda(at)postgresql(dot)org> |
| Subject: | Re: PG11: particionado, parallel query y performance |
| Date: | 2019-07-15 17:24:35 |
| Message-ID: | CAN3Qy4ph+Lje0Xa7J7Jarrnh-ZmD1GQD1DjO74DTKj6K876Gow@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
Mil gracias Martín por su repuesta, no leí la letra menuda de la
documentación! 🤔
El dom., 14 de jul. de 2019 3:05 PM, Martín Marqués <martin(at)2ndquadrant(dot)com>
escribió:
> Buenas Hellmuth,
>
> El 12/7/19 a las 07:24, Hellmuth Vargas escribió:
> > Hola Alvaro
> >
> > Me llama la atención lo que menciona sobre las limitaciones del
> > particionamiento y la replicación lógica, no puede indicar a que
> > limitaciones se refiere... Estoy también interesado en implementar una
> > solución basado en esto... De antemano muchas gracias
>
> Eso es porque la replicación lógica solo se puede hacer entre tablas
> físicas. Tratar de replicar la table raíz de una partición terminará en
> un error así:
>
> ERROR: logical replication target relation "public.mypartitiontable" is
> not a table
>
> Dicha restriccion esta en la documentacion de replicación lógica:
>
> https://www.postgresql.org/docs/11/logical-replication-restrictions.html
>
> ```
> Replication is only possible from base tables to base tables. That is,
> the tables on the publication and on the subscription side must be
> normal tables, not views, materialized views, partition root tables, or
> foreign tables. In the case of partitions, you can therefore replicate a
> partition hierarchy one-to-one, but you cannot currently replicate to a
> differently partitioned setup. Attempts to replicate tables other than
> base tables will result in an error.
> ```
>
> Saludos,
>
> --
> Martín Marqués http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gustavo Hernández | 2019-07-23 14:01:44 | bajo rendimiento en vmware |
| Previous Message | Martín Marqués | 2019-07-14 20:05:26 | Re: PG11: particionado, parallel query y performance |