PHPMem v2.0.1

Version
1.6.45
Uptime
16 days 22 hours 45 minutes 40 seconds

Memory

Total
512MB
Used
12,72MB (2.48%)
Free
499,28MB

Keys

Current
14 060
Total (since start)
40 994
Evictions
0
Reclaimed
760
Expired Unfetched
0
Evicted Unfetched
0

Connections

Current
15 / 1 024 max
Total
193 158
Rejected
0
llm:e4f3138afe239a51b8bbec0b1d91ea386d8ec54e8913b2771f64b0e7440c9e51
TTL 6 days 4 hours 25 minutes 38 seconds Size 949,00B Export
Edit
{
    "action": "tool_call",
    "reasoning": "Amount in USD is VARCHAR and needs cleaning; Industry Vertical is the main classifier. Compute deal count, total, average and median funding per vertical for the top 15 by total.",
    "tool": "query_sql",
    "args": {
        "sql": "WITH c AS (SELECT TRIM(\"Industry Vertical\") AS vertical, TRY_CAST(REPLACE(REPLACE(\"Amount in USD\", ',', ''), ' ', '') AS DOUBLE) AS amt FROM raw.startup_funding) SELECT vertical, COUNT(*) AS deals, COUNT(amt) AS deals_with_amount, ROUND(SUM(amt)/1e6,1) AS total_usd_m, ROUND(AVG(amt)/1e6,2) AS avg_usd_m, ROUND(MEDIAN(amt)/1e6,2) AS median_usd_m FROM c WHERE vertical IS NOT NULL AND vertical <> '' GROUP BY vertical HAVING COUNT(amt) > 0 ORDER BY total_usd_m DESC LIMIT 15",
        "purpose": "Funding amount by industry vertical (top 15 by total)",
        "source": "raw"
    }
}