Forum Discussion
OneDrive for Business file limits
The definitive answer is here: https://support.microsoft.com/en-us/help/3125202
And here for the *old* ODFB client you should not be using anymore: http://support.microsoft.com/kb/2933738/en-us
- DeletedMar 14, 2017
I'm getting different answers every time I ask the question. Some say that there are no limits (beyond the 1TB limit per ODfB account), and some talk about the 20,000 file limit.
- David ShumateJun 18, 2019Brass Contributor
There appears to be 2 issues here with the number of files.
1. If there is a great number of files that OD4B needs to keep in sync (no number known, haven't seen any limit published by Microsoft) then OD4B will attempt to keep those files in sync with the pc, regardless of whether or not Files On-Demand is enabled. It would appear that OD4B runs on something like a timer job and goes through each and every file in the repository synced looking for changes. This of course keeps files that have actually changed from syncing in a timely manner. End users who are working with files and relying on them to sync in OneDrive for sharing will often not have good results and cause incidents to be created for help desk complaining that OD4B is not functioning.
2. When you initially turn sync on for a large SharePoint document library that may have 100's of thousands of files in it, OD4B has to look at each individual file and initial sync can take a very long time. While this is occurring, syncing of any new or changed content is not happening.
There must be a better way to manage the files that OD4B has been tasked to sync. Instead of 'touching' each file to see if it needs to be synced or initially synced, wouldn't it be better to simply pass a list of files to the client on demand (by folder per se)? Then an event model that just looks for files that are in need of syncing and touching only those files, using the same list mechanism, possibly using JSON?
What is Microsoft's response to any of these issues. This is their tech community, but I don't see any Microsoft credentialed individual responding to any of these inquiries. What say you, Microsoft?
- Nathee021Jul 18, 2019Copper Contributor
You hit the nail on the head for the issues we have been experiencing. We probably have upwards of 400,000 files. Though not every user is syncing all of them, but at least around 100,000. We have 1GBs bandwidth and the majority of our PC's are newer with SSD's (we have found that we have less sync issues on SSD's then traditional HDD's)
Do you know if the issue is the amount of files the user is syncing to their desktop, so unchecking unnecessary folders under "Choose Folders" in the settings would improve the syncing issues. Or is it just the amount of files in the that are in the sharepoint library, whether or not they are synced?