0

Suppose I want to retrieve data from a large database.So which type of key will give better performance while retrieval?

Rishi
  • 159
  • 1
  • 2
  • 11

1 Answers1

0

It is always better to use primary key as it ensures a uniqueness in database, however retrieval of data depends on your requirement and the condition on basis of which you wish to retrieve data

Sam
  • 1,381
  • 4
  • 30
  • 70