MostlyData_Solana Stats - TPS distribution
    Updated 2025-04-07
    with date_filter as (
    select
    case
    when '{{n_days}}' != 0 then current_date() - interval '{{n_days}} days'
    else cast('{{start_date}}' as timestamp)
    end as start_date,
    case
    when '{{n_days}}' != 0 then current_date()
    else cast('{{end_date}}' as timestamp)
    end as end_date
    )

    ,tx_data as(
    select
    date_trunc('second', t.block_timestamp) as dt,
    count(tx_id) as tps

    from solana.core.fact_transactions t
    join date_filter df
    on t.block_timestamp between df.start_date and df.end_date

    group by 1
    )

    ,group_data as(
    select
    date_trunc('day',dt) as dt,
    percentile_cont(0.25) within group (order by tps) as p25,
    percentile_cont(0.5) within group (order by tps) as p50,
    percentile_cont(0.95) within group (order by tps) as p95

    from tx_data
    where
    date_trunc('day',dt) < (select max(date_trunc('day',dt)) from tx_data)

    Last run: 14 days ago
    DT
    P25
    P50
    P95
    1
    2025-03-15 00:00:00.0007269321527
    2
    2025-03-19 00:00:00.00083210311637
    3
    2025-03-27 00:00:00.00080610241611
    4
    2025-03-14 00:00:00.0007589661558
    5
    2025-04-02 00:00:00.0008059921597
    6
    2025-03-18 00:00:00.00083910371613
    7
    2025-03-20 00:00:00.0007239201480
    8
    2025-03-31 00:00:00.0007979861541
    9
    2025-03-17 00:00:00.00078610031666
    10
    2025-03-30 00:00:00.0007849631497
    11
    2025-03-23 00:00:00.0006988951464
    12
    2025-03-22 00:00:00.0006208231347
    13
    2025-03-29 00:00:00.00084610461582
    14
    2025-03-12 00:00:00.0007749811616
    15
    2025-04-06 00:00:00.0007769641507
    16
    2025-04-01 00:00:00.00082610461621
    17
    2025-03-13 00:00:00.0007599721545
    18
    2025-03-24 00:00:00.00083110501713
    19
    2025-03-21 00:00:00.0006898731384
    20
    2025-03-25 00:00:00.0007869771606
    30
    1KB
    216s