Changes between Initial Version and Version 1 of Ticket #30256, comment 5


Ignore:
Timestamp:
Mar 21, 2019, 12:12:01 PM (6 years ago)
Author:
George Tantiras

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30256, comment 5

    initial v1  
    55The answer is that the queries are reduced in PostgreSQL and not in SQLite.
    66
    7 I incorporated the debug toolbar in that project and arranged it to use a Postgresql database with [https://github.com/raratiru/autobug/blob/master/autobug/settings.py#L81 those credentials].
    8 
    9 I uploaded the `queries*.txt` files which report all the queries from debug toolbar either with their full traceback or only the queries.
    10 
    11 I also uploaded a db.json file with all the database contents in json format.
    12 
    137Here, I paste the queries for the url http://127.0.0.1:8000/admin/inl/child3/1/change/.
    14 
    15 The url http://127.0.0.1:8000/admin/inl/master/1/change/  has many more queries because it includes all other models as inlines.
    168
    179[https://github.com/raratiru/autobug/blob/master/queries_only_django-autocomplete.txt The queries]:
     
    3830
    3931The complete traceback cam be found in [https://github.com/raratiru/autobug/blob/master/queries_django-autocomplete.txt this file].
     32
     33The url http://127.0.0.1:8000/admin/inl/master/1/change/  has many more queries because it includes all other models as inlines.
     34
     35There are some additions to my project in order to reproduce easily the above:
     36
     37* I incorporated the debug toolbar in that project and arranged it to use a Postgresql database with [https://github.com/raratiru/autobug/blob/master/autobug/settings.py#L81 those credentials].
     38
     39* I uploaded the `queries*.txt` files which report all the queries from debug toolbar either with their full traceback or only the queries.
     40
     41* I also uploaded a `db.json` file with all the database contents in json format.
Back to Top