I am using phoenix driver 4.0 version to query database. I have also tried setting hbase.client.scanner.caching to 1000 and 10000 In all the cases it takes 3 minutes to iterate over 10000 rows. I have not put any code inside iteration loop. I have to scan over 1L records so it is taking more than half hour.
What can be the reason for this.
long count = 0;
while (rs.next())
{
if (count % 1000 == 0)
{
log.info("Count == " + count);
}
count++;
}