Project

General

Profile

Actions

Bug #21814

closed

How to efficiently page group contents queries of more than one object type (e.g. "shared with me")

Added by Peter Amstutz 6 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Story points:
-
Release:
Release relationship:
Auto

Description

Report from user

[We] are waiting here for more than few minutes waiting for the list to load.
This is making the “Shared with me” unusable.

I looked into this, and it appears that the query doesn't benefit from any indexes and does a full table scan.

  1. We should see if we can add an index to make it perform better
    1. Run explain analyze on the primary "shared with me" query
    2. Identify inner queries that could be indexed and/or if the query could be written differently
  2. We should fix workbench2 to not block page loads on computing "items available" (#17074)

Files

21814Analyze.log (11.3 KB) 21814Analyze.log Brett Smith, 06/03/2024 09:41 PM
21814Rails.log (23.7 KB) 21814Rails.log Brett Smith, 06/03/2024 09:41 PM
21814Queries.sql (7.64 KB) 21814Queries.sql Brett Smith, 06/03/2024 09:41 PM

Subtasks 1 (0 open1 closed)

Task #22018: Review 21814-contents-pagingResolvedTom Clegg08/13/2024Actions

Related issues

Related to Arvados - Feature #17074: Use count=none when fetching pagesResolvedStephen SmithActions
Actions

Also available in: Atom PDF