Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Urgent: Site takes higher loading time.....
Old 05-25-2005, 08:42 AM Urgent: Site takes higher loading time.....
Junior Talker

Posts: 1
Trades: 0
Hi........

I am a beginner. I have developed website in Php/MySql. But my home page takes some more time to load in some of the browsers

Check this http://www.direct2deal.com

Can Mysql stored procedures help me? I don't know the concepts of stored procedures. If any buddy in group knows
pl. help me


Its very urgent. Your feedback/suggestions will be highly appreciated.
kkeith is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-25-2005, 09:29 AM
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
You don't need mysql stored procedures. Mainly because mysql does not support them.

First you should perform mysql indexing. If you massively use "select ... where ..." then you should create indexes for fields used in where clause. Read about this in mysql manual, section 5.4.3 How MySQL Uses Indexes and two following sections.

Second you should find the bottleneck in your scripts. Maybe you misuse select queries by selecting something multiple times. Create a getmicrotime() function as described in php manual for microtime() function and call it from different places of your script to find an operation which takes too much time to execute.

Usually creating indexes helps a lot, but anyway there is always room for further optimization.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Old 05-25-2005, 01:36 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
As pointed out in this thread at High Rankings your problem is a 626k home page. Nothing to do with MySQL. When you sort that out it will speed up.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 05-25-2005 at 01:38 PM..
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-25-2005, 02:24 PM
Marvin Le Rouge's Avatar
Skilled Talker

Posts: 52
Trades: 0
Your home page is far too long. That's one of the best reason for a long time to show.
You could also use XHtml to make your code lighter.
Marvin Le Rouge is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Urgent: Site takes higher loading time.....
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.54596 seconds with 12 queries