Anyway to cluster multiple D1 Databases together, or would I essentially have to create custom middl
Anyway to cluster multiple D1 Databases together, or would I essentially have to create custom middleware? 
Note that the 10 GB limit of a D1 database cannot be further increased.


pnpx wrangler d1 create cove It doesn't seem like I can use this with a --local flag, so it doesn't seem like we can truly use this as local development only. As in NOTHING created remote.--remote flag when executing your command for example wrangler d1 execute YOUR_DB_NAME --file ./database/script.sql --remoteenv.{DATABASE_BINDING} you get in each request, otherwise you will definitely hit issues at some point.0.3ms on average so why are you worried about it? [request error] [unhandled] [500] D1_ERROR: D1 DB storage operation exceeded timeout which caused object to be reset.pnpx wrangler d1 create covewrangler d1 execute YOUR_DB_NAME --file ./database/script.sql --remote[request error] [unhandled] [500] D1_ERROR: D1 DB storage operation exceeded timeout which caused object to be reset. env.{DATABASE_BINDING} "avgRowsRead": 0,
"totalRowsRead": 13401,
"avgRowsWritten": 0,
"totalRowsWritten": 0,
"avgDurationMs": 0.33640454375886003,
"totalDurationMs": 4508.830100000001,
"numberOfTimesRun": 13403,
"queryEfficiency": 00.3ms[request error] [unhandled] [500] D1_ERROR: D1 DB storage operation exceeded timeout which caused object to be reset.let cached_db = null;
export const useDb = () => {
if (!cached_db) {
const binding = process?.env?.DB || globalThis?.__env__?.DB || globalThis?.DB
cached_db = drizzle(binding, { schema })
}
return cached_db
}