Current location: Hot Scripts Forums » Other Discussions » Database » Select query on a large table


Select query on a large table

Reply
  #1 (permalink)  
Old 04-04-10, 06:23 PM
macintosh macintosh is offline
Newbie Coder
 
Join Date: Mar 2007
Posts: 84
Thanks: 1
Thanked 0 Times in 0 Posts
Select query on a large table

I have a database with huge number of records. I run the select query, something like,
Select * from abc where post_author =xyz, it takes lots of time.

I did read that in huge databases, the queries should be done by using LIMIT .Can someone please help me using LIMIT parameters in every step? any example, would be very appreciated.
Reply With Quote
  #2 (permalink)  
Old 04-04-10, 07:17 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
Reply With Quote
Reply

Bookmarks

Tags
select


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MYSQL database countll Database 2 06-19-07 04:20 PM
PHP/MYSQL Table and query HELP!! truesilentassassin PHP 3 07-25-04 06:42 AM
query a 3 child table to get a parent name(mysql) rani PHP 0 07-02-04 01:25 AM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM


All times are GMT -5. The time now is 05:14 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.