Reputation: 2374
I have a situation where i just know the columnfamily and columnname in hbase and i want to retrieve all the unique values for that particular column and populate on my webapplication GUI with the time at utmost important.
One way is to try scan applying colfamily and columnname which takes time and make the end user wait for so long.
Is there any other way of doing it effectively and efficiently?
would be great if you could help. Thanks
Upvotes: 0
Views: 829
Reputation: 39903
There is no magic way that is going to make scanning this data fast for a user interface. It needs to rip through all the data in the column family from disk to get the information that you want. Pretty much the only things you will get from hbase in any sort of interactive way is a specific rowkey get or a very small range scan.
Here are a couple of high-level approaches:
Upvotes: 1