| :: |
| Author |
Message |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Thu Mar 15, 2007 4:07 pm Post subject: discuss about phpBB3 and db high load |
|
|
hello every body in very good forum
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?  |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
Posted: 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: 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
++ |
 |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: 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  |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 812
|
Posted: 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?  |
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! ).
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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sat Mar 17, 2007 9:25 pm Post subject: Re: discuss about phpBB3 and db high load |
|
|
thank u dcz
when phpbb.com back i will read that  |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: 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
| 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 |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 812
|
Posted: 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: 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 |
|
 |
lavinya PR1


Joined: 24 Jul 2006 Posts: 159 Location: Turkey
|
Posted: 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: 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 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
|
| Back to top |
|
 |
|
|