PHPMem v2.0.1
Version
1.6.45
Uptime
17 days 1 hour 35 minutes 33 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
14 / 1 024 max
Total
194 713
Rejected
0
llm:a48536af401fd04720085b151b0e9cb891667c1fe844d9069f54e0c2578ee3e9
Edit
<invoke name="query_sql">
<parameter name="sql">WITH p AS (SELECT regexp_extract("Date dd/mm/yyyy", '(\d{1,2})/(\d{1,2})/(\d{4})', 3) AS y, regexp_extract("Date dd/mm/yyyy", '(\d{1,2})/(\d{1,2})/(\d{4})', 2) AS m, TRY_CAST(REPLACE("Amount in USD", ',', '') AS DOUBLE) AS amt FROM raw.startup_funding) SELECT y || '-' || lpad(m, 2, '0') AS month, COUNT(*) AS deals, COUNT(amt) AS deals_with_amount, SUM(amt) AS total_usd, MAX(amt) AS largest_deal_usd FROM p WHERE y <> '' GROUP BY 1 ORDER BY 1</parameter>
<parameter name="purpose">Monthly deal counts, total disclosed amounts and largest deal to find spikes, dips and breaks</parameter>
<parameter name="source">raw</parameter>
</invoke>