-
Notifications
You must be signed in to change notification settings - Fork 346
Development
: Add exercise id to result table to speed up database queries
#11459
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
base: develop
Are you sure you want to change the base?
Development
: Add exercise id to result table to speed up database queries
#11459
Conversation
reduce number of involve data in db queries statistics-lifetime-overview and management-detail are still rather slow
This reverts commit 037fdf6.
# Conflicts: # src/main/java/de/tum/cit/aet/artemis/assessment/repository/ComplaintRepository.java # src/main/java/de/tum/cit/aet/artemis/assessment/repository/ResultRepository.java # src/main/java/de/tum/cit/aet/artemis/assessment/service/TutorLeaderboardService.java # src/main/java/de/tum/cit/aet/artemis/core/repository/StatisticsRepository.java # src/main/java/de/tum/cit/aet/artemis/core/service/StatisticsService.java # src/main/java/de/tum/cit/aet/artemis/core/service/course/CourseStatsService.java # src/main/java/de/tum/cit/aet/artemis/exercise/service/ExerciseService.java # src/main/webapp/app/core/course/manage/detail/course-detail-line-chart.component.ts # src/test/java/de/tum/cit/aet/artemis/core/StatisticsRepositoryTest.java # src/test/java/de/tum/cit/aet/artemis/core/util/CourseTestService.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
End-to-End (E2E) Test Results Summary
|
1736988
End-to-End (E2E) Test Results Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DB migration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approve code
a31473d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reapprove DB migration
End-to-End (E2E) Test Results Summary
|
End-to-End (E2E) Test Results Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
End-to-End (E2E) Test Results Summary
|
Only deploy to TS1
Checklist
General
Server
Motivation and Context
We have some database calls that are extremely slow because six tables need to be joined
Description
We resolve this by denormalizing the schema and adding the exercise id to the result table.
Steps for Testing
Prerequisites:
Exam Mode Testing
Covered with the steps above
Testserver States
You can manage test servers using Helios. Check environment statuses in the environment list. To deploy to a test server, go to the CI/CD page, find your PR or branch, and trigger the deployment.
Review Progress
Code Review
Manual Tests
Performance Tests
Test Coverage
unchanged
Summary by CodeRabbit
Bug Fixes
New Features
Refactor
Tests