-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The select is too slowly #22
Comments
Ideally https://github.com/matthewfranglen/postgres-elasticsearch-fdw/blob/master/pg_es_fdw/__init__.py#L107 would use the rowid column if it is in the where clause, but it does not. Currently I just evaluate the where clause column, so you can make it fast if you should use that. Something like:
|
Thanks,it is faster by using query fetch data |
Hello, I was trying to perform the query from Postgres to elasticsearch using "query" as shown above. But it was throwing me an error saying...
Here are the details of how I created the foreign table (providing info on a high level):
Any suggestions, please. |
The response that is being received by the client is not json. This is really a separate issue so I've opened it as another issue: #26 |
I've opened #27 to track the problem that this ticket originally reports. Since this ticket has lost focus I am closing it. |
I put 100,000 rows data to elasticsearch,when I select 1 row by id through foreign table,it took 222 second, I wander is it fetch all data from elasticsearch to postgres and then filter the data?
The text was updated successfully, but these errors were encountered: