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

xpath-not #6575

Closed
joepveenman opened this issue Sep 29, 2023 · 1 comment
Closed

xpath-not #6575

joepveenman opened this issue Sep 29, 2023 · 1 comment
Assignees

Comments

@joepveenman
Copy link

Please use the form below, leaving the prefilled data to help us. Thank you.

Page link: xpath-not

Document link: xpath-not.md

My Issue/Suggestion

In the mendix course "4.2-The-Not-Function" they state that the not() function slow due to the SQL query that is generated.
I would be nice if this is also mentioned here in the office documentation.
It would be even better if there is also mentioned why it is slow. What kind of SQL is generated and why is that slow.
I would consider this very impotent information and I hope you guys see it the same way.

@MarkvanMents MarkvanMents self-assigned this Sep 29, 2023
@MarkvanMents
Copy link
Collaborator

Hi Joep,
Thank you for raising this issue. I'm sorry about the delay in getting back to you.
Discussing this with the developers, they are surprised that this is in the Academy course as it is very difficult to identify whether a specific query has performance problems. Their view is that you should not try to predict which queries might have issues, but create the simplest query which gives the answers you want and then test the performance to ensure it matches your expectations. Only if you see a specific query as a bottleneck is it worth spending time trying to identify a workaround.
I have asked the people who maintain the Academy course to look into this recommendation and see whether it should be changed.
Hope this helps.
Yours
Mark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants