Hi
I'm using this kind of queries in mysql in InnoDB engine
Select count(*) from marking1 where persondate between '2007-04-23 00:00:00.000' and '2007-04-23 23:59:59.999' and PersonName='aaa'
While executing these queries from front end VB, It takes above 5 secs with 50 thousand records.
How can I improve speed for this kind of queries. Is there any alternation for this command.
Any one knows , Explain
thanks
I'm using this kind of queries in mysql in InnoDB engine
Select count(*) from marking1 where persondate between '2007-04-23 00:00:00.000' and '2007-04-23 23:59:59.999' and PersonName='aaa'
While executing these queries from front end VB, It takes above 5 secs with 50 thousand records.
How can I improve speed for this kind of queries. Is there any alternation for this command.
Any one knows , Explain
thanks
Comment