Closed
Bug 647346
Opened 15 years ago
Closed 15 years ago
flaggings field should have db_index=True
Categories
(Websites Graveyard :: markup.mozilla.org, defect)
Websites Graveyard
markup.mozilla.org
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: wenzel, Assigned: adam)
Details
At least one view has this:
all_marks = Mark.objects.exclude(flaggings__gte=1)
The flaggings field should have a DB index.
In fact, a typical run of the app should now produce any queries that are inefficient.
Comment 1•15 years ago
|
||
from our team:
[master b7fc417] adding indexes for integer / datetime columns
2 files changed, 65 insertions(+), 3 deletions(-)
Comment 2•15 years ago
|
||
(In reply to comment #1)
> from our team:
>
> [master b7fc417] adding indexes for integer / datetime columns
> 2 files changed, 65 insertions(+), 3 deletions(-)
Please link to your commits; thanks.
Updated•15 years ago
|
Assignee: nobody → adam
| Assignee | ||
Comment 3•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 4•15 years ago
|
||
Fred (or anyone else), does the commit (comment 3) resolve this for the group?
Updated•4 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•