hochschule-augsburg / hochschule-augsburg/SQL-Train

Reseting the database takes too long on big topics

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
TypeScript
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Resetting the database takes linear time O(n) dependent on the current exercise because all solutions before this have to be executed to enable student to work on any exercises even if they did not do the previous.
This could be solved with concating the setup script and the solutions. However this requires extensive testing and unit tests.
An alternative or an additional point would be to do these pg_stud request asynchronously.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.