© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
3 replies
Marante

Chunking both key and value from dictionary

Hi all, I have a very specific problem of needing to chunk both key AND value of a dictionary (could be any data type).

Scenario: I need to export and import a bunch of time series data from one tenant to a different one. The case is that I fetch say 500 Keys, where each key can have a range from 0..? count of values. The time series database service only allow bathc inserts of 100 keys, with 20,000 values per key in each insert. I need to chunk the request prior to creating the request to maintain the aforementioned rules. How would you do this efficiently?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

retrieving dictionary value
C#CC# / help
4y ago
✅ Dictionary not returning Value
C#CC# / help
3y ago
Finding Index of Dictionary Key
C#CC# / help
2y ago