| 123456789101112131415161718192021222324252627282930313233343536373839 |
- {
- "before": {
- "sql": "SELECT brand,dsum(amount) FROM monthly WHERE direction=? AND year=? AND c1=? AND c3=? GROUP BY brand",
- "parameters": [
- "I",
- "2025",
- "存储器",
- "DDR"
- ],
- "plan": [
- "SEARCH monthly USING INDEX idx_model (direction=?)"
- ],
- "first_ms": 3514.7,
- "p50_ms": 2494.692,
- "p95_ms": 3514.7,
- "rows": 3,
- "result_sha256": "d01d2250dd79e3789655a3f679e62a5051043bf95ab3f6e996a62212b44e13a6"
- },
- "after": {
- "sql": "SELECT brand,dsum(amount) FROM monthly WHERE direction=? AND year=? AND c1=? AND c3=? GROUP BY brand",
- "parameters": [
- "I",
- "2025",
- "存储器",
- "DDR"
- ],
- "plan": [
- "SEARCH monthly USING COVERING INDEX idx_focus_query (direction=? AND year=? AND c1=? AND c3=?)"
- ],
- "first_ms": 1460.615,
- "p50_ms": 1450.355,
- "p95_ms": 1460.615,
- "rows": 3,
- "result_sha256": "d01d2250dd79e3789655a3f679e62a5051043bf95ab3f6e996a62212b44e13a6"
- },
- "index_build_seconds": 6.026850083959289,
- "index_sql": "CREATE INDEX idx_focus_query ON monthly(direction,year,c1,c3,brand,amount,quantity,n)",
- "sqlite_after_bytes": 1257381888
- }
|