LMFDB / lmfdb-inventory

inventory of the lmfdb database
3 stars 14 forks source link

genus2_curves.tamagawa_numbers #60

Closed edgarcosta closed 7 years ago

edgarcosta commented 7 years ago

This collection has no description and also has no indexes, which makes most of the queries quite slow.

I believe we only need to add a compound index on label and p.

Here are some queries that pop up in the log when we run the tests on the genus 2 curves directory. https://gist.github.com/4ed84c4523792a4c324978361c9786de

AndrewVSutherland commented 7 years ago

Index has been added to both beta and prod (page load times are now 150-200ms faster, good catch).

edgarcosta commented 7 years ago

Thanks

AndrewVSutherland commented 7 years ago

I also added a description of the tamagawa_number collection to the genus2_curves inventory.

edgarcosta commented 7 years ago

Great. Thank you very much