Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB River Plugin for ElasticSearch #15

Closed
talway opened this issue Apr 24, 2015 · 4 comments
Closed

MongoDB River Plugin for ElasticSearch #15

talway opened this issue Apr 24, 2015 · 4 comments

Comments

@talway
Copy link

talway commented Apr 24, 2015

ElasticSearch 定期同步插件形式,你试试,
https://github.com/richardwilly98/elasticsearch-river-mongodb/

通过ElasticSearch 定期同步MongoDB 数据库,你测试下如何,性能

@keenwon
Copy link
Owner

keenwon commented Apr 24, 2015

这个之前考虑过,但是它貌似要求有一个mongodb副本集,所以放弃了,因为mongodb实在是太占硬盘了
以后再有项目得考虑考虑mongodb的替代方案了

@talway
Copy link
Author

talway commented Apr 24, 2015

是要集群的;现在爬了些,你300w 是占多大空间,我的
resources
{
"ns" : "antcolony.resources",
"count" : 518524,
"size" : 1351113088,
"avgObjSize" : 2605,
"storageSize" : 1450037248,
"numExtents" : 20,
"nindexes" : 1,
"lastExtentSize" : 378707968,
"paddingFactor" : 1,
"systemFlags" : 0,
"userFlags" : 1,
"totalIndexSize" : 44199456,
"indexSizes" : {
"id" : 44199456
},
"ok" : 1
}

@keenwon
Copy link
Owner

keenwon commented Apr 24, 2015

{
    "db" : "antcolony",
    "collections" : 3,
    "objects" : 3124345,
    "avgObjSize" : 2774.753671569561,
    "dataSize" : 8669287760,
    "storageSize" : 9999605744,
    "numExtents" : 26,
    "indexes" : 2,
    "indexSize" : 262408720,
    "fileSize" : 12812550144,
    "nsSizeMB" : 16,
    "dataFileVersion" : {
        "major" : 4,
        "minor" : 5
    },
    "extentFreeList" : {
        "num" : 0,
        "totalSize" : 0
    },
    "ok" : 1
}

@lock
Copy link

lock bot commented Dec 28, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants