View Single Post
  #2 (permalink)  
Old 01-25-2008, 07:40 AM
BigAlReturns's Avatar
BigAlReturns BigAlReturns is offline
Moderator Extraordinaire!
 
Join Date: Dec 2007
Location: The Wirral, England
Posts: 291
Send a message via MSN to BigAlReturns
Default

Basically you need to normalise your database, and then run as few and as efficient queries as possible. You can find out how long your queries take to run using microtime as below:
PHP Code:
$starttime=microtime();
// run query
echo ($starttime microtime()); 
To help you optimise specific queries we'd need to see your DB structure and the queries you're currently using.
Reply With Quote