How to decrease query execution time MySql -


It's my MySQL database view.

  Create View schools as select schools. *, Conference.conference_name, conference.division_id, division.division_level, facility.facility_address, group_concat (different facility.facility_name) Athletic_Venue the school conference interiors Join the school.conference_id = conference.conference_id Insider on conference.division_id = division.division_id join Left partition school school school school school school schooling skills in school to facilitate school school school school school school school school school Skils_aid school of Flatibiliteeportport Fiksl Join feature Titisposstorporets. > 20 thousand records in database tables Now the query execution time is 13 seconds, so I'll open this view in the database. Query increased the time of operation when searching for the name of any school with the operator. Please suggest anything to reduce the query execution time. 

First to create index conference_id, division_id, school_id, facilitytosports_id, Facility_id If you already have not done it. View


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -