Is it unrealistic to hope that this will complete? db.sql is about 30,000 lines
Is it unrealistic to hope that this will complete? db.sql is about 30,000 lines

sqlite3 file.sqlite3 .dump > db.sqlwrangler trying to parse your file. We haven't optimized this yet (it's unrelated to D1 / the storage backend). Break it up into ~5k line files.Error: D1_ERRORs


statement too long
sqlite3 file.sqlite3 .dump > db.sqlwrangler~/repos/d1-demo (master) ✗
➜ npx wrangler@3 d1 execute key-value-db --file src/kv-5k.sql
🌀 Mapping SQL input into an array of statements
🌀 Parsing 5000 statements
🌀 Executing on key-value-db (a197cf87-47ad-4473-b900-4c59c42f509d):
🚣 Executed 5000 commands in 201.99864504113793msError: D1_ERRORError: Error: Network connection lost.
at D1Database._send (index.js:3290:16)
at async D1PreparedStatement.all (index.js:3355:7)
at async cacheD1_default (index.js:3169:34)
at async Object.fetch (index.js:3185:7) {
stack: Error: Error: Network connection lost.
at D1Da…9:34)
at async Object.fetch (index.js:3185:7),
message: Error: Network connection lost.
}[ERROR] A request to the Cloudflare API (/accounts/c6ad2463148cc51ec38821637c5af28f/d1/database/f90e9b86-b9df-4257-b400-827dac122d25/query) failed.
statement too long [code: 7500]statement too long