-
Notifications
You must be signed in to change notification settings - Fork 5
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
Poor performance with large number of entries #3
Comments
Yeah, it's getting all entries ... I'm thinking for a solution. |
Well, sadly it is beyond my SQL knowledge. I read some solutions out there but can't fit them with Symphony. I'll let this issue open, perhaps there's someone else with better understanding about the thing. |
@animaux Do you mind trying out my fork to see if the prepared SQL queries help here? https://github.com/andrewminton/entry_nav/tree/integration It doesn't take Sorting Field into account yet, as it's going straight to the entries table and looking ahead/behind the entry id to get it's next/prev entries for now. |
@vlad-ghita many thanks for looking into this! @andrewminton thanks for this mod. Seems to do the trick fine in this case. Maybe this fork should become a seperate extension of it’s own e. g. |
For consistency, I recommend implementing the correct sort order. Otherwise, content editors will be puzzled by different prev / next entries other than the ones from main listing. This morning, I had an idea. Will have a look this evening to see if I can implement it. |
@vlad-ghita sounds like good plan to go! No hurries though :) |
@vlad-ghita I agree. Was looking at the limit and offset options in the On 20 May 2014 08:06, animaux [email protected] wrote:
|
Would caching the $entries array help in this instance? We could cache the returned result for future use maybe? therefore removing a bit of the load. I see no way to look ahead and behind the current entry ID without pulling the whole section results first at the moment. |
Not really because you would then need to bust the cache on entry Create and Delete => another headache. There is need of custom SQL taken from |
@vlad-ghita @andrewminton any news on this? :) |
Nope. And I gave up searching for a solution. |
:{ I have to tackle a similar problem in the frontend. Will let you know if I succeed :) |
@andrewminton just revisited this old problem which is still a problem of mine |
I have serious performance problems with large numbers of entries in a section. One site has about 5000 entries and getting really slow with the extension enabled.
Is
entry nav
fetching the entire list of entries to get the next/previous ids?The text was updated successfully, but these errors were encountered: