Query optimization to reduce query time and memory usage

Hi @nodeworks,
Could you please share the prometheus metrics from the alpha (/debug/prometheus_metrics)?