If I have thousands of records than which will be more expensive:
- Will go to database multiple time and fetch records in batch?
- Will hit database only one and fetch all the records at once?
Or what if my records increase to lac or more than of that?
And what is the problem may occurs in both the case?
Could anybody please suggest the best practices for this?
Updated: Database is network located. and data is big enough.
Thanks, Sombir
Aucun commentaire:
Enregistrer un commentaire