[JAVA-5091] FindIterable<Document>'s iterator () method, Iterator query problem Created: 29/Jul/23 Updated: 31/Jul/23 Resolved: 31/Jul/23 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | chaoyang jia | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| Description |
|
summarize When I was using Mongo Driver Java 4.9, I checked everything and when I iterated, it took two seconds for ten thousand pieces of data, which was too slow
How to reproduce I used the collection. find() method and returned the FindIterable<Document>class. I used the iterator() method in this class to iterate and queried 10000 pieces of data. The results were converted for two seconds, and I will paste the code out
|
| Comments |
| Comment by Jeffrey Yemin [ 31/Jul/23 ] |
|
Hi there, thank you for reaching out. As this sounds like a support issue, I wanted to give you some resources to get this question answered more quickly:
Just in case you have already opened a support case and are not receiving sufficient help, please let me know and I can facilitate escalating your issue. Thank you! |
| Comment by chaoyang jia [ 29/Jul/23 ] |
|
This issue is very important to me, I need to optimize this efficiency |
| Comment by PM Bot [ 29/Jul/23 ] |
|
Hi j15030047216@163.com, thank you for reporting this issue! The team will look into it and get back to you soon. |