pgsql-io / multicorn2

http://multicorn2.org
Other
73 stars 16 forks source link

ldapfdw with PG14.9 (POST is slow) #33

Closed gettes closed 2 months ago

gettes commented 9 months ago

Hi, I have ldapfdw working well with PG14.9. Thank you! When I do a POST with a ldap search against OpenLDAP - it consistently takes 3.9 seconds. I do a simple GET that returns some simple json and it happens instantaneously. Any interaction with OpenLDAP consistently takes 3.9 seconds. When I use my IDE (dbeaver.io) the first look up takes 3.9 seconds and followups happy VERY fast. I think there is something about the session being maintained by my IDE and other POST operations via CURL each instantiate a new session and therefore take 3.9 seconds. Is there something I can do to effect the performance for a new session?