Closed MichaelAquilina closed 10 years ago
Creating an Index on existing data proved to be way too slow. Next database index to be created should include an Index on Counter however to increase join speeds.
The next database created will include an index for Counter (included in setup() of wiki.py)
Adding an ORDER BY Counter; to a query will instantly make query performance slower (without actually affecting fetch performance of course). This is because it does not have an index. This means it should either be avoided or an Index should be added (but the cardinality of the index wont be too high due to lots of duplicate Counter values).