Both hashing and indexing are use to partition data on some pre- defined formula. But I am unable to understand the key difference between the two.
As in hashing we are dividing the data on the basis of some key value pair, similarly in Indexing also we are dividing data on some pre defined values.
Can any one please help me out the difference between Hashing and Indexing, and how to decide whether to use hashing or Indexing.