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

Feature | Query Estimate #549

Closed
wants to merge 19 commits into from
Closed

Feature | Query Estimate #549

wants to merge 19 commits into from

Conversation

wakibi
Copy link
Contributor

@wakibi wakibi commented Jun 15, 2021

Issue #260

@codecov-commenter
Copy link

codecov-commenter commented Jun 15, 2021

Codecov Report

Merging #549 (d4fbbff) into develop (e4ae5c7) will decrease coverage by 0.65%.
The diff coverage is 6.41%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #549      +/-   ##
===========================================
- Coverage    63.06%   62.40%   -0.66%     
===========================================
  Files          161      162       +1     
  Lines         4900     4950      +50     
  Branches       447      447              
===========================================
- Hits          3090     3089       -1     
- Misses        1805     1856      +51     
  Partials         5        5              
Impacted Files Coverage Δ
core/serializers.py 57.65% <ø> (ø)
core/urls.py 100.00% <ø> (ø)
data/db_manager.py 31.16% <0.00%> (-0.84%) ⬇️
...ata/management/commands/dry_run_current_queries.py 0.00% <0.00%> (ø)
...management/commands/update_query_estimate_times.py 0.00% <0.00%> (ø)
core/tasks.py 15.27% <16.66%> (+0.27%) ⬆️
core/models.py 88.82% <100.00%> (+0.05%) ⬆️
core/views.py 39.22% <100.00%> (+0.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4ae5c7...d4fbbff. Read the comment docs.

@wakibi wakibi linked an issue Jun 15, 2021 that may be closed by this pull request
@wakibi wakibi force-pushed the feature/query-estimate branch from dbb5c22 to 335d676 Compare June 15, 2021 11:24
@edwinmp edwinmp changed the title Feature/query estimate Feature | Query Estimate Jun 15, 2021
@wakibi wakibi requested a review from edwinmp June 16, 2021 08:19
@wakibi wakibi marked this pull request as ready for review June 16, 2021 08:19
@edwinmp
Copy link
Collaborator

edwinmp commented Jun 17, 2021

@wakibi please verify that this behaves as you expect on staging ... compare with the current behaviour and see if it's an improvement ... I had trouble seeing the expected root behaviour i.e. the query estimate. Let me know how to replicate it. My worry is that we've now optimised the behaviour so well that there's barely a delay, especially since we paginate the results. Anyway, let me know if you find a particularly slow query where the true value of this feature can be demonstrated.

Copy link
Collaborator

@edwinmp edwinmp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't doing what its supposed to, even for new queries. It's also adding overhead that's slowed things down a bit. We can fix this & the UX in subsequent reviews, but the main thing is that its not behaving as expected.

@edwinmp edwinmp marked this pull request as draft June 23, 2021 08:45
@stale
Copy link

stale bot commented Aug 22, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 22, 2021
@stale stale bot closed this Aug 29, 2021
@edwinmp edwinmp deleted the feature/query-estimate branch November 9, 2021 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Progress when running a query.
3 participants