You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm making an update on Session - it takes around 80ms, when there is only 5-6 solves in this session(one to many relation).
When there is around 600 solves that are related to the session - i takes around 500ms just to execute this empty update:
await currentSession.update(session => {});
Is there anything wrong with the models that I've missed, and what is causing this?
The text was updated successfully, but these errors were encountered:
I've encountered performance issue while updating a record in the database.
My model looks like that for Session:
and for solve:
When I'm making an update on Session - it takes around 80ms, when there is only 5-6 solves in this session(one to many relation).
When there is around 600 solves that are related to the session - i takes around 500ms just to execute this empty update:
Is there anything wrong with the models that I've missed, and what is causing this?
The text was updated successfully, but these errors were encountered: