Maintain control of your Microsoft 365 data
Post Reply
martynh
Veeam Software
Posts: 58
Liked: 17 times
Joined: Apr 01, 2021 3:01 am
Full Name: Martyn Howie
Contact:

API call to view Site restore session very slow

Post by martynh »

We are having an issue with one of our customers where exploring their sharepoint backup is extremely slow, folder list takes about 4 minutes to return and documents list 3 minutes.
This has been ongoing for a few months and we have not found a solution despite trying numerous suggestions including upsizing the server. The methods we are using are

https://{{BaseURL}}/v5/RestoreSessions/[restoresessionID]/Organization/Sites/[siteID]/Folders?offset=0&limit=30&parentId=[parentID] (Folders)

https://{{BaseURL}}/v5/RestoreSessions/[restoresessionID]/Organization/Sites/[siteID]/Documents?offset=0&limit=30&parentId=[parentID] (Documents)

This is related to support case #05224414
Martyn Howie

Veeam Data Cloud: Product Management
nielsengelen
Product Manager
Posts: 5958
Liked: 1246 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: API call to view Site restore session very slow

Post by nielsengelen »

Hi Martyn,

I can't really see an issue with your query as you only request 30 items. It could be related to undersizing of your appliance but the only way to understand this is via the support case. Please continue working with them.
GitHub: https://github.com/nielsengelen
martynh
Veeam Software
Posts: 58
Liked: 17 times
Joined: Apr 01, 2021 3:01 am
Full Name: Martyn Howie
Contact:

Re: API call to view Site restore session very slow

Post by martynh »

Hi @nielsengelen
Just to update we have isolated the issue further. The bottleneck in this request is clearly the addition of a "ParentID" parameter to the request for documents. Requesting Documents with no limit and no ParentID parameter took under a minute. Adding a limit=30 didn't affect that time noticeably. Adding a ParentID filter to return just the documents within the specified folder took 4:07 to return a single document.
Martyn Howie

Veeam Data Cloud: Product Management
Mike Resseler
Product Manager
Posts: 8259
Liked: 1343 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: API call to view Site restore session very slow

Post by Mike Resseler » 1 person likes this post

@martynh At this point in time we are in release mode so I'm afraid I cannot ask our QA to do some more investigation on it why that single document takes that long. I have an idea but it needs to be verified. However, since we do have a case, I will put this on their investigation list for after the release. I hope the case isn't closed yet so we won't loose the logs.
OzFenric
Influencer
Posts: 24
Liked: never
Joined: Feb 20, 2022 11:47 pm
Contact:

Re: API call to view Site restore session very slow

Post by OzFenric »

Support case #05224414 has been reopened with further investigation carried out.
Mike Resseler
Product Manager
Posts: 8259
Liked: 1343 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: API call to view Site restore session very slow

Post by Mike Resseler »

Thanks @OzFenric please keep us informed about the outcome
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests