PHPMem v2.0.1

Version
1.6.45
Uptime
16 days 22 hours 37 minutes 55 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
16 / 1 024 max
Total
193 013
Rejected
0
llm:997f8d0de0025a27fc8f033efa7ab1fc8e75dcff3d34d4b345ea49edcfb72544
TTL 6 days 4 hours 32 minutes 21 seconds Size 950,00B Export
Edit
{
    "action": "tool_call",
    "reasoning": "Get monthly deal counts and funding totals to see the timeline of funding activity. Date is VARCHAR dd/mm/yyyy and may contain stray characters; Amount is VARCHAR with commas. Parse safely with TRY functions.",
    "tool": "query_sql",
    "args": {
        "sql": "WITH t AS (SELECT try_strptime(regexp_replace(trim(\"Date dd/mm/yyyy\"), '[^0-9/]', '', 'g'), '%d/%m/%Y') AS d, TRY_CAST(regexp_replace(\"Amount in USD\", '[^0-9.]', '', 'g') AS DOUBLE) AS amt FROM raw.startup_funding) SELECT strftime(date_trunc('month', d), '%Y-%m') AS month, COUNT(*) AS deals, COUNT(amt) AS deals_with_amount, ROUND(SUM(amt)/1e6,1) AS total_usd_m, ROUND(MEDIAN(amt)/1e6,2) AS median_usd_m FROM t GROUP BY 1 ORDER BY 1",
        "purpose": "Monthly deal count and funding amount to find spikes/dips/breaks",
        "source": "raw"
    }
}