insights icon indicating copy to clipboard operation
insights copied to clipboard

Frappe Insights loading time is a lot. Is this common? how to overcome this speed issue. In other visualization tools is superfast(may be they could be caching it on the client server end, if so can we do it in Frappe Insights)

Open Ashwinnontechie opened this issue 9 months ago • 7 comments

quick context,

  1. I am running Frappe CRM on my own servers and have connected the DB to Frappe Insights.
  2. Major operations on insights is query building from my tables and visualizing via charts in dashboards.

https://drive.google.com/file/d/1tSPpeGyyM01RGEb2y_c-qqeCdTdJyrGU/view?usp=drive_link -> for video reference

Ashwinnontechie avatar Jul 08 '25 14:07 Ashwinnontechie

Hi, were you able to validate this issue. Thanks. @shahzeelahmed

Ashwinnontechie avatar Jul 16 '25 06:07 Ashwinnontechie

same issue

ankulpolara avatar Jul 24 '25 16:07 ankulpolara

Image

as i add more and more dashoard in insights it make my frappe insights to more weighty and now whole site freezing

ankulpolara avatar Jul 24 '25 16:07 ankulpolara

i think need to apply caching machanism for this issue

so if multiple user hit request for report so one cached query can serve to all and load on database can be handle effectively

ankulpolara avatar Jul 24 '25 16:07 ankulpolara

Hi Any update on this

Ashwinnontechie avatar Sep 26 '25 13:09 Ashwinnontechie

If each doctype the dashboard is using has less than 10 lakh rows then enable data store for each of your queries, you'll see major improvements. However, the dashboard data will be updated once a day

The slowness has nothing to do with Insights, it is dependent on how long each query takes to execute and your database server configuration.

Also, let me know if you have enabled "user permissions" in the insights settings

nextchamp-saqib avatar Sep 26 '25 14:09 nextchamp-saqib

i think need to apply caching machanism for this issue

so if multiple user hit request for report so one cached query can serve to all and load on database can be handle effectively

You should probably create a replica for your production database and connect that to insights. We do the same.

nextchamp-saqib avatar Sep 26 '25 14:09 nextchamp-saqib