Project

Profile

Help

Task #6742

closed

Add indexes to the models for better performance

Added by ipanova@redhat.com almost 4 years ago. Updated about 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 94
Quarter:
Q2-2021

Description

for example for pulp2lazycatalog we'd have:

indexes = [

  •        models.Index(fields=['pulp2_content_type_id']),
    
  •        models.Index(fields=['pulp2_id']),
    
  •        models.Index(fields=['pulp2_last_updated'])
    

Also available in: Atom PDF