Skip to content
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

OR queries are very slow and blocks the web server #119

Open
2 tasks
sveinugu opened this issue Jan 26, 2020 · 3 comments
Open
2 tasks

OR queries are very slow and blocks the web server #119

sveinugu opened this issue Jan 26, 2020 · 3 comments
Assignees
Labels

Comments

@sveinugu
Copy link
Collaborator

sveinugu commented Jan 26, 2020

To Reproduce

  • Tab 1: Blueprint query: samples.content->'donor_sex' ? 'Female' OR samples.content->'donor_sex' ? 'Male'
  • Tab 2: Open trackfind web page. Will not open until search is finished

Expected behavior

  • OR search should only be twice as slow as a simple search
  • Searching should not block the web server
@dtitov
Copy link
Collaborator

dtitov commented Jan 28, 2020

I believe this one should be split into two issues because these are completely independent problems (it's just that the second one can be reproduced because of the first one).

And the second one, unfortunately, doesn't seem to be solvable with Vaadin. I have noticed this behavior a long time ago and even asked a question at the Vaadin forum, but I haven't got any meaningful response. I have requested more information there today, so we can follow up on this.

@dtitov
Copy link
Collaborator

dtitov commented Jan 28, 2020

For the first issue, I'll need to profile the database query execution.

@dtitov
Copy link
Collaborator

dtitov commented Jan 29, 2020

The guy actually responded in the Vaadin forum thread. And I didn’t understand his explanation again 😕 Maybe you could try to retrieve more of useful information from his comment...

@sveinugu sveinugu assigned joshbaskaran and unassigned dtitov Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants