{"repo":"AmbitionEng/django-pgstats","free":true,"listed":false,"github":"https://github.com/AmbitionEng/django-pgstats","clone":"git clone https://github.com/AmbitionEng/django-pgstats.git","description":"Commands and models for tracking internal postgres stats.","language":"Python","stars":22,"topics":["django","postgresql"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"django-pgstats django-pgstats provides commands and models for tracking internal postgres stats. Specifically, the IndexStats model stores stats about postgres indices and the TableStats model stores stats about postgres tables. Postgres stat tables contain global statistical information. django-pgstats is meant to be executed periodically so that one can later analyze table and index usage. This is done by periodically calling python manage.py snapshot pgstats using a task runner such as Celery. Stats are stored as JSON fields in the respective IndexStats and TableStats models. Each key in the JSON field is in the format of {schema}.{table} for table stats or {schema}.{table}.{index} for index stats. Compatibility django-pgstats is compatible with Python 3.10 - 3.14, Django 4.2 - 6.0, Psycopg 2 - 3, and Postgres 14 - 18. Documentation View the django-pgstats docs here Installation Install django-pgstats with: pip3 install django-pgstats After this, add pgstats to the INSTALLED APPS setting of your Django project. Contributing Guide For information on setting up django-pgstats for development and contributing changes, view CONTRIBUTING.md. Creators - @wesleykendall (Wes Kendall) - @tomage (Tómas Árni Jónasson)","default_branch":null,"files":null,"tree":[],"storefront":"/r/AmbitionEng","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AmbitionEng/django-pgstats/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}