如何在MongoDB上特征16.4亿记录?

发布于 2025-02-08 05:30:39 字数 252 浏览 0 评论 0原文

我想在MongoDB上进行大量数据,我想将它们进行比较,但是该过程需要一些合乎逻辑的方面来实现目标,我知道使用Java为案例使用似乎很复杂吗?

美国案例:

我想比较MongoDB中具有大量数据的两个文档“表”,我们需要使用一种方法或某种逻辑部分,使我们能够有效地执行此操作,而不会丢失内存能力或到达对于5案?

我试图将数据放入Java集合中,为了获得它们之间的描述,我使用线程实现了比较逻辑代码侧,但是我得到了很多内存泄漏,并且该过程需要很多时间。

I have a hug amount of data on MongoDB I want to compare them but the process needs some logical side to achieve the goal, I know that using Java for the case seems to be complicated for Memory usages?

USA CASE :

I want to compare two documents "Tables" in mongodb that has a large amount of data >1.46M lines, we need to use an approach or some logical part which allows us to do it efficiently without losing memory capacities or arrived to the worth cases ?

I've tried to put the data into java collections and in order to get the descripancies between them, I implement the comparison logic code side using threads but i got a lot of memory leaks and the process takes a lot of time.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文