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
Looks like the sql run at /submissions/count is a select count(*) around a sub-query with no LIMIT. I believe that query time will grow linearly with table size. Instead, db.makeSubmissionsQuery should maybe have a second param just_count that causes the sql returned to be a proper count(*) query.
The text was updated successfully, but these errors were encountered:
Looks like the sql run at /submissions/count is a
select count(*)
around a sub-query with no LIMIT. I believe that query time will grow linearly with table size. Instead,db.makeSubmissionsQuery
should maybe have a second paramjust_count
that causes the sql returned to be a proper count(*) query.The text was updated successfully, but these errors were encountered: