Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109087

UI dashboard takes very long to show up

    XMLWordPrintable

    Details

      Description

      When a user has a considerable number of datasets i.e ~700, UI dashboard can take up to 10-11 seconds to show. Main reason for this is UI waiting on `pool.dataset.query` call which takes long because of the number of datasets involved.

       

      UI on dashboard just needs space being consumed/available information of root datastes which it can now retrieve by making a call

      midclt call pool.dataset.query '[]' '{"extra": {"retrieve_children": false}}' | jq .

      These parameters will retrieve root datasets with their properties but not with their children. Let's please use the above call as the above call consumes about 0.6 seconds compared to 10 seconds which was being done before.

      If there are concerns, please let me know. Thanks

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                damian Damian Szidiropulosz
                Reporter:
                waqar Waqar Ahmed
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: