From: | Jorge Torralba <jorge(dot)torralba(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Performance killed with FDW when using CAST. |
Date: | 2019-04-17 00:21:24 |
Message-ID: | CACut7uSz_3JiJ4w80VrQYECtOAt1Ya5E=EdLBAJ2_DnYwqsjGA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support pgsql-admin |
We setup a FDW server for a large table that has an hstore data type as on
eof the coums.
When we run the query directly on the FDW server
select * from recent_events where account_id = 1 AND (attributes ->
'account_incident_id')::integer = 2617116 limit 10;
The response is 2ms . which is awesome.
When we run it from the remote server where we have the server defined, the
query never returns.
Our server definition is as follows.
(host 'fdwserver', dbname 'mydb', port '5432', fetch_size '1000',
use_remote_estimate 'true', extensions 'hstore')
We have been playing with this for hours to no avail.
Any clues ?
Thanks
--
Thanks,
Jorge Torralba
----------------------------
Note: This communication may contain privileged or other confidential
information. If you are not the intended recipient, please do not print,
copy, retransmit, disseminate or otherwise use the information. Please
indicate to the sender that you have received this email in error and
delete the copy you received. Thank You.
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Barwick | 2019-04-17 01:56:33 | Re: Performance killed with FDW when using CAST. |
Previous Message | Jürgen Spatz | 2019-04-16 19:01:44 | Group tables in PG-Admin |
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Barwick | 2019-04-17 01:56:33 | Re: Performance killed with FDW when using CAST. |
Previous Message | Holger Jakobs | 2019-04-16 15:39:34 | Re: Upgrade pgadmin 4.0 to 4.5 |