16 Replies
here
@albertsp
Does this limitation cover SELECT/INSERT queries; or does it cover rows selected/inserted?
how firm is the 20MB total storage limit?
Are the reads/writes limits a per-database limit or totaled across all DBs?
How far off are pricing details? no egress is great, but would be good to know/plan workloads according to operations' pricing metrics
How scalable will read/write numbers be in the future? Read replicas will scale reads but are writes very scalable?
I am also curious if this is a hard rate limit or just the expected performance level?
(betas are always released w/ significantly low limits to meter performance & monitor scaling. r2 limits are low right now too, but are 100% not reflective of prod-ready performance)
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
wait, no transactions? : )
also, any plans on supporting sqlite's json extensions? they are so good
@sven continuing here in the #Questions thread…
The projects I have in mind just require simple
SELECT … LIMIT 1
or COUNT
operations. Is the limit just a rough estimate of the performance achievable with the current resource allocations? Or is it a hard rate limit?curious: any reason why db uuids are formatted with dashes instead of the normal cf ids without dashes used everywhere else in the api?
does the
/d1/database/${databaseUuid}/query
api endpoint accept an array of bound statements to issue multiple queries (with params) at once? if passed an array, it seems to want a string as the first element, then a "D1Request struct", I can't figure it out - tried:
and
both of which fail with internal error
works fine for the single query case:
and that sql
can be multiple statements, but then params are not supportedJust curious: where'd you find the actual fetch endpoints? Just by examining the package code?
https://github.com/cloudflare/wrangler2/compare/main...d1
i don't believe all of the functions in the runtime bindings surface area have corresponding rest api calls yet, I'm hoping they do/will do eventually
but
/query
with { sql, params }
as the post body does workYeah.
In answer to your question:
One sec, looking at _send.
doesn't work tho, that doesn't end up calling the rest api i don't think - it calls some sort of magic binding
Source if you're interested: https://registry.npmjs.org/@cloudflare/d1/-/d1-1.4.1.tgz
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View