2008-10-14, 07:50 PM
Dear friends,
first of all, i have to apologize for my terrible english, i hope that this message will be easy to understand even if this is not my native language.
i am using mybboard 1.4.2 for www.angelmule.com, with success.
i have upgrade the forum from 1.2 to 1.4 almost without problem.
I am experience some performance trouble, the server load is quite high, and mysql cpu usage is growing very high.
the forum actually have 23K users registered, with about 6K visitors per day.
The forum is hosted on one of my server (dedicated one) but he have to "live" with other application that aren't so happy of high load and high mysql usage.
Using a bin log analyzer, i have take a look to some of mysql log, to know wich query are the most executed, to try to optimize my applications, and that's is what coming out.
________________ 001 ___
Count : 60.78k (15.24%)
Query abstract:
SET timestamp=N; UPDATE edk_sessions SET uid='S', time='S', location='S', useragent='S', location1='S', location2='S', nopermission='S' WHERE sid='S' LIMIT N;
________________ 002 ___
Count : 42.39k (10.63%)
Query abstract:
SET timestamp=N; UPDATE edk_users SET lastactive='S', timeonline=timeonline+N WHERE uid='S';
________________ 003 ___
Count : 29.94k (7.51%)
Query abstract:
SET timestamp=N; SET @@session.character_set_client=N,@@session.collation_connection=N,@@session.collation_server=N; UPDATE edk_sessions SET uid='S', time='S', location='S', useragent='S', location1='S', location2='S', nopermission='S' WHERE sid='S' LIMIT N;
________________ 004 ___
Count : 28.56k (7.16%)
Query abstract:
SET timestamp=N; REPLACE INTO edk_threadsread (tid, uid, dateline) VALUES('S', 'S', 'S')1;
reading this table, seems quite obvius that the most common query are issued by www.angelmule.com (i can say that by looking at the prefix edk_)
For that reason i am here to ask for suggest and consult, to understand if i can reduce a bit the number of query, and if yes, how
tnx for help!
first of all, i have to apologize for my terrible english, i hope that this message will be easy to understand even if this is not my native language.
i am using mybboard 1.4.2 for www.angelmule.com, with success.
i have upgrade the forum from 1.2 to 1.4 almost without problem.
I am experience some performance trouble, the server load is quite high, and mysql cpu usage is growing very high.
the forum actually have 23K users registered, with about 6K visitors per day.
The forum is hosted on one of my server (dedicated one) but he have to "live" with other application that aren't so happy of high load and high mysql usage.
Using a bin log analyzer, i have take a look to some of mysql log, to know wich query are the most executed, to try to optimize my applications, and that's is what coming out.
________________ 001 ___
Count : 60.78k (15.24%)
Query abstract:
SET timestamp=N; UPDATE edk_sessions SET uid='S', time='S', location='S', useragent='S', location1='S', location2='S', nopermission='S' WHERE sid='S' LIMIT N;
________________ 002 ___
Count : 42.39k (10.63%)
Query abstract:
SET timestamp=N; UPDATE edk_users SET lastactive='S', timeonline=timeonline+N WHERE uid='S';
________________ 003 ___
Count : 29.94k (7.51%)
Query abstract:
SET timestamp=N; SET @@session.character_set_client=N,@@session.collation_connection=N,@@session.collation_server=N; UPDATE edk_sessions SET uid='S', time='S', location='S', useragent='S', location1='S', location2='S', nopermission='S' WHERE sid='S' LIMIT N;
________________ 004 ___
Count : 28.56k (7.16%)
Query abstract:
SET timestamp=N; REPLACE INTO edk_threadsread (tid, uid, dateline) VALUES('S', 'S', 'S')1;
reading this table, seems quite obvius that the most common query are issued by www.angelmule.com (i can say that by looking at the prefix edk_)
For that reason i am here to ask for suggest and consult, to understand if i can reduce a bit the number of query, and if yes, how

tnx for help!