Opened 6 years ago

Closed 5 years ago

#2240 closed defect (fixed)

Search speed issue on regulated taxonomy

Reported by: Kurt Endress Owned by: Kay Kittell
Priority: medium Milestone:
Component: Public Website 2 Version: N/A
Severity: Keywords:
Cc: kurt.endress@… Database Engine: N/A
Operating System: N/A

Description

The PW search page is slow to return searches on some taxonomy with many taxonomy regulation map entries. I noticed this searching for Avena fatua, but it is also a problem with other taxon such as Daucus carota, Brassica juncea, Sorghum halepense, Cynodon dactylon, Aegilops cylindrica, Leucanthemum vulgare, Poa annua.

The problem stems from the SQL used to check regulations in the dataviews web_search_overview_2 and web_search_overview_noimage_2.

Change History (2)

comment:1 by Kurt Endress, 6 years ago

Status: new → addressed

I made changes to how availability is calculated in dataviews web_search_overview_2 and web_search_overview_noimage_2 on npgsDev. This corrects the speed issue and some other minor regulation issues.

Besides the species mentioned above, I used these as test cases for CITES restrictions: Cylindropuntia imbricata, Selenicereus trigonus, Euphorbia micromera, Euphorbia heterophylla, Selenicereus spp., Encyclia tampensis

comment:2 by Kurt Endress, 5 years ago

Resolution: → fixed
Status: addressed → closed
Note: See TracTickets for help on using tickets.