IM 1.4.1 Installation Upgrade Running Slow (SQL Queries)

Support for IntegraMOD 141

Moderator: Integra Moderator

IM 1.4.1 Installation Upgrade Running Slow (SQL Queries)

PostAuthor: Dr. Bantham » Sat Jan 20, 2007 9:45 am

My IM 1.4.0 Installation:
[Page generation time: 0.7759s (PHP: 82% | SQL: 18%) | SQL queries: 39 | GZIP enabled | Debug on]

My IM 1.4.1 Installation:
[Page generation time: 2.5245s (PHP: 82% | SQL: 18%) | SQL queries: 606 | GZIP enabled | Debug on]

integrmod.com:
[Page generation time: 0.6848s (PHP: 74% | SQL: 26%) | SQL queries: 40 | GZIP enabled | Debug on]

Why are there 606 SQL queries on my IM 1.4.1 Installation?
Last edited by Dr. Bantham on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: IM 1.4.1 Installation Upgrade Running Slow (SQL Queries)

PostAuthor: Dr. Bantham » Sun Jan 21, 2007 5:25 am

Am I the only one with this problem? Did anyone else get 10-20 times the number of queries as 1.4.0 after upgrading?
Last edited by Dr. Bantham on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

PostAuthor: tmotley » Sun Jan 21, 2007 7:43 am

Mine does not...

My 1.41 has 46 queries on first load of portal, 43 queries on subsequent loads, 64 queries on first load of index, and 58 on subsequent loads of the index.

Page generation times range from 0.500 to 2.500 seconds...
Last edited by tmotley on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:56 am
Cash on hand: 0.00
Location: Missouri, USA

Re: IM 1.4.1 Installation Upgrade Running Slow (SQL Queries)

PostAuthor: Teelk » Mon Jan 22, 2007 7:44 pm

That's very strange Dr. Bantham, there shouldn't be too many more queries then 140. What is your php and mysql version?
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: IM 1.4.1 Installation Upgrade Running Slow (SQL Queries)

PostAuthor: Dr. Bantham » Mon Jan 22, 2007 8:42 pm

"Teelk";p="20142" wrote:That's very strange Dr. Bantham, there shouldn't be too many more queries then 140. What is your php and mysql version?
PHP Version 4.4.4
MySQL Version 4.1.21
Last edited by Dr. Bantham on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: IM 1.4.1 Installation Upgrade Running Slow (SQL Queries)

PostAuthor: Teelk » Mon Jan 22, 2007 8:44 pm

Ok, I've got an idea. It could be that your CHMODs have reset and it's pulling all info about the forum from the DB instead of the includes/def_xxxx.php files. Check all your CHMODs and retest.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: IM 1.4.1 Installation Upgrade Running Slow (SQL Queries)

PostAuthor: Dr. Bantham » Mon Jan 22, 2007 9:02 pm

"Teelk";p="20152" wrote:Ok, I've got an idea. It could be that your CHMODs have reset and it's pulling all info about the forum from the DB instead of the includes/def_xxxx.php files. Check all your CHMODs and retest.
I suspect that you might be onto something here. I'll check these tomorrow and report back.
Last edited by Dr. Bantham on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: IM 1.4.1 Installation Upgrade Running Slow (SQL Queries)

PostAuthor: Dr. Bantham » Wed Jan 24, 2007 5:31 pm

"Teelk";p="20152" wrote:Ok, I've got an idea. It could be that your CHMODs have reset and it's pulling all info about the forum from the DB instead of the includes/def_xxxx.php files. Check all your CHMODs and retest.
Excellent call, Teelk. My SQL queries did fall back down to 50 in lieu of 606. However, the page load did not increase in speed significantly (my IM 1.4.0 installation in the root directory runs consistently under the sub-second mark). That does not make sense. I re-compiled the cache to be certain, but I am still in the 2-2.5 second range for the IM 1.4.1 upgraded installation which runs in a subdirectory.

[Page generation time: 2.3432s (PHP: 91% | SQL: 9%) | SQL queries: 50 | GZIP enabled | Debug on]
Last edited by Dr. Bantham on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]