borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Working on a Cyber Timer)Next Topic (ADO.net sqlcommandbuilder Update/Insert/Delete Logic) New Topic New Poll Post Reply
AndreaVB Forum : Database : MYSQL query
Poster Message
Sekar
Level: Sage

Registered: 11-03-2004
Posts: 63

icon MYSQL query

My db has more than 35 million records. If I issue a count(column name), group by query, it take very very very long time to run. What's the fast way to run this count query. Please advise. Thank you.

17-09-2006 at 02:30 AM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1616
icon Re: MYSQL query

You could break down the query into multiple ones to get the same basic info.

Or just make sure it's indexed properly.

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

21-09-2006 at 05:52 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : Database : MYSQL query
Previous Topic (Working on a Cyber Timer)Next Topic (ADO.net sqlcommandbuilder Update/Insert/Delete Logic) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder