I have just imported a Spatialite database into Postgresql/Postgis. The problem is: using QGIS to work with them is much slower in Postgis (spatial indexes created) than doing the same in Spatialite.
Is there any way to improve Postgis layers speed in QGIS?
EDIT:
Postgis is running on an external server while Spatialite database is on my local PC. Previously, I thought QGIS would cache all my loaded layers onto local disk, I just checked and found that I was wrong - every time I pan around in QGIS, network traffic on my Postgis database increase (right now I am the only one using this experimenting server).
Is there any way to make QGIS cache data locally to improve speed?
Use estimated table metadata
which makes it quicker to choose the layers. I don't think this affects panning though.