What is the maximum length of a text field?

I have a text field in a model in my app's datamodel. What is the largest string (in KB or characters) that I can store in this field?

The hard upper limit is 16MB for the raw underlying database record - the whole object. Therefore you could theoretically have a single text field near that size.

Practically, however, I feel this kind of usage should be restricted to rare objects, that aren't synced or queried often.

1 Like