Calgarypuck Forums - The Unofficial Calgary Flames Fan Community

Go Back   Calgarypuck Forums - The Unofficial Calgary Flames Fan Community > Miscellaneous > Help/Suggestions
Register Forum Rules FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 01-17-2014, 09:11 AM   #21
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Oh hey, I turned on the slow query log at some point in the past. 200MB of slow query log, yay.

But this is helpful, can see what queries are taking so long and what's related to them, so maybe then figure out what's the root cause (i.e. a specific thread, a specific page, etc)
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 01-17-2014, 09:36 AM   #22
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

I was able to reproduce at least one of the issues.

I'm going to mention the issue, but PLEASE refrain from trying it yourself just out of curiosity.

Under the search dropdown, there's an option to find all thanked posts, this query is taking a very long time to run.

I'm trying to figure out a way to either speed up the query or disable the option entirely without disabling the thanks add-in.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 01-17-2014, 09:42 AM   #23
Vox
Scoring Winger
 
Vox's Avatar
 
Join Date: Jul 2008
Location: Calgary, AB
Exp:
Default

Quote:
Originally Posted by photon View Post
I was able to reproduce at least one of the issues.

I'm going to mention the issue, but PLEASE refrain from trying it yourself just out of curiosity.

Under the search dropdown, there's an option to find all thanked posts, this query is taking a very long time to run.

I'm trying to figure out a way to either speed up the query or disable the option entirely without disabling the thanks add-in.
Vanity, thy name is . . . CP?
Vox is offline   Reply With Quote
Old 01-17-2014, 09:54 AM   #24
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default



Just trying to add an index for # of thanks to the post table so it doesn't have to table scan through 4.5 million rows every time. This will probably slow things down while it creates the index.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 01-17-2014, 09:54 AM   #25
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default



Just trying to add an index for # of thanks to the post table so it doesn't have to table scan through 4.5 million rows every time. This will probably slow things down while it creates the index.

EDIT: Now that I think about it that's a baaaad idea at this point, it'll try and create a copy of the post table.. I'd have to take the forum offline for who knows how many hours to add that index. Hm...
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 01-17-2014, 10:15 AM   #26
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Ok removed the thanked post search, that should get rid of one of the worst offenders.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 01-17-2014, 11:35 AM   #27
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Just had a few more long queries, both were for queries related to the original funny post thread and the original gear grinding thread, might have to move those threads to the moderator area for now.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 01-17-2014, 11:39 AM   #28
Locke
Franchise Player
 
Locke's Avatar
 
Join Date: Mar 2007
Location: Income Tax Central
Exp:
Default

Quote:
Originally Posted by photon View Post
Ok removed the thanked post search, that should get rid of one of the worst offenders.


Now how will I know if they love me???? Howwwww???????
__________________
The Beatings Shall Continue Until Morale Improves!

This Post Has Been Distilled for the Eradication of Seemingly Incurable Sadness.

The World Ends when you're dead. Until then, you've got more punishment in store. - Flames Fans

If you thought this season would have a happy ending, you haven't been paying attention.
Locke is offline   Reply With Quote
The Following 7 Users Say Thank You to Locke For This Useful Post:
Old 01-17-2014, 11:41 AM   #29
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Moved the original funny picture thread and the gear grinding thread to the moderator area, I don't know if it was users viewing them or Google indexing them.

I guess that's a good indication that we should limit the maximum thread size.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 01-17-2014, 03:27 PM   #30
Vox
Scoring Winger
 
Vox's Avatar
 
Join Date: Jul 2008
Location: Calgary, AB
Exp:
Default

Well, the server resources look much better after Photon's changes. So, nice job Photon.
Vox is offline   Reply With Quote
The Following User Says Thank You to Vox For This Useful Post:
Old 01-17-2014, 04:10 PM   #31
Resolute 14
In the Sin Bin
 
Resolute 14's Avatar
 
Join Date: Jan 2003
Exp:
Default

Quote:
Originally Posted by photon View Post
Moved the original funny picture thread and the gear grinding thread to the moderator area, I don't know if it was users viewing them or Google indexing them.

I guess that's a good indication that we should limit the maximum thread size.
Does this mean we can now blame the mods every time the forum slows down, since you're the only ones that can view those threads?
Resolute 14 is offline   Reply With Quote
The Following 4 Users Say Thank You to Resolute 14 For This Useful Post:
Old 01-17-2014, 06:20 PM   #32
dash_pinched
Franchise Player
 
dash_pinched's Avatar
 
Join Date: Jan 2010
Location: Maple Bay, B.C.
Exp:
Default

I don't know how often this occurs, but on another site powered by vBulletin software, we were instructed to close threads once they hit a 10,000 post total as it had an adverse effect on performance. Just throwing it out there.
dash_pinched is offline   Reply With Quote
Old 01-17-2014, 10:58 PM   #33
Stealth22
Powerplay Quarterback
 
Join Date: Nov 2010
Exp:
Default

Thanks for all the hard work, photon. I know from experience, nailing down some of this stuff can be challenging sometimes.

I thought the slowdowns were just my connection, haha.
Stealth22 is offline   Reply With Quote
Old 01-17-2014, 11:07 PM   #34
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Yeah I've seen the 10,000 post thing on other forums too guess we'll have to keep the same kind of thing.

No worries, debugging stuff like this is something I actually enjoy quite a bit, as much as supporting other people's code sucks in some ways it's like a puzzle, my last job had a component that was the same and digging in to get a 1000% improvement on something by tweaking old (often terrible) code was always rewarding.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
The Following User Says Thank You to photon For This Useful Post:
Old 01-18-2014, 08:48 AM   #35
Vox
Scoring Winger
 
Vox's Avatar
 
Join Date: Jul 2008
Location: Calgary, AB
Exp:
Default

Quote:
Originally Posted by photon View Post
Yeah I've seen the 10,000 post thing on other forums too guess we'll have to keep the same kind of thing.

No worries, debugging stuff like this is something I actually enjoy quite a bit, as much as supporting other people's code sucks in some ways it's like a puzzle, my last job had a component that was the same and digging in to get a 1000% improvement on something by tweaking old (often terrible) code was always rewarding.

Wow, then do I ever have a job for you - you would like it so much you would PAY ME to do it!
Vox is offline   Reply With Quote
Old 01-18-2014, 08:26 PM   #36
MrMastodonFarm
Lifetime Suspension
 
MrMastodonFarm's Avatar
 
Join Date: Oct 2001
Exp:
Default

since we're trimming the fat, can you remove visitor messages? Remove features people don't use.
MrMastodonFarm is offline   Reply With Quote
Old 01-20-2014, 09:04 PM   #37
puckluck2
Lifetime Suspension
 
Join Date: Jul 2012
Exp:
Default

Forum pretty slow again right now. Is it possible the server is just slow?
puckluck2 is offline   Reply With Quote
Old 01-20-2014, 09:33 PM   #38
Vox
Scoring Winger
 
Vox's Avatar
 
Join Date: Jul 2008
Location: Calgary, AB
Exp:
Default

I see a huge spike on the DB a couple of minutes after 9:00, which corresponds to your post. A few ripples of high use for the next minute or two, then back down to normal. I'm guessing it was a query of some sort along the lines Photon saw last week. Average resources usage is down quite a bit after his recent changes, however.
Vox is offline   Reply With Quote
The Following 3 Users Say Thank You to Vox For This Useful Post:
Old 01-20-2014, 09:42 PM   #39
Vox
Scoring Winger
 
Vox's Avatar
 
Join Date: Jul 2008
Location: Calgary, AB
Exp:
Default

Semi-related, but apropos of nothing, anyone want to guess where Tortorella went nuts? Servers held up better than Tortorella from what I could see. No reports of slow down!

Vox is offline   Reply With Quote
The Following 3 Users Say Thank You to Vox For This Useful Post:
Old 01-20-2014, 10:38 PM   #40
getbak
Franchise Player
 
getbak's Avatar
 
Join Date: Feb 2006
Location: Calgary, AB
Exp:
Default

The old weather plugin used to slow page loads for me to the point that I had to block it. I was having problems with slow loading again tonight and blocked the new weather plugin and haven't had a slow down since.
__________________
Turn up the good, turn down the suck!
getbak is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:41 AM.

Calgary Flames
2024-25




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright Calgarypuck 2021 | See Our Privacy Policy