Previous Thread
Next Thread
Print Thread
Hop To
#213872 06/02/2008 11:22 AM
Joined: Aug 2006
Posts: 583
old hand
old hand
Joined: Aug 2006
Posts: 583
Rick, et al,

I posted in another thread about my forum on occasion becoming extremely slow and sometimes just plain locking up. I ran the script Dave D pointed me to and made some suggested fixes, but the problem persists. I've turned on slow query logging and and have been slogging through that log to see if I can find any common problem queries. In the meantime, I have noticed that on those occassions when the forum gets extremely slow or just locks up, I go and look at "SQL Processes" and see a bunch of queries with a "locked" status.

Based on that I did some research and learned that there can be a problem with locked tables when a very long query is being done. It seems this is more of a problem when the table type is MyISAM versus InnoDB. I am just wondering if, due to my forum now being rather large after 8 years, that the Table type for some of my larger tables "might" be a problem? Just wondering if anyone has any experience with the two different table types and whether you think this "might" be part of my problem?

Basil

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
the only table to worry about is ubbt_POSTS -- i have a site where that table is 1.6gig and runs fine..

i've always wanted to split the posts table up and syphon off the POST_BODY or DEFAULT_POST_BODY as its own parallel table.. that would divide table size by roughly half

MyISAM shouldn't be a prob..

Also, once you are 'up / running smooth' -- turn off the slow query dealio.. that should only be there as a temp. tool smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
4 members (Baldeagle, Ruben, ahmed047, 1 invisible), 807 guests, and 146 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)