core-chain.stats Table: ez_core_metrics_hourly Type: View
What
This aggregated table provides hourly blockchain metrics for high-level analysis and monitoring. It pre-calculates key statistics from fact_transactions to enable fast querying of network activity, gas usage patterns, and user behavior trends without scanning large transaction tables.Key Use Cases
- Network health dashboards and monitoring
- Gas fee trend analysis and volatility tracking
- User adoption metrics and activity patterns
- Blockchain comparison studies across chains
- Activity anomaly detection and congestion analysis
- Performance optimization and capacity planning
- Weekly/monthly growth analysis
Important Relationships
- Derived from fact_transactions: All metrics aggregated from base transaction data
- Join with ez_prices_hourly: For native token price correlation
- Compare across chains: Standardized metrics enable cross-chain analysis
Commonly-used Fields
block_timestamp_hour: Hour boundary for aggregated metricstransaction_count: Total transactions in the hourtransaction_count_success/transaction_count_failed: Success/failure countsunique_from_count: Distinct active addressestotal_fees_native/total_fees_usd: Fee totals in native and USDblock_count: Number of blocks produced
Sample Queries
Network Health Dashboard MetricsColumns
| Column Name | Data Type | Description |
|---|---|---|
| BLOCK_TIMESTAMP_HOUR | TIMESTAMP_NTZ | The hour boundary (UTC) for which metrics are aggregated. Timestamp truncated to hour boundary. |
- Deduplication in incremental loads
- Join operations for data quality checks
- Troubleshooting specific records
- Data freshness monitoring
- Incremental processing markers
- Debugging data pipeline issues
- SLA tracking