Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How long can the _id string for CouchDB documents be?

Tags:

couchdb

What is the maximum length for the _id field of CouchDB documents? Where are the specifications for this?

like image 774
dan Avatar asked Oct 13 '22 17:10

dan


1 Answers

From this mail on the users mailing list:

The max size for a document is 4GB, any property (including the _id) is included in this.

Also, here's another tidbit about IDs and their affect on performance: http://wiki.apache.org/couchdb/Performance#A_id

like image 132
geoffreyd Avatar answered Oct 18 '22 00:10

geoffreyd