Activity Forums Salesforce® Discussions Is there any limit of records to be inserted in map used to stored data in batch class?

  • Is there any limit of records to be inserted in map used to stored data in batch class?

    Posted by chanchal kumar on September 5, 2018 at 12:16 pm

    Is there any limit of records to be inserted in map used to stored data in batch class? If yes, then what is that?

    shariq replied 6 years, 3 months ago 4 Members · 3 Replies
  • 3 Replies
  • madhulika shah

    Member
    September 5, 2018 at 12:45 pm

    Hi Chanchal,

    There is a governor limit of 10000 DML rows per apex invocation.

    But in Batch Class Every execute method run is treated as a separate invocation.

  • Parul

    Member
    September 21, 2018 at 1:29 pm

    Hi

    Yes, the limit is 10,000 records to be inserted per transaction.

     

    Thanks

  • shariq

    Member
    September 22, 2018 at 2:58 am

    Hi,

    We can only perform dml on 10000 records per transaction.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos