High CPU Usage and slow queries

The influxdb process is taking a lot of CPU usage (near 90%) and my queries are spending a lot of time to give results. Is there any way to limit the CPU usage or investigate what could be done to speed up the queries?

Hi Jkancio , welcome ,

what is the version you are using ?