mongoimport --jsonArray size limited

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.

你可能感兴趣的:(mongoimport --jsonArray size limited)