Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorchris
    • CommentTimeJul 31st 2008
     # 1
    recently, one of my threads is taking far longer than normal to load. it is quite a long thread, 50 pages and almost 2500 posts. you can click on the link in the discussions list, and the browser seems to hang for a good 10 seconds before loading the last page, slowly.

    any ideas on what may be causing it? is there any easy way i can find out what queries it is running for that page, and how long they are taking?

    thanks in advance!
    • CommentAuthorchris
    • CommentTimeJul 31st 2008
     # 2
    btw, that's 50 posts per page displayed. will vanilla run selects for every post in that thread, or just the ones on the displayed page?
    • CommentAuthorchris
    • CommentTimeAug 1st 2008
     # 3
    so, it appears that it's running queries for all 50 pages, even though it's only going to display one - surely this isn't that great an idea, right? :D

    is there any way to make this not happen in this fashion? i mean, it's not like any threads are going to get smaller in time, so this problem will come up again and again.
    •  
      CommentAuthorWallPhone
    • CommentTimeAug 1st 2008
     # 4
    Actually, core Vanilla does use the LIMIT clause to only retrieve 50 posts from the database no matter what.

    My guess would be you have my Comment Links extension installed--which must look through prior pages to see how many comments shouldn't be counted to get an accurate count for the deep page. If you disable that extension, it will speed way up.

    I have a fix planned for fixing this, but its waiting time to test it out.
    • CommentAuthorchris
    • CommentTimeAug 1st 2008 edited
     # 5
    hah! would you like me to test it out for you right now? :D

    (i do have comment links installed, and turning it off speeds up the larger threads a lot)
    •  
      CommentAuthorWallPhone
    • CommentTimeAug 1st 2008
     # 6
    WallPhone whispers link to beta...
    • CommentAuthorchris
    • CommentTimeAug 1st 2008
     # 7
    thanks wallphone!
    • CommentAuthormljones
    • CommentTimeAug 1st 2008
     # 8
    Could I test it out too?
    • CommentAuthorchris
    • CommentTimeAug 5th 2008
     # 9
    *bump* :)
    • CommentAuthorchris
    • CommentTimeAug 30th 2008
     # 10
    any ideas, mr. wallphone?
    •  
      CommentAuthorWallPhone
    • CommentTimeAug 31st 2008
     # 11
    Work is in progress... slowly but surely.
    • CommentAuthorchris
    • CommentTimeSep 3rd 2008
     # 12
    ok cool, thanks for that :)
Add your comments
    Username Password
  • Format comments as