Re: Slow query performance
What table type/engine do you used for your BLOCKGROUP_DEMOGRAPHIC table?
If you have used MYISAM table type then you should get the result of count(*) instantly since the number of records is stored separately as the table status, no need to scan the records or index.
If you have used other engine type like INNODB, the number is not kept and it will have to scan and count the number of records.
Subject
Views
Written By
Posted
5549
October 13, 2004 05:23PM
2910
October 13, 2004 10:01PM
2956
October 13, 2004 10:48PM
2829
October 14, 2004 08:50AM
Re: Slow query performance
2983
October 14, 2004 07:08PM
2698
October 14, 2004 11:33PM
2705
October 15, 2004 12:30AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.