Answer the question
In order to leave comments, you need to log in
What index would you recommend to create?
Hello!
There is a table that stores all the url paths on the site: There are
more than 40k
records. I am looking for the desired record with a query:
select * from path_urls where path = 'mgu' and model_type = 'App\\EducationalInstitution'
Answer the question
In order to leave comments, you need to log in
make sane value classifiers for path and model_type and a regular composite index on these two fields
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question