phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
discuss about phpBB3 and db high load
Goto page 1, 2  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
::  
Author Message
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

discuss about phpBB3 and db high loadPosted: Thu Mar 15, 2007 4:07 pm    Post subject: discuss about phpBB3 and db high load

hello every body in very good forum Smile

i want to ask does phpBB3 will destroy db high load & alot of Queries

in db

my server will destroy soon becouse my database have very high load

i uninstall all un necessary mods

but i have big problem with my db & very big high load

i hope phpBB3 have soulation for that

any idea? Very Happy

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15129

discuss about phpBB3 and db high loadPosted: Fri Mar 16, 2007 12:31 pm    Post subject: Re: discuss about phpBB3 and db high load

Destroy may be a bit too much, but yes, phpBB3 is better designed as far as DB load than 2.0.x.

But big forums will always need more resources. So in your case it depends, phpBB3 will help out, but it could end up not being enough if your forum is really bigger than your server can handle.

First thing to do could be to separate sql server and web server in case you're running a dedicated server, or to go for a dedicated if not already.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

discuss about phpBB3 and db high loadPosted: Fri Mar 16, 2007 7:29 pm    Post subject: Re: discuss about phpBB3 and db high load

dcz wrote:
Destroy may be a bit too much

++


Sad Sad Sad

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

discuss about phpBB3 and db high loadPosted: Sat Mar 17, 2007 4:44 am    Post subject: Re: discuss about phpBB3 and db high load

if i empety

sessions_keys table

sessions table

does that effect in every thing in my forum

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

discuss about phpBB3 and db high loadPosted: Sat Mar 17, 2007 11:49 am    Post subject: Re: discuss about phpBB3 and db high load

what can i do untiel i go to deticted server to make a load low

what do you think hacks may be make load down in my forum

if anyone have any soulation to me please tell me

and if i want to convert to phpbb3 this days does

phpBB-SEO-Simple-mod-Rewrite

Optimal_titlesV_1.0.0

gym_sitemaps

is ready or no

really i wont to go to vb Sad

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15129

discuss about phpBB3 and db high loadPosted: Sat Mar 17, 2007 12:27 pm    Post subject: Re: discuss about phpBB3 and db high load

You can empty the sessions and sessions keys tables, it will just reset the auto log-in keys and will drop all of your user sessions.

You user will just have to re log-in after the clear up, and to re select auto log-in in case they had.

Now, we're a bit off topic talking about phpBB2.

You can try two things though, installing the phpBBstyles.com SQL cache mod can help out : http://www.phpbbstyles.com/viewtopic.php?t=8873

And once phpBB.com will be up again, I suggest you start reading the tweak for large forum thread : http://www.phpbb.com/phpBB/viewtopic.php?t=135383

One simple and efficient one is for if you do only use one style : http://www.phpbb.com/phpBB/viewtopic.php?p=2127995#2127995

This post from drathbun, among others, is a good one : http://www.phpbb.com/phpBB/viewtopic.php?p=2005778#2005778

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
HB
phpBB SEO Team
phpBB SEO Team


Joined: 16 Oct 2006
Posts: 812

discuss about phpBB3 and db high loadPosted: Sat Mar 17, 2007 3:27 pm    Post subject: Re: discuss about phpBB3 and db high load

mhmdkhamis wrote:
but i have big problem with my db & very big high load

i hope phpBB3 have soulation for that

any idea? Very Happy

I don't know if phpBB3 is dramatically more efficient in its SQL queries, but I doubt it is a panacea for performance problems. Have you done analysis of how much time for page rendering goes to SQL calls and how much to page generation? My concern is that you'll go to all the trouble of migrating to another (not yet supported version) or switch to another implementation, only to find the exact same problems.

Your board's view online lists what looks like a couple hundred users at the moment. Drathbun's posts on phpBB give great advice on bandwidth and server requirements he's used over the years. It's possible that your database usage is completely "normal" for your site's traffic. Collecting data is the first step in making that determination (Google's analytics is free and provides very good quality data).

One way you could improve your site's efficiency is by limiting MODs that cost performance to logged in users. For example, your site currently lists all the logged in users by creating a hyperlink to their profile, even showing these links to guests. I suggest skipping that code if the user is not logged in and instead showing the number of logged in users instead of a list of them. The purpose is to make the page loading very light for guests and only heavier for logged in users. Typically the lurkers outnumber the logged in members and you could save a lot in SQL calls.

Frequently forum webmasters blame phpBB for being slow, but don't realize that the mods they've applied over the years have dramatically increased the number of SQL calls per page. I recommend verifying that is not the case; you may be surprised how easy it is to inadvertently double the number of SQL calls for "cosmetic" improvements.

Here's an obvious problem:

http://internetsupervision.com/scripts/urlcheck/check.aspx?checkurl=http%3A%2F%2Fwww.paramegsoft.com%2Fforum%2F

According to this, your forum page load is 78K once all the images are cached. phpbb-seo's is 67K. Mine is 25K (modified) while the original phpBB install is 27K (hey, I didn't notice that until now; good job Dan! Very Happy).

I also checked out your pages with this site. You have some MEGA HUGE gifs!

http://www.websiteoptimization.com/services/analyze/

Quote:
Total HTTP Requests: 86
Total Size: 456685 bytes


The worst offenders are linked to another site, like this one:

http://www.3arabsoft.com/site/adv/dload.gif (118K)

By the way, the report also listed a couple "not found" gifs. You may want to look into that. In conclusion, I think there's enough evidence to conclude you could improve your site's performance by cleaning up the existing usage of GIFs and SQL. Another handy tool for quick checks is the Firefox Load Time Analyzer. It shows in a graphical view how much time is going to each element of your page.

_________________
Dan Kehn
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

discuss about phpBB3 and db high loadPosted: Sat Mar 17, 2007 9:25 pm    Post subject: Re: discuss about phpBB3 and db high load

dcz wrote:
You can empty the sessions and sessions keys tables, it will just reset the auto log-in keys and will drop all of your user sessions.

You user will just have to re log-in after the clear up, and to re select auto log-in in case they had.

Now, we're a bit off topic talking about phpBB2.

You can try two things though, installing the phpBBstyles.com SQL cache mod can help out : http://www.phpbbstyles.com/viewtopic.php?t=8873

And once phpBB.com will be up again, I suggest you start reading the tweak for large forum thread : http://www.phpbb.com/phpBB/viewtopic.php?t=135383

One simple and efficient one is for if you do only use one style : http://www.phpbb.com/phpBB/viewtopic.php?p=2127995#2127995

This post from drathbun, among others, is a good one : http://www.phpbb.com/phpBB/viewtopic.php?p=2005778#2005778

++


thank u dcz

when phpbb.com back i will read that Smile

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

discuss about phpBB3 and db high loadPosted: Sat Mar 17, 2007 9:29 pm    Post subject: Re: discuss about phpBB3 and db high load

thank u HB for your replay and good ideas Smile

Quote:

One way you could improve your site's efficiency is by limiting MODs that cost performance to logged in users. For example, your site currently lists all the logged in users by creating a hyperlink to their profile, even showing these links to guests. I suggest skipping that code if the user is not logged in and instead showing the number of logged in users instead of a list of them. The purpose is to make the page loading very light for guests and only heavier for logged in users. Typically the lurkers outnumber the logged in members and you could save a lot in SQL calls.


can u give me this mod or code

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
HB
phpBB SEO Team
phpBB SEO Team


Joined: 16 Oct 2006
Posts: 812

discuss about phpBB3 and db high loadPosted: Sat Mar 17, 2007 9:43 pm    Post subject: Re: discuss about phpBB3 and db high load

Sorry, I don't have a prepackaged mod to give you. Why don't you modify your own implementation? Modify your SQL call based on a test of $userdata['session_logged_in'], then modify your template:

Code:
<!-- BEGIN switch_user_logged_in -->   
... template markup showing member links ...
<!-- END switch_user_logged_in -->   
<!-- BEGIN switch_user_logged_out -->   
... template markup showing member count ...
<!-- END switch_user_logged_out -->   


Keep in mind that I'm not saying this is the cause of your performance problem. There are likely 40-50 changes you've made that have brought about the problem. How does the site perform if you have a purely unmodified phpBB install? I have a lightly modified version of my board (only change overall_header.tpl and overall_footer.tpl) that I use for performance comparisons. That's step #1, i.e., see if your mods have caused this problem.

There's a saying in the performance tuning business: The system didn't get slow in one day, and it won't get fast in one day.

_________________
Dan Kehn
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

discuss about phpBB3 and db high loadPosted: Sun Mar 18, 2007 10:49 am    Post subject: Re: discuss about phpBB3 and db high load

thabk u HB i install cash mod for doode and wait today to see

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

discuss about phpBB3 and db high loadPosted: Fri Mar 23, 2007 8:51 am    Post subject: Re: discuss about phpBB3 and db high load

i install Who is online time edit

does it effect im my forum load & make it less more

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 159
Location: Turkey

discuss about phpBB3 and db high loadPosted: Fri Mar 23, 2007 9:41 am    Post subject: Re: discuss about phpBB3 and db high load

mhmdkhamis

gzip setting set to "on" open.

and check .htaccess codes.
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

discuss about phpBB3 and db high loadPosted: Fri Mar 23, 2007 10:05 am    Post subject: Re: discuss about phpBB3 and db high load

lavinya wrote:
mhmdkhamis

gzip setting set to "on" open.

and check .htaccess codes.


my gzip is off

do u saw it on

and what about .htaccess

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15129

discuss about phpBB3 and db high loadPosted: Fri Mar 23, 2007 12:39 pm    Post subject: Re: discuss about phpBB3 and db high load

By the way, looking at phpBB3 page loading time :

Quote:
Time : 0.215s | 8 Queries | GZIP : Off


With only :

Quote:
In total there are 2597 users online


I think that the difference in load will be appreciable Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
Page 1 of 2 Goto page 1, 2  Next

Navigation Similar Topics

Jump to: