Comment 0 for bug 1434578

Revision history for this message
Ajaya Agrawal (ajayaa) wrote :

I am running MySql as backend and I can see two queries being done when I try to get an image.

In first query the tables images, image_locations and image_properties are joined and in another query tags related to that image are fetched from the db. These two can be combined to one query which will do a join of images, image_locations, image_properties and image_tags (join of these four tables happen when a call is made to get a list of all images).