Query one Lakh record

Hello Community,

What is the best way to query one lakh records of data from DB.

please suggest!!!

Thanks

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    FYI a lot of readers here might not be familiar with the term "Lakh", referring to a hundred thousand (100,000) of something.  I saw it mentioned previously a few years ago and I had to look it up at that time.

    As for querying that much data -- we need more information to really give you meaningful / useful answers.  What is the nature and depth of that data?  What do you intend to do with it after it's been queried?  In general, I've found in the past that the best way to deal with bulky data like this is to create a process that steps through batches of data at a time, processing between 1,000 and 10,000 rows at once (depending on the size of a given row).  But that would vary per different use cases of course.

  • like a hundred thousand rows of data to be copied into an excel sheet(in one single sheet all queried data need to be copied).

Reply Children