PHPMem v2.0.1

Version
1.6.45
Uptime
15 days 11 hours 9 minutes 11 seconds

Memory

Total
512MB
Used
21,24MB (4.15%)
Free
490,76MB

Keys

Current
21 467
Total (since start)
33 978
Evictions
0
Reclaimed
326
Expired Unfetched
0
Evicted Unfetched
0

Connections

Current
8 / 1 024 max
Total
172 335
Rejected
0
llm:fde95ff2afa382cd0aecaf2209fcdeb27b4802938a23d998352f5b9ee19e8ed0
TTL 6 days 3 hours 58 minutes 32 seconds Size 1,86KB Export
Edit
{
    "queries": [
        {
            "query": "SELECT species, COUNT(*) AS n FROM iris GROUP BY species ORDER BY n DESC",
            "description": "Number of flowers recorded for each species."
        },
        {
            "query": "SELECT species, AVG(petal_length) AS avg_petal_length, AVG(petal_width) AS avg_petal_width FROM iris GROUP BY species ORDER BY avg_petal_length DESC",
            "description": "Average petal size for each species."
        },
        {
            "query": "SELECT MIN(sepal_length) AS min_len, MAX(sepal_length) AS max_len, AVG(sepal_length) AS avg_len FROM iris WHERE sepal_length IS NOT NULL",
            "description": "Smallest, largest and average sepal length across all flowers."
        },
        {
            "query": "SELECT * FROM iris WHERE species = 'virginica' ORDER BY petal_length DESC LIMIT 10",
            "description": "The ten virginica flowers with the longest petals."
        },
        {
            "query": "SELECT species, MAX(sepal_width) AS widest_sepal, MIN(sepal_width) AS narrowest_sepal FROM iris GROUP BY species ORDER BY widest_sepal DESC",
            "description": "Widest and narrowest sepals recorded for each species."
        },
        {
            "query": "SELECT species, COUNT(*) AS n FROM iris WHERE petal_length > 4 GROUP BY species ORDER BY n DESC",
            "description": "How many flowers per species have petals longer than 4."
        },
        {
            "query": "SELECT * FROM iris WHERE species = 'setosa' ORDER BY sepal_length DESC LIMIT 10",
            "description": "The ten setosa flowers with the longest sepals."
        },
        {
            "query": "SELECT species, ROUND(AVG(sepal_length / sepal_width), 2) AS avg_sepal_ratio FROM iris WHERE sepal_width IS NOT NULL AND sepal_width > 0 GROUP BY species ORDER BY avg_sepal_ratio DESC",
            "description": "Average sepal length-to-width ratio for each species."
        },
        {
            "query": "SELECT * FROM iris WHERE species = 'versicolor' AND petal_width IS NOT NULL ORDER BY petal_width DESC LIMIT 10",
            "description": "The ten versicolor flowers with the widest petals."
        }
    ]
}