Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number field 6.0.7200000.1 very slow to load #2253

Closed
AndrewVSutherland opened this issue Sep 5, 2017 · 8 comments
Closed

Number field 6.0.7200000.1 very slow to load #2253

AndrewVSutherland opened this issue Sep 5, 2017 · 8 comments
Labels
number fields Number fields

Comments

@AndrewVSutherland
Copy link
Member

The page http://www.lmfdb.org/NumberField/6.0.7200000.1 times out. It will sometimes load in beta (http://beta.lmfdb.org/NumberField/6.0.7200000.1), but is very slow there as well.

@AndrewVSutherland AndrewVSutherland added the number fields Number fields label Sep 5, 2017
@edgarcosta
Copy link
Member

I believe that is same issue that I reported last night: LMFDB/lmfdb-inventory#69

I believe there is a typo in one of the indices.
We have indexed 'oldpolredabscoeffshash' and I believe we meant to hash 'oldpolredabscoeffhash' (no s).

2017-09-05T16:37:52.748+0000 I COMMAND  [conn198753] command numberfields.fields command: 
find { find: "fields", filter: { oldpolredabscoeffs: "-1011,3531,-6417,6935,-3036,-1626,2701,-849,-384,282,-3,-21,-7,3,-3,1", oldpolredabscoeffhash: "12781c3f7679cb4549eb8eb9e26c7070" }, limit: 1, singleBatch: true } 
planSummary: COLLSCAN keysExamined:0 docsExamined:7669894 cursorExhausted:1 keyUpdates:0 writeConflicts:0 numYields:59923 nreturned:0 reslen:125 locks:{ Global: { acquireCount: { r: 119848 } }, Database: { acquireCount: { r: 59924 } }, Collection: { acquireCount: { r: 59924 } } } 
protocol:op_query 30169ms

@edgarcosta
Copy link
Member

I will create the index now. Hold tight.

@jwj61
Copy link
Member

jwj61 commented Sep 5, 2017

OK (I was about to do it as well).

@edgarcosta
Copy link
Member

Index added on production and development.

However, as admin I can't drop indexes...

2017-09-05T16:55:17.310+0000 I ACCESS   [conn198939] Unauthorized: not authorized on numberfields to execute command { dropIndexes: "fields", index: "oldpolredabscoeffshash" }

@jwj61, could you do that for me?

@jwj61
Copy link
Member

jwj61 commented Sep 5, 2017

Done on beta.

@JohnCremona
Copy link
Member

@edgarcosta if you need any permissions you don't currently have, you can have them.

@jwj61
Copy link
Member

jwj61 commented Sep 5, 2017

I don't think I have permission for the cloud version. At worst, this will be cleaned up the next time we update the number field database on the cloud, right?

@AndrewVSutherland
Copy link
Member Author

Thanks for fixing this promptly (this page is actually relevant to a talk John Voight is giving tomorrow morning in Trieste). I went ahead and dropped the oldpolredabscoeffshash index on the cloud (but you are correct @jwj61, it would automatically get cleaned up the next time the collection was copied from beta).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
number fields Number fields
Projects
None yet
Development

No branches or pull requests

4 participants