Well, our reply will not be very different from the one we sent just a few hours ago 🙂
DSS was not really designed with this kind of number of files in mind, and your experience will range from impossible to difficult.
We'd advise you to try using code with the native APIs of your underlying storage engine. In any case, we would advise you to expect a very painful experience. No data management experience is going to be fast or pleasant with these kinds of volumes. If you have any possibility to, we'd strongly urge you to reconsider the design of the system producing this.