If you are using PostggeQL you may want to look at the query analysis produced by: https://www.postgresql.org/docs/current/pgstatstatements.html
There are various third-party tools to gather output from the pg_stat_statements and make it available e.g. https://github.com/pganalyze/collector https://www.mni.de/using-grafana-with-pg_stat_statements/ https://grafana.com/docs/features/datasources/postgres/ On Wednesday, 10 April 2019 07:57:51 UTC+2, Web Architect wrote: > > Hi, > > We have a Django 1.11 based ecommerce web site. > > We use django management scripts and django extension of runscript heavily > for DB operations - running under cron. > > There's a tool - django-debugtoolbar to check the DB queries on the web. > But is there a tool to monitor/check the DB queries for scripts? This would > be really helpful in our script optimisation. > > Looking forward to the info. > > Thanks. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dea92601-b776-4cee-9511-785ce1c26da6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.