D1 DB is overloaded. Requests queued for too long

For Workers & Pages, what is the name of the domain?

https://wave-backend-v3.zhanghuang11211.workers.dev/

What is the error message?

D1 DB is overloaded. Requests queued for too long.

What is the issue or error you’re encountering

My service is down

What steps have you taken to resolve the issue?

Redeploying services and turning off smart placement will not work

My D1 id is: ed9b192b-6631-451c-ba45-efb3baf87f56

The situation is very bad now, my users are completely unable to use my product

my account id: 53ff7c57829e5a400f565a68ea2438a3

Hey there!

Sorry for the trouble you’re facing with this. Thank you for the Accound ID and database info. The D1 team is looking at it right now.

Hello again,

It looks like the latency issue has cleared up. Engineering is looking back through logs to see if they can track down what the issue may have been.

Thank you for your reply. This has happened twice in total. Now my application is in a growth period. This abnormality has caused immeasurable losses to me during this critical period. I hope you can find the problem. If you need me to cooperate, I will be there at any time!

Hello again,

From what I saw yesterday, your queries were putting a tremendous load on D1. Please make sure your queries are efficient, and uses indexes, as described here.

If you run into any other issues, please do let us know, and we’ll be happy to re-check the load you’re putting on the DB.

2 Likes