emee
emee
CCConvex Community
Created by emee on 3/4/2024 in #support-community
I really don't understand the mutations and query limits
ok
6 replies
CCConvex Community
Created by emee on 3/4/2024 in #support-community
I really don't understand the mutations and query limits
Read/write limit errors To ensure uptime and guarantee performance, Convex will catch queries and mutations that try to read or write too much data. These limits are enforced at the level of a single query or mutation function execution. The limits are: Queries and mutations error out when: More than 16384 documents are scanned More than 8MiB worth of data is scanned More than 4096 queries calls to db.get or db.query are made The function spends more than 1 second executing Javascript In addition, mutations error out when: More than 8192 documents are written More than 8MiB worth of data is written // Does the above mean that a single mutation function cannot write more than 8192 documents in a single call. I ask this because my hackathon project involves creating an sdk that will infinitely write more data than the limits specified above for a single project using it.
6 replies