If you get a table scan then you are missing an index on the field from WHERE clause (likely 'group' column in your case).
If you get a table scan then you are missing an index on the field from WHERE clause (likely 'group' column in your case).
I had a bug where I was creating the index. now its about 50% faster down to about 30-40ms from 80.
Running:
RHEL 5.4
Python 2.7.2
Qt 4.7.4
SIP 4.7.8
PyQt 4.7
Bookmarks