Re: speeding up grafana sensor-data query on raspberry pi 3

2023-04-16 Thread Andres Freund
Hi, On 2023-04-16 19:00:33 +0200, Clemens Eisserer wrote: > I am currently trying to migrate an influxdb 1.7 smarthome database to > postgresql (13.9) running on my raspberry 3. > It works quite well, but for the queries executed by grafana I get a > bit highter execution times than I'd hoped for.

Re: speeding up grafana sensor-data query on raspberry pi 3

2023-04-16 Thread David Rowley
On Mon, 17 Apr 2023 at 05:00, Clemens Eisserer wrote: > Example: > table smartmeter with non-null column ts (timestamp with time zone) > and brinc index on ts, no pk to avoid a btree index. > Sensor values are stored every 5s, so for 1 month there are about 370k > rows - and in total the table cur

Re: speeding up grafana sensor-data query on raspberry pi 3

2023-04-16 Thread Justin Pryzby
On Sun, Apr 16, 2023 at 07:00:33PM +0200, Clemens Eisserer wrote: > Hi, > > I am currently trying to migrate an influxdb 1.7 smarthome database to > postgresql (13.9) running on my raspberry 3. > It works quite well, but for the queries executed by grafana I get a > bit highter execution times tha

speeding up grafana sensor-data query on raspberry pi 3

2023-04-16 Thread Clemens Eisserer
Hi, I am currently trying to migrate an influxdb 1.7 smarthome database to postgresql (13.9) running on my raspberry 3. It works quite well, but for the queries executed by grafana I get a bit highter execution times than I'd hoped for. Example: table smartmeter with non-null column ts (timestamp