קוד שגיאה
DB_QUERY_TIMEOUT
שאילתת DB נכנסה ל־timeout
Database query timed out
A query exceeded the per-statement timeout. Usually a missing index or a runaway scan.
Common causes
- Missing index on a hot WHERE column.
- Large dataset filtered without LIMIT.
- Stats out of date — wrong execution plan.
What to do
Add the missing index, paginate the read, or run ANALYZE TABLE. Don’t bump the timeout as a fix.
שאילתת DB נכנסה ל־timeout
שאילתה חרגה מ־timeout לפקודה. בדרך כלל אינדקס חסר או סריקה לא חסומה.
סיבות נפוצות
- אינדקס חסר על עמודת WHERE חמה.
- מערך גדול מסונן ללא LIMIT.
- סטטיסטיקות מיושנות — תוכנית ביצוע שגויה.
פעולה מומלצת
הוסיפו אינדקס, חלקו לעמודים, או הריצו ANALYZE TABLE. אל תעלו timeout כתחליף לתיקון.