Uploaded image for project: 'Olio'
  1. Olio
  2. OLIO-47

Suboptimal and unnatural queries in taggedEvents.php (tag search)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • php-app
    • None

    Description

      1. The query to obtain the number of references to a tag is done by select count... while there is already a refcount in the tags table. It is far more efficient to do a direct query on the tags table provided there is an index on the tag name (which should be rather natural).
      2. The search query still uses subqueries. Should change to join.

      Attachments

        Activity

          People

            akara Akara Sucharitakul
            akara Akara Sucharitakul
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: