#1 (permalink)  
Old 06-30-2011, 09:15 PM
phpmotion's Avatar
Senior Member
 
Join Date: Feb 2008
Posts: 941
Default Big databases

How do you get scripts to search huge DBs in fewer seconds?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-07-2011, 12:01 AM
geek's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 1,274
Default

Optimize the scripts and make sure your mySQL (if that is what you use) is optimized.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-07-2011, 02:05 PM
Senior Member
 
Join Date: Apr 2008
Posts: 1,345
Default

Indexes are very important especially on parts of the script where there are joins.
__________________
Health!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-10-2011, 11:17 PM
Senior Member
 
Join Date: Jan 2008
Posts: 898
Default

Indexing your database is good but what really is good is optimizing your queries.
__________________
Illness Info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-11-2011, 10:36 AM
Senior Member
 
Join Date: Apr 2008
Posts: 1,345
Default

Well of course, most times the slowdown comes because of joins in the query that really slows it.
__________________
Health!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-11-2011, 03:11 PM
geek's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 1,274
Default

Joins are very complex when it comes to coding you always need to have that as optimized as possible.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-11-2011, 08:35 PM
Senior Member
 
Join Date: Apr 2008
Posts: 1,345
Default

What is a good way to make an optimal query using a join and limit in the statement?
__________________
Health!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:38 PM.


Powered by: vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15