mongoimport --jsonArray size lim

2016-01-07  本文已影响54人  Yves_lau

When I try to use 'mongoimport' importing data(>100MB) into mongo, Got the file size limit error:

From MongoDB docs, always refer to docs before posting on stackoverflow:

--jsonArray Changed in version 2.2: The limit on document size increased from 4MB to 16MB.

Accept import of data expressed with multiple MongoDB documents within a single JSON array.

Use in conjunction with mongoexport --jsonArray to import data written as a single JSON array. Limited to imports of 16 MB or smaller.

上一篇下一篇

猜你喜欢

热点阅读