Welcome, Guest. Please Login or Register.
August 28, 2025, 06:52:48 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  MySQL performance « previous next »
Pages: [1] Reply Ignore Print
Author Topic: MySQL performance  (Read 529 times)
gfdsa
Noobie
*
Posts: 7


I'm a llama!

MySQL performance
« on: April 07, 2002, 10:19:51 AM »
Reply with quote

Hello all!

I need help in finding a solution, i will really appreciate any help from ppl...

Im hosting a board at http://www.hwzone.co.il/community
Everything is cool except MySQL which makes all the buisness really slow, a hit on index.php makes MySQL jump to 80%-90% of cpu usage, this issue makes the index page to opened ~30-40 sec when there are 150-200 users on board, in such hours system load gets to 1000% on the box.

IMHO the board is kinda big, about 7000 topics, 70000 posts and 1800 members, database is about 25M
but still i dont see  any reason for this issue.

Can anyone give me a clue what i miss?
Thanks a lot.
Logged
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:MySQL performance
« Reply #1 on: April 07, 2002, 10:32:10 AM »
Reply with quote

As far as I know it's more YaBB SE performance than MySQL. Although YaBB SE is fast, a lot of the code hasn't been optimised. The database could do with better indexes and queries - all I can suggest is splitting some of the larger boards into smaller ones so there isn't as many posts in each one. :-\
Logged

You can't have everything... where would you put it? -- Steve Wright
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:MySQL performance
« Reply #2 on: April 07, 2002, 02:33:56 PM »
Reply with quote

I have to agree, we haven't optimized it as much as possible yet.  So while you're seeing a big hit on the index, in some tests we've done - we've managed to knock something like 70% of the waste off of it.

So we are optimizing now but the versions out now, aren't :(
Logged

Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:MySQL performance
« Reply #3 on: April 08, 2002, 06:19:40 PM »
Reply with quote

If you want to find out more check out the documentation board - Groundup and I are working on tidying up the code: then we'll optimise it as much as possible (without having to re-write YaBB ;) ).
Logged

You can't have everything... where would you put it? -- Steve Wright
Purple Raine
Beta Tester
Full Member
***
Posts: 141


Who's Yo Daddy?

WWW
Re:MySQL performance
« Reply #4 on: April 08, 2002, 07:10:59 PM »
Reply with quote

Awesome.... Great to know people are onto it!

I'm at 4700 topics, 50000 posts, 2500 users... and the queries are really sucking CPU... (and i'm on shared hosting)...

I look forward to the next one =)
Logged
gfdsa
Noobie
*
Posts: 7


I'm a llama!

Re:MySQL performance
« Reply #5 on: April 08, 2002, 07:25:22 PM »
Reply with quote



Well,
First of all, thank you for your replies, but i must inform you that yabb is not so bad! i optimized tables (what i was sure webmaster does everyday :-), and now with >250 users index.php opens in 6-7 sec, load average on box less than 300%, (sure i would like this number to get to 100% at least). Then after 5-7 minutes it starts to slow down, and aprr. in 30 min 30 sec delays come back. I'm not sure i know what is this issue, is it because of table sizes?
And should i really do optimizing every 15 minutes? i was sure it must be done once in a 24 hours or something.
May be i should try it running in not safe mode?
Does MySQL locks the table when it does insert?
Should i try to lower priority of inserts?
Sorry guys for this amount of questions, i need an advice.....
Thank you again
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  MySQL performance « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.031 seconds with 17 queries.