Query optimization to reduce query time and memory usage

Thanks @nodeworks.
Could you please also share the go_memstats_heap_idle_bytes. It’s described in this link.